Oauth2AuthCodeFlowResponse

data class Oauth2AuthCodeFlowResponse(val authCode: String, val clientId: String, val clientSecret: SecretResponse, val enablePkce: Boolean, val pkceVerifier: String, val redirectUri: String, val scopes: List<String>)

Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.

Constructors

Link copied to clipboard
fun Oauth2AuthCodeFlowResponse(authCode: String, clientId: String, clientSecret: SecretResponse, enablePkce: Boolean, pkceVerifier: String, redirectUri: String, scopes: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Authorization code to be exchanged for access and refresh tokens.

Link copied to clipboard

Client ID for user-provided OAuth app.

Link copied to clipboard

Client secret for user-provided OAuth app.

Link copied to clipboard

Whether to enable PKCE when the user performs the auth code flow.

Link copied to clipboard

PKCE verifier to be used during the auth code exchange.

Link copied to clipboard

Redirect URI to be provided during the auth code exchange.

Link copied to clipboard

Scopes the connection will request when the user performs the auth code flow.