pub enum LoginFlow {
Loopback,
Device,
Switch,
}Expand description
Which login flow produced the tokens. Reported as utm_campaign, so interactive and
agent-driven sign-ins can be told apart in analytics.
Variants§
Loopback
Browser on the same machine, redirect caught on loopback.
Device
Device-authorization grant — headless machines and agents.
Switch
cloud auth switch: no browser at all, a stored refresh token stands in for the sign-in.
Trait Implementations§
impl Copy for LoginFlow
impl Eq for LoginFlow
impl StructuralPartialEq for LoginFlow
Auto Trait Implementations§
impl Freeze for LoginFlow
impl RefUnwindSafe for LoginFlow
impl Send for LoginFlow
impl Sync for LoginFlow
impl Unpin for LoginFlow
impl UnsafeUnpin for LoginFlow
impl UnwindSafe for LoginFlow
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