JwtCrypto
Global registry for the active JwtCryptoBackend.
Call JvmJwtCryptoBackend.install() (JVM) or JsJwtCryptoBackend.install() (JS) once at application startup. Until then the default backend handles HMAC algorithms only.
Attributes
Members list
Value members
Concrete methods
The active crypto backend. Install a platform backend (e.g. JvmJwtCryptoBackend) before use.
The active crypto backend. Install a platform backend (e.g. JvmJwtCryptoBackend) before use.
Attributes
- Source
- Jwt.scala
Sets the active crypto backend (source-compatible setter).
Atomically sets the backend if currently expected value.
Atomically sets and returns the previous backend.
Installs a platform backend as the global default (alias for installBackend).
Installs a platform backend as the global default (alias for installBackend).
Attributes
- Source
- Jwt.scala
Installs a platform backend as the global default (thread-safe).