pub struct JwtTokenSettings {
pub access_tokens_secret: String,
pub access_tokens_lifetime: TimeDelta,
pub refresh_tokens_secret: String,
pub refresh_tokens_lifetime: TimeDelta,
}Expand description
Jwt settings for [UserService] configuration
Fields§
§access_tokens_secret: String§access_tokens_lifetime: TimeDelta§refresh_tokens_secret: String§refresh_tokens_lifetime: TimeDeltaAuto Trait Implementations§
impl Freeze for JwtTokenSettings
impl RefUnwindSafe for JwtTokenSettings
impl Send for JwtTokenSettings
impl Sync for JwtTokenSettings
impl Unpin for JwtTokenSettings
impl UnwindSafe for JwtTokenSettings
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