pub enum VerifyOutput {
Verified {
token: String,
user: Map<String, Value>,
},
Challenge(Value),
}Expand description
What a successful verification answers.
Variants§
Verified
The session token and the user.
Challenge(Value)
The code finished a sign-in, and a sign-in gate of another plugin challenged it in turn: answer with its JSON. No session exists yet.
Trait Implementations§
Source§impl Debug for VerifyOutput
impl Debug for VerifyOutput
Auto Trait Implementations§
impl Forget for VerifyOutput
impl Freeze for VerifyOutput
impl Move for VerifyOutput
impl RefUnwindSafe for VerifyOutput
impl Send for VerifyOutput
impl Sync for VerifyOutput
impl Unpin for VerifyOutput
impl UnsafeUnpin for VerifyOutput
impl UnwindSafe for VerifyOutput
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