CreateOAuth2TokenRequestBodyDict¶
Dictionary Type¶
CreateOAuth2TokenRequestBodyDict
¶
Bases: TypedDict
Dictionary form of CreateOAuth2TokenRequestBody.
Attributes¶
client_id
instance-attribute
¶
The OAuth 2.0 client identifier. Expected values: "arn:aws:signin:::devtools/same-device" or "arn:aws:signin:::devtools/cross-device".
code
instance-attribute
¶
code: str | None
The authorization code received from the "/v1/authorize" endpoint. Required when "grant_type=authorization_code".
code_verifier
instance-attribute
¶
code_verifier: str | None
The PKCE code verifier that proves possession of the original code challenge. Required when "grant_type=authorization_code".
grant_type
instance-attribute
¶
The OAuth 2.0 grant type. Supported values: - "authorization_code" - Exchange an authorization code for tokens. - "refresh_token" - Use a refresh token to obtain a new access token.