Package-level declarations

Types

Link copied to clipboard
@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)

A builder for creating a new OAuth client.

Link copied to clipboard
@Serializable
data class OAuthClient(val clientId: String, val clientSecret: String? = null, val clientName: String, val clientType: OAuthClientType? = null, val clientUri: String? = null, val logoUri: String? = null, val redirectUris: List<String> = emptyList(), val grantTypes: List<OAuthClientGrantType> = emptyList(), val responseTypes: List<OAuthClientResponseType> = emptyList(), val scope: String? = null, val tokenEndpointAuthMethod: OAuthClientTokenEndpointAuthMethod? = null, val registrationType: OAuthClientRegistrationType? = null, val createdAt: String? = null, val updatedAt: String? = null)

Represents an OAuth 2.1 client registered with the Supabase Auth server.

Link copied to clipboard
interface OAuthClientApi

API for managing OAuth 2.1 clients via the admin interface. Service role access token is required.

Link copied to clipboard

Represents a grant type for an OAuth client.

Link copied to clipboard

Represents a registration type for an OAuth client.

Link copied to clipboard

Represents a response type for an OAuth client.

Link copied to clipboard

Represents the token endpoint authentication method for an OAuth client.

Link copied to clipboard
@Serializable
enum OAuthClientType : Enum<OAuthClientType>

Represents the type of an OAuth client.

Link copied to clipboard
@Serializable
data class UpdateOAuthClientBuilder(var clientName: String? = null, var clientUri: String? = null, var logoUri: String? = null, var redirectUris: List<String>? = null, var grantTypes: List<OAuthClientGrantType>? = null, var responseTypes: List<OAuthClientResponseType>? = null, var tokenEndpointAuthMethod: OAuthClientTokenEndpointAuthMethod? = null)

A builder for updating an existing OAuth client. All fields are nullable for partial updates.