#[repr(i32)]pub enum SessionLevel {
SESSION_LEVEL_UNSPECIFIED = 0,
PRIMARY_AUTHENTICATED = 1,
MFA_ELEVATED = 2,
FRESH_STEP_UP = 3,
}Expand description
Session assurance level for the current interactive authentication context.
Variants§
SESSION_LEVEL_UNSPECIFIED = 0
No session assurance level was specified.
PRIMARY_AUTHENTICATED = 1
Primary login has completed, but MFA has not elevated this session.
MFA_ELEVATED = 2
MFA has elevated this session for ordinary protected account activity.
FRESH_STEP_UP = 3
A short-lived proof for one high-risk action.
Implementations§
Source§impl SessionLevel
impl SessionLevel
Sourcepub const SessionLevelUnspecified: Self = Self::SESSION_LEVEL_UNSPECIFIED
pub const SessionLevelUnspecified: Self = Self::SESSION_LEVEL_UNSPECIFIED
Idiomatic alias for Self::SESSION_LEVEL_UNSPECIFIED; Debug prints the variant name.
Sourcepub const PrimaryAuthenticated: Self = Self::PRIMARY_AUTHENTICATED
pub const PrimaryAuthenticated: Self = Self::PRIMARY_AUTHENTICATED
Idiomatic alias for Self::PRIMARY_AUTHENTICATED; Debug prints the variant name.
Sourcepub const MfaElevated: Self = Self::MFA_ELEVATED
pub const MfaElevated: Self = Self::MFA_ELEVATED
Idiomatic alias for Self::MFA_ELEVATED; Debug prints the variant name.
Sourcepub const FreshStepUp: Self = Self::FRESH_STEP_UP
pub const FreshStepUp: Self = Self::FRESH_STEP_UP
Idiomatic alias for Self::FRESH_STEP_UP; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for SessionLevel
impl Clone for SessionLevel
Source§fn clone(&self) -> SessionLevel
fn clone(&self) -> SessionLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionLevel
Source§impl Debug for SessionLevel
impl Debug for SessionLevel
Source§impl Default for SessionLevel
impl Default for SessionLevel
Source§impl<'de> Deserialize<'de> for SessionLevel
impl<'de> Deserialize<'de> for SessionLevel
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for SessionLevel
impl Enumeration for SessionLevel
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for SessionLevel
Source§impl Hash for SessionLevel
impl Hash for SessionLevel
Source§impl PartialEq for SessionLevel
impl PartialEq for SessionLevel
Source§impl ProtoElemJson for SessionLevel
impl ProtoElemJson for SessionLevel
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for SessionLevel
impl Serialize for SessionLevel
impl StructuralPartialEq for SessionLevel
Auto Trait Implementations§
impl Freeze for SessionLevel
impl RefUnwindSafe for SessionLevel
impl Send for SessionLevel
impl Sync for SessionLevel
impl Unpin for SessionLevel
impl UnsafeUnpin for SessionLevel
impl UnwindSafe for SessionLevel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.