pub enum AuthEvent {
SignedIn,
SignedOut,
TokenRefreshed,
UserUpdated,
PasswordReset,
}
Expand description
Authentication state event types
Variants§
SignedIn
User signed in
SignedOut
User signed out
TokenRefreshed
Session refreshed
UserUpdated
User information updated
PasswordReset
Password reset initiated
Trait Implementations§
impl Eq for AuthEvent
impl StructuralPartialEq for AuthEvent
Auto Trait Implementations§
impl Freeze for AuthEvent
impl RefUnwindSafe for AuthEvent
impl Send for AuthEvent
impl Sync for AuthEvent
impl Unpin for AuthEvent
impl UnwindSafe for AuthEvent
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