pub struct AuthResultEnhanced {
pub user_id: Uuid,
pub token: String,
pub refresh_token: Option<String>,
pub expires_at: DateTime<Utc>,
pub requires_2fa: bool,
pub security_flags: SecurityFlags,
}Expand description
Enhanced authentication result with security info
Fields§
§user_id: Uuid§token: String§refresh_token: Option<String>§expires_at: DateTime<Utc>§requires_2fa: bool§security_flags: SecurityFlagsTrait Implementations§
Source§impl Clone for AuthResultEnhanced
impl Clone for AuthResultEnhanced
Auto Trait Implementations§
impl Freeze for AuthResultEnhanced
impl RefUnwindSafe for AuthResultEnhanced
impl Send for AuthResultEnhanced
impl Sync for AuthResultEnhanced
impl Unpin for AuthResultEnhanced
impl UnsafeUnpin for AuthResultEnhanced
impl UnwindSafe for AuthResultEnhanced
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