Interface: StoredAuthorizationCode
Defined in: auth-core/src/oauthServerTypes.ts:84
A short-lived authorization code with its bound PKCE challenge and the details needed to issue tokens when the code is later exchanged.
Properties
clientId
clientId:
string
Defined in: auth-core/src/oauthServerTypes.ts:88
The client_id the code was issued to.
code
code:
string
Defined in: auth-core/src/oauthServerTypes.ts:86
The opaque authorization code value.
codeChallenge
codeChallenge:
string
Defined in: auth-core/src/oauthServerTypes.ts:92
The PKCE code_challenge (S256) bound to this code.
expiresAt
expiresAt:
number
Defined in: auth-core/src/oauthServerTypes.ts:98
Unix timestamp (milliseconds) after which the code is invalid.
redirectUri
redirectUri:
string
Defined in: auth-core/src/oauthServerTypes.ts:90
The redirect URI the code was issued for (must match on exchange).
scopes
scopes:
string[]
Defined in: auth-core/src/oauthServerTypes.ts:94
The scopes granted to this code.
subject
subject:
string
Defined in: auth-core/src/oauthServerTypes.ts:96
The authenticated end-user subject identifier.