OAuth2

data class OAuth2(val scopes: Map<String, SchemaAuth.OAuth2.Scope>? = emptyMap())(source)

Data class to represent additional metadata of OAuth 2.0 auth in SchemaAuth.oauth2.

Constructors

Link copied to clipboard
constructor(scopes: Map<String, SchemaAuth.OAuth2.Scope>? = emptyMap())

Types

Link copied to clipboard
data class Scope(val description: String? = null)

Data class to represent additional metadata of a scope in OAuth2.scopes.

Properties

Link copied to clipboard

Available OAuth 2.0 scopes.

Link copied to clipboard

Maps each scope to a pair of names and their descriptions.