TokenType

class gafaelfawr.models.enums.TokenType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The class of token.

Attributes Summary

internal

Service-to-service token chained from a user request.

notebook

The token delegated to a Jupyter notebook for the user.

oidc

Access token for an OpenID Connect client.

service

Service-to-service token independent of a user request.

session

An interactive user web session.

user

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.