OAuthServerMetadata

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

Parameters

issuer

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

deviceAuthorizationEndpoint

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

tokenEndpoint

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

authorizationEndpoint

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

registrationEndpoint

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

introspectionEndpoint

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

grantTypesSupported

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

responseTypesSupported

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

scopesSupported

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