CreateOAuthClientBuilder

@Serializable
data class CreateOAuthClientBuilder(var clientName: String = "", var redirectUris: List<String> = emptyList(), var clientUri: String? = null, var grantTypes: List<OAuthClientGrantType>? = null, var responseTypes: List<OAuthClientResponseType>? = null, var scope: String? = null, var tokenEndpointAuthMethod: OAuthClientTokenEndpointAuthMethod? = null)(source)

A builder for creating a new OAuth client.

Constructors

Link copied to clipboard
constructor(clientName: String = "", redirectUris: List<String> = emptyList(), clientUri: String? = null, grantTypes: List<OAuthClientGrantType>? = null, responseTypes: List<OAuthClientResponseType>? = null, scope: String? = null, tokenEndpointAuthMethod: OAuthClientTokenEndpointAuthMethod? = null)

Properties

Link copied to clipboard
@SerialName(value = "client_name")
var clientName: String

The name of the client

Link copied to clipboard
@SerialName(value = "client_uri")
var clientUri: String?

The URI of the client

Link copied to clipboard
@SerialName(value = "grant_types")
var grantTypes: List<OAuthClientGrantType>?

The grant types for the client

Link copied to clipboard
@SerialName(value = "redirect_uris")
var redirectUris: List<String>

The redirect URIs for the client

Link copied to clipboard
@SerialName(value = "response_types")
var responseTypes: List<OAuthClientResponseType>?

The response types for the client

Link copied to clipboard

The scope for the client

Link copied to clipboard
@SerialName(value = "token_endpoint_auth_method")
var tokenEndpointAuthMethod: OAuthClientTokenEndpointAuthMethod?

The token endpoint authentication method