CreateOAuth2TokenResponseBody

Response body payload for CreateOAuth2Token operation The response content depends on the grant_type from the request: - grant_type=authorization_code: Returns all fields including refresh_token and id_token - grant_type=refresh_token: Returns access_token, token_type, expires_in, refresh_token (no id_token)

Types

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

Properties

Link copied to clipboard

Scoped-down AWS credentials (15 minute duration) Present for both authorization code redemption and token refresh

Link copied to clipboard

Time to expiry in seconds (maximum 900) Present for both authorization code redemption and token refresh

Link copied to clipboard

ID token containing user identity information Present only in authorization code redemption response (grant_type=authorization_code) Not included in token refresh responses

Link copied to clipboard

Encrypted refresh token with cnf.jkt (SHA-256 thumbprint of presented jwk) Always present in responses (required for both flows)

Link copied to clipboard

Token type indicating this is AWS SigV4 credentials Value is "aws_sigv4" for both flows

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