Enum kanidm_proto::v1::AuthStep
source · pub enum AuthStep {
Init(String),
Init2 {
username: String,
issue: AuthIssueSession,
privileged: bool,
},
Begin(AuthMech),
Cred(AuthCredential),
}
Variants§
Init(String)
“I want to authenticate with this username”
Init2
Fields
§
issue: AuthIssueSession
A new way to issue sessions. Doing this as a new init type to prevent breaking existing clients. Allows requesting of the type of session that will be issued at the end if successful.
Begin(AuthMech)
We want to talk to you like this.
Cred(AuthCredential)
Provide a response to a challenge.
Trait Implementations§
source§impl<'de> Deserialize<'de> for AuthStep
impl<'de> Deserialize<'de> for AuthStep
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 RefUnwindSafe for AuthStep
impl Send for AuthStep
impl Sync for AuthStep
impl Unpin for AuthStep
impl UnwindSafe for AuthStep
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