OAuthServerMetadata

data class OAuthServerMetadata(val issuer: String, val deviceAuthorizationEndpoint: String, val tokenEndpoint: String, val authorizationEndpoint: String?, val registrationEndpoint: String?, val introspectionEndpoint: String?, val grantTypesSupported: List<String>, val responseTypesSupported: List<String>?, val scopesSupported: List<String>?)

Метаданные OAuth сервера, полученные из discovery endpoint.

Parameters

issuer

Идентификатор OAuth сервера

deviceAuthorizationEndpoint

URL для запроса device code

tokenEndpoint

URL для получения и обновления токенов

authorizationEndpoint

URL для авторизации (опционально)

registrationEndpoint

URL для регистрации клиента (опционально)

introspectionEndpoint

URL для интроспекции токена (опционально)

grantTypesSupported

Список поддерживаемых grant types

responseTypesSupported

Список поддерживаемых response types (опционально)

scopesSupported

Список поддерживаемых scopes (опционально)

Constructors

Link copied to clipboard
constructor(issuer: String, deviceAuthorizationEndpoint: String, tokenEndpoint: String, authorizationEndpoint: String?, registrationEndpoint: String?, introspectionEndpoint: String?, grantTypesSupported: List<String>, responseTypesSupported: List<String>?, scopesSupported: List<String>?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard