@@ -277,19 +277,20 @@ The <dfn>session credential</dfn> is a [=struct=] with the following
277
277
[=response/header list=] .
278
278
1. [=list/For each=] |challenge entry| of |challenge list|:
279
279
1. Parse |challenge entry| according to <a>parsing structured fields</a> .
280
- 1. If the type of |challenge entry| is not string [=iteration/continue=] .
280
+ 1. If the type of |challenge entry| is not an <a>sf-string</a> ,
281
+ [=iteration/continue=] .
281
282
1. Let |challenge| be the parsed item.
282
283
1. Let |session id| be null.
283
- 1. If params["id"] exists and is a string, Set |session id| to params["id"] .
284
+ 1. If params["id"] exists and is a <a>sf-string</a> , Set |session id| to
285
+ params["id"] .
284
286
1. If [=response/status=] is 401, resend this request as is with updated
285
- |challenge| in [=DBSC proof=] .
286
- 1. Otherwise:
287
- 1. If |session id| is null, [=iteration/continue=] .
288
- 1. Identify session as described in [=identify a session=] given
289
- |response| and |session id| and store as |session object|.
290
- 1. If |session object| is null, [=iteration/continue=] .
291
- 1. Store |challenge| in |session object| to be used next time a
292
- [=DBSC proof=] is to be sent from this [=device bound session=] .
287
+ |challenge| in [=DBSC proof=] and [=iteration/continue=] .
288
+ 1. If |session id| is null, [=iteration/continue=] .
289
+ 1. Identify session as described in [=identify a session=] given
290
+ |response| and |session id| and store as |session object|.
291
+ 1. If |session object| is null, [=iteration/continue=] .
292
+ 1. Store |challenge| in |session object| to be used next time a
293
+ [=DBSC proof=] is to be sent from this [=device bound session=] .
293
294
</div>
294
295
295
296
## Session refresh ## {#algo-session-refresh}
@@ -355,7 +356,7 @@ The following parameters are defined:
355
356
- A parameter whose key is "path", and whose value is a String (Section 3.3.3 of
356
357
[[RFC8941]] ), conveying the path to the registration endpoint. This may be
357
358
relative to the current [=url=] , or a full [=url=] . Entries without this
358
- parameter will be ignored in [=algo-create- session=] .
359
+ parameter will be ignored in [=Create a new session=] .
359
360
- A parameter whose key is "challenge", and whose value is a String (Section
360
361
3.3.3 of [[RFC8941]] ), conveying the challenge to be used in the session
361
362
registration.
0 commit comments