Skip to content

OAuthCredentialProviderDict

Dictionary Type

OAuthCredentialProviderDict

Bases: TypedDict

Dictionary form of OAuthCredentialProvider.

Attributes

custom_parameters instance-attribute
custom_parameters: Mapping[str, str] | None

Additional custom parameters to include in the OAuth 2.0 token request.

default_return_url instance-attribute
default_return_url: str | None

The default return URL for the OAuth 2.0 authorization flow.

grant_type instance-attribute
grant_type: str | None

The OAuth 2.0 grant type to use for authentication.

provider_arn instance-attribute
provider_arn: Required[str]

The ARN of the OAuth 2.0 credential provider in AgentCore Identity.

scopes instance-attribute
scopes: Required[Sequence[str]]

The OAuth 2.0 scopes to request when obtaining an access token.