Skip to content

Commit beb7c6d

Browse files
authored
Add files via upload
1 parent 6d4e2d6 commit beb7c6d

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

spec.bs

+12-11
Original file line numberDiff line numberDiff line change
@@ -277,19 +277,20 @@ The <dfn>session credential</dfn> is a [=struct=] with the following
277277
[=response/header list=].
278278
1. [=list/For each=] |challenge entry| of |challenge list|:
279279
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=].
281282
1. Let |challenge| be the parsed item.
282283
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"].
284286
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=].
293294
</div>
294295

295296
## Session refresh ## {#algo-session-refresh}
@@ -355,7 +356,7 @@ The following parameters are defined:
355356
- A parameter whose key is "path", and whose value is a String (Section 3.3.3 of
356357
[[RFC8941]]), conveying the path to the registration endpoint. This may be
357358
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=].
359360
- A parameter whose key is "challenge", and whose value is a String (Section
360361
3.3.3 of [[RFC8941]]), conveying the challenge to be used in the session
361362
registration.

0 commit comments

Comments
 (0)