pub trait AuthProvider: Send + Sync {
// Required methods
fn get_token(&self) -> Result<String, AuthError>;
fn method_name(&self) -> &'static str;
}Expand description
Authentication provider trait
Required Methods§
Sourcefn method_name(&self) -> &'static str
fn method_name(&self) -> &'static str
Get the authentication method name