Skip to content

Commit

Permalink
Unify authorization token Bearer prefix spelling in examples to be "B…
Browse files Browse the repository at this point in the history
…earer";

Although the authorization scheme is case-insensitive all the examples
in the referred specifications RFC 6749 (and RFC 6750 referred by it)
use the spelling "Bearer", which is also the spelling in the IANA HTTP
Authentication Scheme Registry. Unified spelling reduces confusion and
possible mistakes in implementations that have missed the case-
insensitivity of the authentication scheme.
  • Loading branch information
srosenda committed Sep 18, 2024
1 parent c2db9ea commit e0cde14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openid-4-verifiable-credential-issuance-1_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ Cache-Control: no-store
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6Ikp..sHQ",
"token_type": "bearer",
"token_type": "Bearer",
"expires_in": 86400,
"c_nonce": "tZignsnFbp",
"c_nonce_expires_in": 86400,
Expand Down Expand Up @@ -760,7 +760,7 @@ Below is a non-normative example of a Credential Request for a Credential in [@I
POST /credential HTTP/1.1
Host: server.example.com
Content-Type: application/json
Authorization: BEARER czZCaGRSa3F0MzpnWDFmQmF0M2JW
Authorization: Bearer czZCaGRSa3F0MzpnWDFmQmF0M2JW
{
"format":"mso_mdoc",
Expand All @@ -780,7 +780,7 @@ Below is a non-normative example of a Credential Request for two Credential inst
POST /credential HTTP/1.1
Host: server.example.com
Content-Type: application/json
Authorization: BEARER czZCaGRSa3F0MzpnWDFmQmF0M2JW
Authorization: Bearer czZCaGRSa3F0MzpnWDFmQmF0M2JW
{
"credential_identifier": "CivilEngineeringDegree-2023",
Expand Down Expand Up @@ -1088,7 +1088,7 @@ The following is a non-normative example of a Deferred Credential Request:
POST /deferred_credential HTTP/1.1
Host: server.example.com
Content-Type: application/json
Authorization: BEARER czZCaGRSa3F0MzpnWDFmQmF0M2JW
Authorization: Bearer czZCaGRSa3F0MzpnWDFmQmF0M2JW
{
"transaction_id": "8xLOxBtZp8"
Expand Down

0 comments on commit e0cde14

Please sign in to comment.