pub struct JwtConfig {
pub algorithm: Algorithm,
pub issuer: String,
pub audience: String,
pub access_token_ttl: Duration,
pub refresh_token_ttl: Duration,
}Fields§
§algorithm: Algorithm§issuer: String§audience: String§access_token_ttl: Duration§refresh_token_ttl: DurationTrait Implementations§
Auto Trait Implementations§
impl Freeze for JwtConfig
impl RefUnwindSafe for JwtConfig
impl Send for JwtConfig
impl Sync for JwtConfig
impl Unpin for JwtConfig
impl UnwindSafe for JwtConfig
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