pub struct JwtPluginConfig {Show 14 fields
pub jwks_path: String,
pub remote_url: Option<String>,
pub key_pair: JwtKeyPairConfig,
pub additional_key_pairs: Vec<JwtKeyPairConfig>,
pub rotation_interval: Option<Duration>,
pub grace_period: Duration,
pub disable_private_key_encryption: bool,
pub disable_setting_jwt_header: bool,
pub session_cookie_cache: bool,
pub claims: JwtClaimsConfig,
pub define_payload: Option<Arc<dyn DefineJwtPayload>>,
pub define_subject: Option<Arc<dyn DefineJwtSubject>>,
pub keyring: Option<Arc<dyn JwtKeyring>>,
pub remote_signer: Option<Arc<dyn SignRemoteJwt>>,
}Fields§
§jwks_path: String§remote_url: Option<String>§key_pair: JwtKeyPairConfig§additional_key_pairs: Vec<JwtKeyPairConfig>§rotation_interval: Option<Duration>§grace_period: Duration§disable_private_key_encryption: bool§disable_setting_jwt_header: boolProtect JWT session cookies using the managed local keyring.
claims: JwtClaimsConfig§define_payload: Option<Arc<dyn DefineJwtPayload>>§define_subject: Option<Arc<dyn DefineJwtSubject>>§keyring: Option<Arc<dyn JwtKeyring>>§remote_signer: Option<Arc<dyn SignRemoteJwt>>Trait Implementations§
Source§impl Clone for JwtPluginConfig
impl Clone for JwtPluginConfig
Source§impl Debug for JwtPluginConfig
impl Debug for JwtPluginConfig
Auto Trait Implementations§
impl !RefUnwindSafe for JwtPluginConfig
impl !UnwindSafe for JwtPluginConfig
impl Freeze for JwtPluginConfig
impl Send for JwtPluginConfig
impl Sync for JwtPluginConfig
impl Unpin for JwtPluginConfig
impl UnsafeUnpin for JwtPluginConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more