Expand description
Turns the JWT key settings into signing and verifying keys and an algorithm.
Every use of the key, format and algorithm settings goes through these conversions. The startup and reload check refuses an empty key and an unknown format, so either fails before the first login, while a key that does not decode fails at login.
Re-exportsยง
use super::JwtConfig;๐use crate::Err;๐use crate::Error;๐use crate::Result;๐use crate::err;๐use crate::implement;๐use crate::jwt::Algorithm;๐use crate::jwt::DecodingKey;๐use crate::jwt::EncodingKey;๐use crate::jwt::errors::Error as JwtError;๐
Enumsยง
- KeyFormat ๐
Constantsยง
- KEY_
FORMATS ๐ - Spellings of the
formatdirective, matched without regard to case.
Functionsยง
- invalid_
key ๐