Implicit

data class Implicit(val authorizationUrl: String, val refreshUrl: String? = null, val scopes: Map<String, String> = emptyMap()) : AuthScheme.OAuth2.Flow

The implicit flow.

Constructors

Link copied to clipboard
constructor(authorizationUrl: String, refreshUrl: String? = null, scopes: Map<String, String> = emptyMap())

Types

Link copied to clipboard
class Builder

Fluent builder for Implicit, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The authorization endpoint.

Link copied to clipboard
open override val refreshUrl: String?

The endpoint for refreshing tokens.

Link copied to clipboard
open override val scopes: Map<String, String>

The scopes to request, each mapped to its description.

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.