pub enum Hop {
Authorize,
Callback,
WebLoginWithSso,
WebLoginNoSso,
Consent,
Food,
Other(String),
}Expand description
Where a redirect points during the silent round trip.
Variants§
Authorize
GrabID oauth2/authorize.
Callback
The service’s callback (food.grab.com/auth/callback?code=…,
mart.grab.com/grab-id/token?code=…): the IdP accepted the SSO.
WebLoginWithSso
The weblogin “Continue as …” screen: the IdP sees a live SSO cookie but wants the account picked.
WebLoginNoSso
The weblogin phone screen: no live SSO, a real login is needed.
Consent
weblogin’s OAuth consent screen: the SSO is fine but the user never granted this client (e.g. GrabMart web) access. Needs a person once.
Food
food.grab.com past the callback (logged in).
Other(String)
Trait Implementations§
impl Eq for Hop
impl StructuralPartialEq for Hop
Auto Trait Implementations§
impl Freeze for Hop
impl RefUnwindSafe for Hop
impl Send for Hop
impl Sync for Hop
impl Unpin for Hop
impl UnsafeUnpin for Hop
impl UnwindSafe for Hop
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