pub trait CredentialAuthenticator: Send + Sync {
// Required method
fn authenticate(&self, credential: &str) -> Result<Principal>;
}Required Methods§
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".