pub enum AuthLoginStep {
OpenUrl(AuthLoginStepOpenUrl),
InputRequired(AuthLoginStepInputRequired),
Awaiting(AuthLoginStepAwaiting),
NeedsInteraction(AuthLoginStepNeedsInteraction),
Completed(AuthLoginStepCompleted),
Error(AuthLoginStepError),
}Expand description
One step in an interactive login flow. The consumer acts on the step and calls advance to proceed. Browser-open is encoded as two distinct steps by design: open-url is CONSUMER-driven (the provider surfaces the authorize URL and the consumer opens it — github.com/GHEC web), while needs-interaction is PROVIDER-driven (the provider opens the browser or broker UI itself and does not surface a URL — Entra).
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
OpenUrl(AuthLoginStepOpenUrl)
InputRequired(AuthLoginStepInputRequired)
Awaiting(AuthLoginStepAwaiting)
NeedsInteraction(AuthLoginStepNeedsInteraction)
Completed(AuthLoginStepCompleted)
Error(AuthLoginStepError)
Trait Implementations§
Source§impl Clone for AuthLoginStep
impl Clone for AuthLoginStep
Source§impl Debug for AuthLoginStep
impl Debug for AuthLoginStep
Source§impl<'de> Deserialize<'de> for AuthLoginStep
impl<'de> Deserialize<'de> for AuthLoginStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AuthLoginStep
impl RefUnwindSafe for AuthLoginStep
impl Send for AuthLoginStep
impl Sync for AuthLoginStep
impl Unpin for AuthLoginStep
impl UnsafeUnpin for AuthLoginStep
impl UnwindSafe for AuthLoginStep
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