Trait SessionAuthentication

Source
pub trait SessionAuthentication {
    const AUTHENTICATED_SESSION_STATE: SessionState;

    // Provided method
    fn attempt_session_authentication(
        &self,
        authentication_assurance: &AuthenticationAssurance,
        authentication_challenge: &AuthenticationChallenge,
    ) -> SessionState
       where Self: Verifier + AuditAuthenticationAssurance { ... }
}

Required Associated Constants§

Provided Methods§

Source

fn attempt_session_authentication( &self, authentication_assurance: &AuthenticationAssurance, authentication_challenge: &AuthenticationChallenge, ) -> SessionState

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SessionAuthentication for AttestantAuthenticationKeys

Source§

const AUTHENTICATED_SESSION_STATE: SessionState = SessionState::AuthenticatedAttestant

Source§

impl SessionAuthentication for ReachableVerifyingKeys

Source§

const AUTHENTICATED_SESSION_STATE: SessionState = SessionState::AuthenticatedReachable

Implementors§