pub struct AuthenticationCapabilities {
pub schemes: Vec<AuthenticationScheme>,
pub mfa_supported: bool,
pub token_refresh_supported: bool,
}
Expand description
Authentication capabilities (typically configured rather than discovered)
Fields§
§schemes: Vec<AuthenticationScheme>
Supported authentication schemes
mfa_supported: bool
Whether multi-factor authentication is supported
token_refresh_supported: bool
Whether token refresh is supported
Trait Implementations§
Source§impl Clone for AuthenticationCapabilities
impl Clone for AuthenticationCapabilities
Source§fn clone(&self) -> AuthenticationCapabilities
fn clone(&self) -> AuthenticationCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthenticationCapabilities
impl Debug for AuthenticationCapabilities
Source§impl Default for AuthenticationCapabilities
impl Default for AuthenticationCapabilities
Source§impl<'de> Deserialize<'de> for AuthenticationCapabilities
impl<'de> Deserialize<'de> for AuthenticationCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AuthenticationCapabilities
impl RefUnwindSafe for AuthenticationCapabilities
impl Send for AuthenticationCapabilities
impl Sync for AuthenticationCapabilities
impl Unpin for AuthenticationCapabilities
impl UnwindSafe for AuthenticationCapabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> TenantValidator for T
impl<T> TenantValidator for T
Source§fn validate_tenant_context(
&self,
expected_tenant_id: &str,
context: &RequestContext,
) -> Result<(), String>
fn validate_tenant_context( &self, expected_tenant_id: &str, context: &RequestContext, ) -> Result<(), String>
Validate that the context has the expected tenant.
Source§fn validate_single_tenant_context(
&self,
context: &RequestContext,
) -> Result<(), String>
fn validate_single_tenant_context( &self, context: &RequestContext, ) -> Result<(), String>
Validate that the context is for single-tenant operation.
Source§fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
Extract tenant context or return error for multi-tenant operations.