Skip to content

Bedrock Agentcore  >  Unions  >  UserIdentifier

UserIdentifier

Union Type

UserIdentifier module-attribute

The OAuth2.0 token or user ID that was used to generate the workload access token used for initiating the user authorization flow to retrieve OAuth2.0 tokens.

Union Member Types

UserIdentifierUserToken dataclass

The OAuth2.0 token issued by the user's identity provider that was used to generate the workload access token

Attributes

value instance-attribute
value: str

UserIdentifierUserId dataclass

The ID of the user for whom you have retrieved a workload access token for

Attributes

value instance-attribute
value: str

UserIdentifierUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str