ReadonlyconfigReadonlymetadataThe provider's metadata, loaded by RelyingParty.create.
The DPoP key's JWK thumbprint (the dpop_jkt sent), or undefined when DPoP is not in use.
Whether this client sends DPoP proofs, and so receives DPoP-bound tokens.
A valid access token for a session RelyingParty.complete cached: the cached one while it has more than 30 seconds left, otherwise one from the refresh token (with a DPoP proof when DPoP is in use), which replaces the cached tokens. A session that is not cached, or whose refresh fails, is refused; a failed refresh also removes the session.
Builds the Authentication Request. Store the returned transaction (everything except url) with
the browser until RelyingParty.complete. With par of auto or always, the parameters
go to the pushed authorization endpoint first when the provider has one.
Client Credentials grant, for a call this application makes as itself (the Shared Signals stream). The token is cached until shortly before it expires.
Exchanges the code from the redirect URI. callback is that URI's query. transaction is what
RelyingParty.authorize returned for this browser. A code is accepted once.
StaticcreateDiscovers the provider (or uses metadata already loaded) and returns a client. A configuration built by hand gets the same defaults and checks as one read from a file.
A DPoP proof for one request, for an application that makes the call itself. accessToken adds
ath. Throws when DPoP is not in use.
OptionalaccessToken: stringThe RP-Initiated Logout URL, or undefined when the provider has no end-session endpoint.
Ending the provider's session signs every account in this browser out of it; end one local
session without redirecting there.
A request to a resource server with an access token. A DPoP token goes as Authorization: DPoP
with a proof carrying ath; a Bearer token as Authorization: Bearer. A 401 that asks for a
DPoP nonce is retried once with the nonce it gave. TLS is the provider's trust chain.
StaticfromReads a configuration file, discovers the provider, and returns a client.
Refresh Token grant. A new ID token, when the provider sends one, is held to previous (the same
subject and issuer). The previous refresh token is kept when the provider does not rotate it.
Forgets a session's tokens: at sign-out, or when a CAEP event ends the session.
The tokens cached for a session, or undefined. They are this process's; never put them in a page.
What a SignalsReceiver sends its calls with (its request option): each call carries a
client-credentials token for scope, as a DPoP-bound token with a proof when DPoP is in use.
A 401 that is not a nonce challenge drops the cached token, so the next call gets a new one.
PEM trust anchors for calls to this provider, when the configuration named one.
Calls UserInfo with the access token and checks that sub is expectedSub. tokenType is how the
token is presented; the default is DPoP when DPoP is in use, otherwise Bearer.
A confidential OpenID Connect client. Build it with RelyingParty.fromFile or RelyingParty.create; both load the provider's metadata before returning.