OAuthCredentialProviderDict¶
Dictionary Type¶
OAuthCredentialProviderDict
¶
Bases: TypedDict
Dictionary form of OAuthCredentialProvider.
Attributes¶
custom_parameters
instance-attribute
¶
The custom parameters for the OAuth credential provider. These parameters provide additional configuration for the OAuth authentication process.
default_return_url
instance-attribute
¶
default_return_url: str | None
The URL where the end user's browser is redirected after obtaining the authorization code. Generally points to the customer's application.
grant_type
instance-attribute
¶
grant_type: str | None
Specifies the kind of credentials to use for authorization:
-
CLIENT_CREDENTIALS- Authorization with a client ID and secret. -
AUTHORIZATION_CODE- Authorization with a token that is specific to an individual end user. -
TOKEN_EXCHANGE- Authorization using on-behalf-of token exchange. An inbound user token is exchanged for a downstream access token scoped to the target audience.
provider_arn
instance-attribute
¶
The Amazon Resource Name (ARN) of the OAuth credential provider. This ARN identifies the provider in Amazon Web Services.