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 Default for SessionAuthenticationMethod
impl Default for SessionAuthenticationMethod
Source§fn default() -> SessionAuthenticationMethod
fn default() -> SessionAuthenticationMethod
Returns the “default value” for a type. Read more
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
impl StructuralPartialEq for SessionAuthenticationMethod
Auto Trait Implementations§
impl Freeze for SessionAuthenticationMethod
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