pub struct JwtOptionsBuilder { /* private fields */ }Implementations§
Source§impl JwtOptionsBuilder
impl JwtOptionsBuilder
pub fn jwks(self, jwks: JwtJwksOptions) -> Self
pub fn jwt(self, jwt: JwtSigningOptions) -> Self
pub fn adapter(self, adapter: JwtAdapterOptions) -> Self
pub fn disable_setting_jwt_header(self, disabled: bool) -> Self
pub fn schema(self, schema: JwtSchemaOptions) -> Self
pub fn build(self) -> Result<JwtOptions, RustAuthError>
Trait Implementations§
Source§impl Clone for JwtOptionsBuilder
impl Clone for JwtOptionsBuilder
Source§fn clone(&self) -> JwtOptionsBuilder
fn clone(&self) -> JwtOptionsBuilder
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 JwtOptionsBuilder
impl Default for JwtOptionsBuilder
Source§fn default() -> JwtOptionsBuilder
fn default() -> JwtOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for JwtOptionsBuilder
impl !UnwindSafe for JwtOptionsBuilder
impl Freeze for JwtOptionsBuilder
impl Send for JwtOptionsBuilder
impl Sync for JwtOptionsBuilder
impl Unpin for JwtOptionsBuilder
impl UnsafeUnpin for JwtOptionsBuilder
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