OAuth2
data class OAuth2(val flows: AuthScheme.OAuth2.Flows, val issuerUrl: String? = null, val description: String? = null) : AuthScheme
An OAuth2 scheme: the flows the service supports, with their endpoints and scopes.
Types
Link copied to clipboard
An OAuth2 flow: its endpoints and the scopes to request.
Link copied to clipboard
data class Flows(val implicit: AuthScheme.OAuth2.Flow.Implicit? = null, val password: AuthScheme.OAuth2.Flow.Password? = null, val clientCredentials: AuthScheme.OAuth2.Flow.ClientCredentials? = null, val authorizationCode: AuthScheme.OAuth2.Flow.AuthorizationCode? = null)
The OAuth2 flows a service supports. Each property is set when the service supports that flow.
Properties
Functions
Link copied to clipboard
Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.