Skip to content

Commit

Permalink
grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiesinger committed Aug 16, 2023
1 parent 64550cf commit ce5cfe9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proposals/idp-sign-in-status-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ partial interface Navigator {
};
```

An IdP can alternatively call the IdP Sign-in Status API via JS calls through
Alternatively, an IdP can call the IdP Sign-in Status API via JS calls through
the static functions `navigator.recordSignedIn({idp: true})` and
`navigator.recordSignedOut({idp: true})`. These are to be called from the IDP's
origin, and marks the current origin as signed in or signed out.
origin, and mark the current origin as signed in or signed out.

```idl
[Exposed=Window]
Expand All @@ -77,7 +77,7 @@ interface IdentityProvider {
}
```

In addition, a `IdentityProvider.close()` function is provided to signal to the browser that the
In addition, an `IdentityProvider.close()` function is provided to signal to the browser that the
signin flow is finished. The reason for this function in addition to the header
is that even when the user is already logged in, the signin flow may not be
finished yet; for example, an IDP may want to prompt the user to verify their
Expand Down Expand Up @@ -186,6 +186,6 @@ whether no accounts remain after this signout action.
We are also considering with Safari and Firefox how this API relates to the Login Status API [here](https://github.com/privacycg/is-logged-in/issues/53).

In this proposal, we are using generic header and JS function names so that the same API and
headers can be used also for is-logged-in while recording the optional type (i.e. is this
headers can be used for is-logged-in while also recording the optional type (i.e. is this
an IDP or not).

0 comments on commit ce5cfe9

Please sign in to comment.