Changeset 1815 for draft-ietf-httpbis/latest/p7-auth.xml
- Timestamp:
- 18/07/12 19:41:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p7-auth.xml
r1808 r1815 203 203 <x:anchor-alias value="auth-scheme"/> 204 204 <x:anchor-alias value="auth-param"/> 205 <x:anchor-alias value=" b64token"/>205 <x:anchor-alias value="token68"/> 206 206 <x:anchor-alias value="challenge"/> 207 207 <x:anchor-alias value="credentials"/> … … 220 220 and each parameter name &MUST; only occur once per challenge. 221 221 </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"/> 223 223 auth-scheme = <x:ref>token</x:ref> 224 224 225 225 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> ) 226 226 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> / 228 228 "-" / "." / "_" / "~" / "+" / "/" ) *"=" 229 229 </artwork></figure> 230 230 <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"/>), 232 232 plus a few others, so that it can hold a base64, base64url (URL and filename 233 233 safe alphabet), base32, or base16 (hex) encoding, with or without padding, but … … 247 247 </t> 248 248 <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> ) ] 250 250 </artwork></figure> 251 251 <x:note> … … 287 287 </t> 288 288 <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> ) ] 290 290 </artwork></figure> 291 291 <t> … … 411 411 <x:lt> 412 412 <t> 413 The " b64token" notation was introduced for compatibility with existing413 The "token68" notation was introduced for compatibility with existing 414 414 authentication schemes and can only be used once per challenge/credentials. 415 415 New schemes thus ought to use the "auth-param" syntax instead, because … … 1097 1097 </t> 1098 1098 <t> 1099 The " b64token" alternative to auth-param lists has been added for consistency1099 The "token68" alternative to auth-param lists has been added for consistency 1100 1100 with legacy authentication schemes such as "Basic". 1101 1101 (<xref target="access.authentication.framework"/>) … … 1163 1163 <x:ref>auth-scheme</x:ref> = token 1164 1164 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> = <quoted-string, defined in [Part1], Section 3.2.4> 1171 1172 <x:ref>token</x:ref> = <token, defined in [Part1], Section 3.2.4> 1173 <x:ref>token68</x:ref> = 1*( ALPHA / DIGIT / "-" / "." / "_" / "~" / "+" / "/" ) 1166 1174 *"=" 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> = <quoted-string, defined in [Part1], Section 3.2.4>1174 1175 <x:ref>token</x:ref> = <token, defined in [Part1], Section 3.2.4>1176 1175 </artwork> 1177 1176 </figure> … … 1215 1214 <section title="Since draft-ietf-httpbis-p7-auth-20" anchor="changes.since.20"> 1216 1215 <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> 1218 1223 </t> 1219 1224 </section>
Note: See TracChangeset
for help on using the changeset viewer.