pub struct AuthenticationPolicyDefinition {
pub use_: Option<String>,
pub basic: Option<BasicAuthenticationSchemeDefinition>,
pub bearer: Option<BearerAuthenticationSchemeDefinition>,
pub certificate: Option<CertificateAuthenticationSchemeDefinition>,
pub digest: Option<DigestAuthenticationSchemeDefinition>,
pub oauth2: Option<OAuth2AuthenticationSchemeDefinition>,
pub oidc: Option<OpenIDConnectSchemeDefinition>,
}Expand description
Represents the definition of an authentication policy
Fields§
§use_: Option<String>Gets/sets the name of the top level authentication policy to use, if any
basic: Option<BasicAuthenticationSchemeDefinition>Gets/sets the basic authentication scheme to use, if any
bearer: Option<BearerAuthenticationSchemeDefinition>Gets/sets the Bearer authentication scheme to use, if any
certificate: Option<CertificateAuthenticationSchemeDefinition>Gets/sets the Certificate authentication scheme to use, if any
digest: Option<DigestAuthenticationSchemeDefinition>Gets/sets the Digest authentication scheme to use, if any
oauth2: Option<OAuth2AuthenticationSchemeDefinition>Gets/sets the OAUTH2 authentication scheme to use, if any
oidc: Option<OpenIDConnectSchemeDefinition>Gets/sets the OIDC authentication scheme to use, if any
Trait Implementations§
Source§impl Clone for AuthenticationPolicyDefinition
impl Clone for AuthenticationPolicyDefinition
Source§fn clone(&self) -> AuthenticationPolicyDefinition
fn clone(&self) -> AuthenticationPolicyDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AuthenticationPolicyDefinition
impl Default for AuthenticationPolicyDefinition
Source§fn default() -> AuthenticationPolicyDefinition
fn default() -> AuthenticationPolicyDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationPolicyDefinition
impl<'de> Deserialize<'de> for AuthenticationPolicyDefinition
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
Source§impl PartialEq for AuthenticationPolicyDefinition
impl PartialEq for AuthenticationPolicyDefinition
Source§fn eq(&self, other: &AuthenticationPolicyDefinition) -> bool
fn eq(&self, other: &AuthenticationPolicyDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthenticationPolicyDefinition
impl StructuralPartialEq for AuthenticationPolicyDefinition
Auto Trait Implementations§
impl Freeze for AuthenticationPolicyDefinition
impl RefUnwindSafe for AuthenticationPolicyDefinition
impl Send for AuthenticationPolicyDefinition
impl Sync for AuthenticationPolicyDefinition
impl Unpin for AuthenticationPolicyDefinition
impl UnsafeUnpin for AuthenticationPolicyDefinition
impl UnwindSafe for AuthenticationPolicyDefinition
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