Skip to content

Bedrock Agentcore Control  >  Structures  >  OAuth2AuthorizationData

OAuth2AuthorizationData

Structure Class

OAuth2AuthorizationData dataclass

OAuth2-specific authorization data, including the authorization URL and user identifier for the authorization session.

Attributes

authorization_url instance-attribute
authorization_url: str

The URL to initiate the authorization process. This URL is provided when the OAuth2 access token requires user authorization.

user_id class-attribute instance-attribute
user_id: str | None = None

The user identifier associated with the OAuth2 authorization session that is defined by AgentCore Gateway.