Skip to main content

final class 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).

key_pair : KeyPair | None = None

The key pair used to sign the JWT. If None, 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 pycryptodome.