Interface: OAuthClient
Defined in: oauthServerTypes.ts:68
A registered OAuth client as persisted by the app's ClientStore.
Extends
Indexable
[
key:string]:unknown
Properties
client_id
client_id:
string
Defined in: oauthServerTypes.ts:70
Unique client identifier issued by the authorization server.
client_id_issued_at?
optionalclient_id_issued_at?:number
Defined in: oauthServerTypes.ts:74
Unix timestamp (seconds) when the client was registered.
client_name?
optionalclient_name?:string
Defined in: oauthServerTypes.ts:51
Human-readable client name shown on consent screens.
Inherited from
OAuthClientMetadata.client_name
client_secret?
optionalclient_secret?:string
Defined in: oauthServerTypes.ts:72
Client secret for confidential clients. Absent for public clients.
grant_types?
optionalgrant_types?:string[]
Defined in: oauthServerTypes.ts:53
OAuth grant types the client will use. Defaults to auth-code + refresh.
Inherited from
OAuthClientMetadata.grant_types
redirect_uris
redirect_uris:
string[]
Defined in: oauthServerTypes.ts:49
Allowed redirect URIs. At least one is required for the auth-code flow.
Inherited from
OAuthClientMetadata.redirect_uris
response_types?
optionalresponse_types?:string[]
Defined in: oauthServerTypes.ts:55
OAuth response types the client will use. Defaults to ['code'].
Inherited from
OAuthClientMetadata.response_types
scope?
optionalscope?:string
Defined in: oauthServerTypes.ts:63
Space-separated scopes the client may request.
Inherited from
token_endpoint_auth_method?
optionaltoken_endpoint_auth_method?:string
Defined in: oauthServerTypes.ts:61
Client authentication method at the token endpoint. 'none' registers a
public client (no secret issued); anything else registers a confidential
client and a client_secret is generated.