pub enum AuthCallbackOutcome {
Code(String),
Cancelled,
Error(String),
}Expand description
OAuth callback result from the local HTTP server.
Custom Debug redacts the authorization Code and Error payloads —
the code is a short-lived secret exchangeable for tokens, and error
strings come from untrusted callback query parameters that may contain
tenant identifiers, URLs, or other sensitive values.
Variants§
Trait Implementations§
Source§impl Clone for AuthCallbackOutcome
impl Clone for AuthCallbackOutcome
Source§fn clone(&self) -> AuthCallbackOutcome
fn clone(&self) -> AuthCallbackOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthCallbackOutcome
impl RefUnwindSafe for AuthCallbackOutcome
impl Send for AuthCallbackOutcome
impl Sync for AuthCallbackOutcome
impl Unpin for AuthCallbackOutcome
impl UnsafeUnpin for AuthCallbackOutcome
impl UnwindSafe for AuthCallbackOutcome
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