atoti.JwtConfig(The JWT config. Atoti uses JSON Web Tokens to authenticate requests between its components (e.g. between the app running in the browser and the session). Creating a session with a custom JWT key pair:
*,
key_pair: KeyPair | None =None,
)
Attributes
key_pair
The key pair used to sign the JWT. IfNone, a random 3072-bit key pair will be generated when the session starts.
Only RSA keys using the PKCS 8 standard are supported.
Key pairs can be generated using a library such as cryptography.