Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CustomOAuthProvider(val id: String, val providerType: CustomProviderType, val identifier: String, val name: String, val clientId: String, val acceptableClientIds: List<String>? = null, val customClaimsAllowlist: List<String>? = null, val scopes: List<String>? = null, val pkceEnabled: Boolean? = null, val attributeMapping: JsonObject? = null, val authorizationParams: Map<String, String>? = null, val enabled: Boolean? = null, val emailOptional: Boolean? = null, val issuer: String? = null, val discoveryUrl: String? = null, val skipNonceCheck: Boolean? = null, val authorizationUrl: String? = null, val tokenUrl: String? = null, val userinfoUrl: String? = null, val jwksUri: String? = null, val discoveryDocument: OIDCDiscoveryDocument? = null, val createdAt: Instant, val updatedAt: Instant)
Link copied to clipboard
@Serializable
class CustomProviderBuilder

Parameters for creating a new custom provider.

Link copied to clipboard

Contains all custom OIDC/OAuth provider administration methods.

Link copied to clipboard

Type of custom identity provider.

Link copied to clipboard
@Serializable
data class CustomProviderUpdateBuilder(var name: String? = null, var clientId: String? = null, var clientSecret: String? = null, var acceptableClientIds: List<String>? = null, var scopes: List<String>? = null, var pkceEnabled: Boolean? = null, var attributeMapping: JsonObject? = null, var authorizationParams: JsonObject? = null, var enabled: Boolean? = null, var emailOptional: Boolean? = null, var issuer: String? = null, var discoveryUrl: String? = null, var skipNonceCheck: Boolean? = null, var authorizationUrl: String? = null, var tokenUrl: String? = null, var userinfoUrl: String? = null, var jwksUri: String? = null, val customClaimsAllowlist: List<String>? = null)

Parameters for updating an existing custom provider. All fields are optional. Only provided fields will be updated.

Link copied to clipboard
@Serializable
data class OIDCDiscoveryDocument(val issuer: String, val authorizationEndpoint: String, val tokenEndpoint: String, val jwksUri: String, val userinfoEndpoint: String? = null, val revocationEndpoint: String? = null, val supportedScopes: List<String>? = null, val supportedResponseTypes: List<String>? = null, val supportedSubjectTypes: List<String>? = null, val supportedIdTokenSigningAlgs: List<String>? = null)

OIDC discovery document fields. Populated when the server successfully fetches and validates the provider's OpenID Connect discovery document.