Oauth2AuthCodeFlowArgs

data class Oauth2AuthCodeFlowArgs(val authCode: Output<String>? = null, val clientId: Output<String>? = null, val clientSecret: Output<SecretArgs>? = null, val enablePkce: Output<Boolean>? = null, val pkceVerifier: Output<String>? = null, val redirectUri: Output<String>? = null, val scopes: Output<List<String>>? = null) : ConvertibleToJava<Oauth2AuthCodeFlowArgs>

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
constructor(authCode: Output<String>? = null, clientId: Output<String>? = null, clientSecret: Output<SecretArgs>? = null, enablePkce: Output<Boolean>? = null, pkceVerifier: Output<String>? = null, redirectUri: Output<String>? = null, scopes: Output<List<String>>? = null)

Properties

Link copied to clipboard
val authCode: Output<String>? = null

Authorization code to be exchanged for access and refresh tokens.

Link copied to clipboard
val clientId: Output<String>? = null

Client ID for user-provided OAuth app.

Link copied to clipboard
val clientSecret: Output<SecretArgs>? = null

Client secret for user-provided OAuth app.

Link copied to clipboard
val enablePkce: Output<Boolean>? = null

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

Link copied to clipboard
val pkceVerifier: Output<String>? = null

PKCE verifier to be used during the auth code exchange.

Link copied to clipboard
val redirectUri: Output<String>? = null

Redirect URI to be provided during the auth code exchange.

Link copied to clipboard
val scopes: Output<List<String>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): Oauth2AuthCodeFlowArgs