OIDCDiscoveryDocument

@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)(source)

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

Parameters

issuer

The issuer identifier

authorizationEndpoint

URL of the authorization endpoint

tokenEndpoint

URL of the token endpoint

jwksUri

URL of the JSON Web Key Set

userinfoEndpoint

URL of the userinfo endpoint

revocationEndpoint

URL of the revocation endpoint

supportedScopes

List of supported scopes

supportedResponseTypes

List of supported response types

supportedSubjectTypes

List of supported subject types

supportedIdTokenSigningAlgs

List of supported ID token signing algorithms

Constructors

Link copied to clipboard
constructor(issuer: String, authorizationEndpoint: String, tokenEndpoint: String, jwksUri: String, userinfoEndpoint: String? = null, revocationEndpoint: String? = null, supportedScopes: List<String>? = null, supportedResponseTypes: List<String>? = null, supportedSubjectTypes: List<String>? = null, supportedIdTokenSigningAlgs: List<String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "authorization_endpoint")
val authorizationEndpoint: String
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "jwks_uri")
val jwksUri: String
Link copied to clipboard
@SerialName(value = "revocation_endpoint")
val revocationEndpoint: String?
Link copied to clipboard
@SerialName(value = "supported_id_token_signing_algs")
val supportedIdTokenSigningAlgs: List<String>?
Link copied to clipboard
@SerialName(value = "supported_response_types")
val supportedResponseTypes: List<String>?
Link copied to clipboard
@SerialName(value = "supported_scopes")
val supportedScopes: List<String>?
Link copied to clipboard
@SerialName(value = "supported_subject_types")
val supportedSubjectTypes: List<String>?
Link copied to clipboard
@SerialName(value = "token_endpoint")
val tokenEndpoint: String
Link copied to clipboard
@SerialName(value = "userinfo_endpoint")
val userinfoEndpoint: String?