pub struct AdvancedJarmConfig {
pub supported_algorithms: Vec<Algorithm>,
pub default_token_expiry: Duration,
pub enable_jwe_encryption: bool,
pub supported_delivery_modes: Vec<JarmDeliveryMode>,
pub enable_custom_claims: bool,
pub max_custom_claims: usize,
pub enable_response_validation: bool,
pub jarm_issuer: String,
pub enable_audit_logging: bool,
pub jwe_algorithm: Option<String>,
pub jwe_content_encryption: Option<String>,
}Expand description
Advanced JARM configuration
Fields§
§supported_algorithms: Vec<Algorithm>Supported signing algorithms
default_token_expiry: DurationDefault token expiry
enable_jwe_encryption: boolEnable JWE encryption for nested JWT
supported_delivery_modes: Vec<JarmDeliveryMode>Supported delivery modes
enable_custom_claims: boolEnable custom claims
max_custom_claims: usizeMaximum custom claims count
enable_response_validation: boolEnable response validation
jarm_issuer: StringJWT issuer for JARM tokens
enable_audit_logging: boolEnable audit logging
jwe_algorithm: Option<String>Encryption algorithm for JWE
jwe_content_encryption: Option<String>Content encryption algorithm
Trait Implementations§
Source§impl Clone for AdvancedJarmConfig
impl Clone for AdvancedJarmConfig
Source§fn clone(&self) -> AdvancedJarmConfig
fn clone(&self) -> AdvancedJarmConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvancedJarmConfig
impl Debug for AdvancedJarmConfig
Auto Trait Implementations§
impl Freeze for AdvancedJarmConfig
impl RefUnwindSafe for AdvancedJarmConfig
impl Send for AdvancedJarmConfig
impl Sync for AdvancedJarmConfig
impl Unpin for AdvancedJarmConfig
impl UnwindSafe for AdvancedJarmConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more