pub struct SessionAuthenticationMethod {
pub aal: Option<AuthenticatorAssuranceLevel>,
pub completed_at: Option<String>,
pub method: Option<MethodEnum>,
pub organization: Option<String>,
pub provider: Option<String>,
}Expand description
SessionAuthenticationMethod : A singular authenticator used during authentication / login.
Fields§
§aal: Option<AuthenticatorAssuranceLevel>§completed_at: Option<String>When the authentication challenge was completed.
method: Option<MethodEnum>The method used in this authenticator. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
organization: Option<String>The Organization id used for authentication
provider: Option<String>OIDC or SAML provider id used for authentication
Implementations§
Source§impl SessionAuthenticationMethod
impl SessionAuthenticationMethod
Sourcepub fn new() -> SessionAuthenticationMethod
pub fn new() -> SessionAuthenticationMethod
A singular authenticator used during authentication / login.
Trait Implementations§
Source§impl Clone for SessionAuthenticationMethod
impl Clone for SessionAuthenticationMethod
Source§fn clone(&self) -> SessionAuthenticationMethod
fn clone(&self) -> SessionAuthenticationMethod
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionAuthenticationMethod
impl Debug for SessionAuthenticationMethod
Source§impl Default for SessionAuthenticationMethod
impl Default for SessionAuthenticationMethod
Source§fn default() -> SessionAuthenticationMethod
fn default() -> SessionAuthenticationMethod
Source§impl<'de> Deserialize<'de> for SessionAuthenticationMethod
impl<'de> Deserialize<'de> for SessionAuthenticationMethod
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>,
Source§impl PartialEq for SessionAuthenticationMethod
impl PartialEq for SessionAuthenticationMethod
Source§fn eq(&self, other: &SessionAuthenticationMethod) -> bool
fn eq(&self, other: &SessionAuthenticationMethod) -> bool
self and other values to be equal, and is used by ==.