Skip to content

Bedrock Agentcore Control  >  Structures  >  Oauth2AuthorizationServerMetadata

Oauth2AuthorizationServerMetadata

Structure Class

Oauth2AuthorizationServerMetadata dataclass

Contains the authorization server metadata for an OAuth2 provider.

Attributes

authorization_endpoint instance-attribute
authorization_endpoint: str

The authorization endpoint URL for the OAuth2 authorization server.

issuer instance-attribute
issuer: str

The issuer URL for the OAuth2 authorization server.

response_types class-attribute instance-attribute
response_types: list[str] | None = None

The supported response types for the OAuth2 authorization server.

token_endpoint instance-attribute
token_endpoint: str

The token endpoint URL for the OAuth2 authorization server.

token_endpoint_auth_methods class-attribute instance-attribute
token_endpoint_auth_methods: list[str] | None = None

The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server.