Flow
An OAuth2 flow: its endpoints and the scopes to request.
Inheritors
Types
Link copied to clipboard
data class AuthorizationCode @JvmOverloads constructor(val authorizationUrl: String, val tokenUrl: String, val refreshUrl: String? = null, val scopes: Map<String, String> = emptyMap()) : AuthScheme.OAuth2.Flow
The authorization code flow.
Link copied to clipboard
data class ClientCredentials @JvmOverloads constructor(val tokenUrl: String, val refreshUrl: String? = null, val scopes: Map<String, String> = emptyMap()) : AuthScheme.OAuth2.Flow
The client credentials flow.
Link copied to clipboard
data class Implicit @JvmOverloads constructor(val authorizationUrl: String, val refreshUrl: String? = null, val scopes: Map<String, String> = emptyMap()) : AuthScheme.OAuth2.Flow
The implicit flow.
Link copied to clipboard
data class Password @JvmOverloads constructor(val tokenUrl: String, val refreshUrl: String? = null, val scopes: Map<String, String> = emptyMap()) : AuthScheme.OAuth2.Flow
The resource owner password flow.