OAuthClient

constructor(clientId: String, clientSecret: String? = null, clientName: String, clientType: OAuthClientType? = null, clientUri: String? = null, logoUri: String? = null, redirectUris: List<String> = emptyList(), grantTypes: List<OAuthClientGrantType> = emptyList(), responseTypes: List<OAuthClientResponseType> = emptyList(), scope: String? = null, tokenEndpointAuthMethod: OAuthClientTokenEndpointAuthMethod? = null, registrationType: OAuthClientRegistrationType? = null, createdAt: String? = null, updatedAt: String? = null)(source)

Parameters

clientId

The unique identifier for the OAuth client

clientSecret

The client secret (only returned on create/regenerate)

clientName

The display name of the client

clientType

The client type (public or confidential)

clientUri

The URI of the client's homepage

logoUri

The URI of the client's logo

redirectUris

The allowed redirect URIs

grantTypes

The allowed grant types

responseTypes

The allowed response types

scope

The allowed scope

tokenEndpointAuthMethod

The token endpoint authentication method

registrationType

The registration type (dynamic or manual)

createdAt

The creation timestamp

updatedAt

The last update timestamp