OAuth Server Metadata
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 сервера
device Authorization Endpoint
URL для запроса device code
token Endpoint
URL для получения и обновления токенов
authorization Endpoint
URL для авторизации (опционально)
registration Endpoint
URL для регистрации клиента (опционально)
introspection Endpoint
URL для интроспекции токена (опционально)
grant Types Supported
Список поддерживаемых grant types
response Types Supported
Список поддерживаемых response types (опционально)
scopes Supported
Список поддерживаемых scopes (опционально)