pub struct JwtOptions {
pub jwks: JwtJwksOptions,
pub jwt: JwtSigningOptions,
pub adapter: JwtAdapterOptions,
pub disable_setting_jwt_header: bool,
}Fields§
§jwks: JwtJwksOptions§jwt: JwtSigningOptions§adapter: JwtAdapterOptions§disable_setting_jwt_header: boolImplementations§
Source§impl JwtOptions
impl JwtOptions
pub fn validate(&self) -> Result<(), OpenAuthError>
Trait Implementations§
Source§impl Clone for JwtOptions
impl Clone for JwtOptions
Source§fn clone(&self) -> JwtOptions
fn clone(&self) -> JwtOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for JwtOptions
impl Default for JwtOptions
Source§fn default() -> JwtOptions
fn default() -> JwtOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JwtOptions
impl !RefUnwindSafe for JwtOptions
impl Send for JwtOptions
impl Sync for JwtOptions
impl Unpin for JwtOptions
impl UnsafeUnpin for JwtOptions
impl !UnwindSafe for JwtOptions
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