Ignore:
Timestamp:
Jul 18, 2012, 12:41:31 PM (7 years ago)
Author:
julian.reschke@…
Message:

"b64token" -> "token68" (see #376)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p7-auth.xml

    r1808 r1815  
    203203  <x:anchor-alias value="auth-scheme"/>
    204204  <x:anchor-alias value="auth-param"/>
    205   <x:anchor-alias value="b64token"/>
     205  <x:anchor-alias value="token68"/>
    206206  <x:anchor-alias value="challenge"/>
    207207  <x:anchor-alias value="credentials"/>
     
    220220   and each parameter name &MUST; only occur once per challenge.
    221221</t>
    222 <figure><artwork type="abnf2616"><iref item="auth-scheme" primary="true"/><iref item="auth-param" primary="true"/><iref primary="true" item="Grammar" subitem="auth-scheme"/><iref primary="true" item="Grammar" subitem="auth-param"/><iref item="b64token" primary="true"/><iref primary="true" item="Grammar" subitem="b64token"/>
     222<figure><artwork type="abnf2616"><iref item="auth-scheme" primary="true"/><iref item="auth-param" primary="true"/><iref primary="true" item="Grammar" subitem="auth-scheme"/><iref primary="true" item="Grammar" subitem="auth-param"/><iref item="token68" primary="true"/><iref primary="true" item="Grammar" subitem="token68"/>
    223223  auth-scheme    = <x:ref>token</x:ref>
    224224 
    225225  auth-param     = <x:ref>token</x:ref> <x:ref>BWS</x:ref> "=" <x:ref>BWS</x:ref> ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> )
    226226
    227   b64token       = 1*( <x:ref>ALPHA</x:ref> / <x:ref>DIGIT</x:ref> /
     227  token68        = 1*( <x:ref>ALPHA</x:ref> / <x:ref>DIGIT</x:ref> /
    228228                       "-" / "." / "_" / "~" / "+" / "/" ) *"="
    229229</artwork></figure>
    230230<t>
    231    The "b64token" syntax allows the 66 unreserved URI characters (<xref target="RFC3986"/>),
     231   The "token68" syntax allows the 66 unreserved URI characters (<xref target="RFC3986"/>),
    232232   plus a few others, so that it can hold a base64, base64url (URL and filename
    233233   safe alphabet), base32, or base16 (hex) encoding, with or without padding, but
     
    247247</t>
    248248<figure><artwork type="abnf2616"><iref item="challenge" primary="true"/><iref primary="true" item="Grammar" subitem="challenge"/>
    249   <x:ref>challenge</x:ref>   = <x:ref>auth-scheme</x:ref> [ 1*<x:ref>SP</x:ref> ( <x:ref>b64token</x:ref> / #<x:ref>auth-param</x:ref> ) ]
     249  <x:ref>challenge</x:ref>   = <x:ref>auth-scheme</x:ref> [ 1*<x:ref>SP</x:ref> ( <x:ref>token68</x:ref> / #<x:ref>auth-param</x:ref> ) ]
    250250</artwork></figure>
    251251<x:note>
     
    287287</t>
    288288<figure><artwork type="abnf2616"><iref item="credentials" primary="true"/><iref primary="true" item="Grammar" subitem="credentials"/>
    289   <x:ref>credentials</x:ref> = <x:ref>auth-scheme</x:ref> [ 1*<x:ref>SP</x:ref> ( <x:ref>b64token</x:ref> / #<x:ref>auth-param</x:ref> ) ]
     289  <x:ref>credentials</x:ref> = <x:ref>auth-scheme</x:ref> [ 1*<x:ref>SP</x:ref> ( <x:ref>token68</x:ref> / #<x:ref>auth-param</x:ref> ) ]
    290290</artwork></figure>
    291291<t>
     
    411411    <x:lt>
    412412    <t>
    413       The "b64token" notation was introduced for compatibility with existing
     413      The "token68" notation was introduced for compatibility with existing
    414414      authentication schemes and can only be used once per challenge/credentials.
    415415      New schemes thus ought to use the "auth-param" syntax instead, because
     
    10971097</t>
    10981098<t>
    1099   The "b64token" alternative to auth-param lists has been added for consistency
     1099  The "token68" alternative to auth-param lists has been added for consistency
    11001100  with legacy authentication schemes such as "Basic".
    11011101  (<xref target="access.authentication.framework"/>)
     
    11631163<x:ref>auth-scheme</x:ref> = token
    11641164
    1165 <x:ref>b64token</x:ref> = 1*( ALPHA / DIGIT / "-" / "." / "_" / "~" / "+" / "/" )
     1165<x:ref>challenge</x:ref> = auth-scheme [ 1*SP ( token68 / [ ( "," / auth-param ) *(
     1166 OWS "," [ OWS auth-param ] ) ] ) ]
     1167<x:ref>credentials</x:ref> = auth-scheme [ 1*SP ( token68 / [ ( "," / auth-param )
     1168 *( OWS "," [ OWS auth-param ] ) ] ) ]
     1169
     1170<x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 3.2.4&gt;
     1171
     1172<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.4&gt;
     1173<x:ref>token68</x:ref> = 1*( ALPHA / DIGIT / "-" / "." / "_" / "~" / "+" / "/" )
    11661174 *"="
    1167 
    1168 <x:ref>challenge</x:ref> = auth-scheme [ 1*SP ( b64token / [ ( "," / auth-param ) *(
    1169  OWS "," [ OWS auth-param ] ) ] ) ]
    1170 <x:ref>credentials</x:ref> = auth-scheme [ 1*SP ( b64token / [ ( "," / auth-param )
    1171  *( OWS "," [ OWS auth-param ] ) ] ) ]
    1172 
    1173 <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 3.2.4&gt;
    1174 
    1175 <x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 3.2.4&gt;
    11761175</artwork>
    11771176</figure>
     
    12151214<section title="Since draft-ietf-httpbis-p7-auth-20" anchor="changes.since.20">
    12161215<t>
    1217   None yet.
     1216  Closed issues:
     1217  <list style="symbols">
     1218    <t>
     1219      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/376"/>:
     1220      "rename b64token for clarity"
     1221    </t>
     1222  </list>
    12181223</t>
    12191224</section>
Note: See TracChangeset for help on using the changeset viewer.