pub struct JwtValidationOptions {
pub skip_issuer_validation: bool,
pub skip_audience_validation: bool,
pub expected_audience: Option<String>,
}Expand description
JWT validation options
Fields§
§skip_issuer_validation: boolSkip issuer validation
skip_audience_validation: boolSkip audience validation
expected_audience: Option<String>Expected audience value (if different from client_id)
Trait Implementations§
Source§impl Clone for JwtValidationOptions
impl Clone for JwtValidationOptions
Source§fn clone(&self) -> JwtValidationOptions
fn clone(&self) -> JwtValidationOptions
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 JwtValidationOptions
impl Debug for JwtValidationOptions
Source§impl Default for JwtValidationOptions
impl Default for JwtValidationOptions
Source§fn default() -> JwtValidationOptions
fn default() -> JwtValidationOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JwtValidationOptions
impl RefUnwindSafe for JwtValidationOptions
impl Send for JwtValidationOptions
impl Sync for JwtValidationOptions
impl Unpin for JwtValidationOptions
impl UnwindSafe for JwtValidationOptions
Blanket Implementations§
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