Skip to main content

Interface: OAuthClient

Defined in: src/auth/oauth/oauth-client.ts:42

OAuth client registration data.

Properties

active

readonly active: boolean

Defined in: src/auth/oauth/oauth-client.ts:116

Whether client is active.


allowedScopes

readonly allowedScopes: readonly string[]

Defined in: src/auth/oauth/oauth-client.ts:81

Allowed scopes.


clientId

readonly clientId: string

Defined in: src/auth/oauth/oauth-client.ts:46

Unique client identifier.


clientName

readonly clientName: string

Defined in: src/auth/oauth/oauth-client.ts:61

Client name for display.


clientSecretHash?

readonly optional clientSecretHash: string

Defined in: src/auth/oauth/oauth-client.ts:51

Client secret hash (confidential clients only).


clientType

readonly clientType: ClientType

Defined in: src/auth/oauth/oauth-client.ts:56

Client type.


clientUri?

readonly optional clientUri: string

Defined in: src/auth/oauth/oauth-client.ts:91

Client homepage URL.


createdAt

readonly createdAt: Date

Defined in: src/auth/oauth/oauth-client.ts:106

Client registration timestamp.


description?

readonly optional description: string

Defined in: src/auth/oauth/oauth-client.ts:66

Client description.


grantTypes

readonly grantTypes: readonly GrantType[]

Defined in: src/auth/oauth/oauth-client.ts:76

Allowed grant types.


logoUri?

readonly optional logoUri: string

Defined in: src/auth/oauth/oauth-client.ts:86

Client logo URL.


policyUri?

readonly optional policyUri: string

Defined in: src/auth/oauth/oauth-client.ts:96

Privacy policy URL.


redirectUris

readonly redirectUris: readonly string[]

Defined in: src/auth/oauth/oauth-client.ts:71

Registered redirect URIs.


tosUri?

readonly optional tosUri: string

Defined in: src/auth/oauth/oauth-client.ts:101

Terms of service URL.


updatedAt?

readonly optional updatedAt: Date

Defined in: src/auth/oauth/oauth-client.ts:111

Last update timestamp.