JwtOptions¶
Import: import system.webapi.auth;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
JwtOptions¶
Native JWT configuration; RS256 uses PEM keys, HS256 requires an explicit 32-byte minimum secret.
issuer¶
Identity of the token issuer.
audience¶
Expected token audience.
signing_key¶
Private key used to sign tokens; keep it secret.
verification_key¶
Public key used to verify token signatures.
algorithm¶
Signature algorithm name, such as RS256.
constructor¶
Creates a JwtOptions with issuer, audience, signing_key, verification_key, algorithm.