Skip to content

Commit

Permalink
Separate tracking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
backkem committed Dec 4, 2023
1 parent 80dff77 commit 0586874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ Known peers {#known-peers}
The user agent should maintain a list of peers that it has knowledge of.

The [=local peer-to-peer manager=] has an associated <dfn>known peers map</dfn>, an [=/ordered map=] of [=known peers=]. Each <dfn>known peer</dfn> is a [=peer=] that has an associated <dfn>authentication state</dfn> and <dfn>peer grant state</dfn>. The user agent keeps track of the [=authentication state=] per peer and the [=peer grant state=] per peer, per origin. Unless [=persisted=], both the states are initially false.

Note: The [=peer grant state=] is origin-level while the [=authentication state=] is peer-level. The rationale is to not require the user to undergo authentication multiple times between the same peers. This design may change informed by security and privacy considerations.

Issue(wicg/local-peer-to-peer#15): See also related
Issue(wicg/local-peer-to-peer#24): See also related

The user agent may persist known peers, their authentication state and/or peer grant states. If the user agent chooses to do so, it must do so in accordance with the [[!openscreenprotocol|OpenScreen Protocol]] Persistent State rules. Such a peer or its state is said to be <dfn>persisted</dfn>.

Expand Down

0 comments on commit 0586874

Please sign in to comment.