Class TokenOptions (0.2.0)

TokenOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Options to modify claims in the token to generate custom-purpose tokens.

Attributes

NameDescription
audience str
Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
nonce MutableSequence[str]
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.