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>§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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SessionAuthenticationMethod
impl Debug for 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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SessionAuthenticationMethod
impl PartialEq for SessionAuthenticationMethod
source§fn eq(&self, other: &SessionAuthenticationMethod) -> bool
fn eq(&self, other: &SessionAuthenticationMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SessionAuthenticationMethod
Auto Trait Implementations§
impl RefUnwindSafe for SessionAuthenticationMethod
impl Send for SessionAuthenticationMethod
impl Sync for SessionAuthenticationMethod
impl Unpin for SessionAuthenticationMethod
impl UnwindSafe for SessionAuthenticationMethod
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