CreateOAuth2TokenRequestBody

Request body payload for CreateOAuth2Token operation The operation type is determined by the grant_type parameter: - grant_type=authorization_code: Requires code, redirect_uri, code_verifier - grant_type=refresh_token: Requires refresh_token

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The client identifier (ARN) used during Sign-In onboarding Required for both authorization code and refresh token flows

Link copied to clipboard
val code: String?

The authorization code received from /v1/authorize Required only when grant_type=authorization_code

Link copied to clipboard

PKCE code verifier to prove possession of the original code challenge Required only when grant_type=authorization_code

Link copied to clipboard

OAuth 2.0 grant type - determines which flow is used Must be "authorization_code" or "refresh_token"

Link copied to clipboard

The redirect URI that must match the original authorization request Required only when grant_type=authorization_code

Link copied to clipboard

The refresh token returned from auth_code redemption Required only when grant_type=refresh_token

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String