Skip to main content

CredentialAuthenticator

Trait CredentialAuthenticator 

Source
pub trait CredentialAuthenticator: Send + Sync {
    // Required method
    fn authenticate(&self, credential: &str) -> Result<Principal>;
}

Required Methods§

Source

fn authenticate(&self, credential: &str) -> Result<Principal>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§