Skip to content

UserIdentifierDict

Union Type

UserIdentifierDict module-attribute

Dictionary form of UserIdentifier, setting exactly one variant.

Union Member Types

UserIdentifierUserTokenDict

Bases: TypedDict

Attributes

user_token instance-attribute
user_token: str

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

UserIdentifierUserIdDict

Bases: TypedDict

Attributes

user_id instance-attribute
user_id: str

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