TokenType¶
- class gafaelfawr.models.token.TokenType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum
The class of token.
Attributes Summary
Service-to-service token chained from a user request.
The token delegated to a Jupyter notebook for the user.
Access token for an OpenID Connect client.
Service-to-service token independent of a user request.
An interactive user web session.
A user-generated token that may be used programmatically.
Attributes Documentation
- internal = 'internal'¶
Service-to-service token chained from a user request.
A service-to-service token used for internal sub-calls made as part of processing a user request.
- notebook = 'notebook'¶
The token delegated to a Jupyter notebook for the user.
- oidc = 'oidc'¶
Access token for an OpenID Connect client.
- service = 'service'¶
Service-to-service token independent of a user request.
A service-to-service token used for internal calls initiated by services, unrelated to a user request.
- session = 'session'¶
An interactive user web session.
- user = 'user'¶
A user-generated token that may be used programmatically.