OpenIdConnect

data class OpenIdConnect(val authorizationEndpoint: String, val tokenEndpoint: String, val userinfoEndpoint: String? = null, val revocationEndpoint: String? = null, val tokenEndpointAuthMethodsSupported: List<String>? = null, val grantTypesSupported: List<String>? = null, val scopes: List<String>? = null, val description: String? = null) : AuthScheme

An OpenID Connect scheme with the provider's endpoints given directly.

Constructors

Link copied to clipboard
constructor(authorizationEndpoint: String, tokenEndpoint: String, userinfoEndpoint: String? = null, revocationEndpoint: String? = null, tokenEndpointAuthMethodsSupported: List<String>? = null, grantTypesSupported: List<String>? = null, scopes: List<String>? = null, description: String? = null)

Types

Link copied to clipboard
class Builder

Fluent builder for OpenIdConnect, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The authorization endpoint.

Link copied to clipboard

A description of the scheme.

Link copied to clipboard

The OAuth2 grant types the provider supports, such as authorization_code.

Link copied to clipboard

The token revocation endpoint.

Link copied to clipboard

The scopes to request.

Link copied to clipboard

The token endpoint.

Link copied to clipboard

The ways a client can authenticate to the token endpoint, such as client_secret_basic.

Link copied to clipboard
open override val type: String

The scheme's OpenAPI type, such as apiKey or http.

Link copied to clipboard

The UserInfo endpoint.

Functions

Link copied to clipboard

Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.