Interface: OAuthClient
Defined in: auth-core/src/oauthServerTypes.ts:58
A registered OAuth client as persisted by the app's ClientStore.
Extends
Indexable
[
key:string]:unknown
Properties
client_id
client_id:
string
Defined in: auth-core/src/oauthServerTypes.ts:60
Unique client identifier issued by the authorization server.
client_id_issued_at?
optionalclient_id_issued_at?:number
Defined in: auth-core/src/oauthServerTypes.ts:64
Unix timestamp (seconds) when the client was registered.
client_name?
optionalclient_name?:string
Defined in: auth-core/src/oauthServerTypes.ts:41
Human-readable client name shown on consent screens.
Inherited from
OAuthClientMetadata.client_name
client_secret?
optionalclient_secret?:string
Defined in: auth-core/src/oauthServerTypes.ts:62
Client secret for confidential clients. Absent for public clients.
grant_types?
optionalgrant_types?:string[]
Defined in: auth-core/src/oauthServerTypes.ts:43
OAuth grant types the client will use. Defaults to auth-code + refresh.
Inherited from
OAuthClientMetadata.grant_types
redirect_uris
redirect_uris:
string[]
Defined in: auth-core/src/oauthServerTypes.ts:39
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: auth-core/src/oauthServerTypes.ts:45
OAuth response types the client will use. Defaults to ['code'].
Inherited from
OAuthClientMetadata.response_types
scope?
optionalscope?:string
Defined in: auth-core/src/oauthServerTypes.ts:53
Space-separated scopes the client may request.
Inherited from
token_endpoint_auth_method?
optionaltoken_endpoint_auth_method?:string
Defined in: auth-core/src/oauthServerTypes.ts:51
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.