Struct aws_sdk_appflow::model::AuthenticationConfig
source · [−]#[non_exhaustive]pub struct AuthenticationConfig {
pub is_basic_auth_supported: bool,
pub is_api_key_auth_supported: bool,
pub is_o_auth2_supported: bool,
pub is_custom_auth_supported: bool,
pub o_auth2_defaults: Option<OAuth2Defaults>,
pub custom_auth_configs: Option<Vec<CustomAuthConfig>>,
}
Expand description
Contains information about the authentication config that the connector supports.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.is_basic_auth_supported: bool
Indicates whether basic authentication is supported by the connector.
is_api_key_auth_supported: bool
Indicates whether API key authentication is supported by the connector
is_o_auth2_supported: bool
Indicates whether OAuth 2.0 authentication is supported by the connector.
is_custom_auth_supported: bool
Indicates whether custom authentication is supported by the connector
o_auth2_defaults: Option<OAuth2Defaults>
Contains the default values required for OAuth 2.0 authentication.
custom_auth_configs: Option<Vec<CustomAuthConfig>>
Contains information required for custom authentication.
Implementations
sourceimpl AuthenticationConfig
impl AuthenticationConfig
sourcepub fn is_basic_auth_supported(&self) -> bool
pub fn is_basic_auth_supported(&self) -> bool
Indicates whether basic authentication is supported by the connector.
sourcepub fn is_api_key_auth_supported(&self) -> bool
pub fn is_api_key_auth_supported(&self) -> bool
Indicates whether API key authentication is supported by the connector
sourcepub fn is_o_auth2_supported(&self) -> bool
pub fn is_o_auth2_supported(&self) -> bool
Indicates whether OAuth 2.0 authentication is supported by the connector.
sourcepub fn is_custom_auth_supported(&self) -> bool
pub fn is_custom_auth_supported(&self) -> bool
Indicates whether custom authentication is supported by the connector
sourcepub fn o_auth2_defaults(&self) -> Option<&OAuth2Defaults>
pub fn o_auth2_defaults(&self) -> Option<&OAuth2Defaults>
Contains the default values required for OAuth 2.0 authentication.
sourcepub fn custom_auth_configs(&self) -> Option<&[CustomAuthConfig]>
pub fn custom_auth_configs(&self) -> Option<&[CustomAuthConfig]>
Contains information required for custom authentication.
sourceimpl AuthenticationConfig
impl AuthenticationConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AuthenticationConfig
Trait Implementations
sourceimpl Clone for AuthenticationConfig
impl Clone for AuthenticationConfig
sourcefn clone(&self) -> AuthenticationConfig
fn clone(&self) -> AuthenticationConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthenticationConfig
impl Debug for AuthenticationConfig
sourceimpl PartialEq<AuthenticationConfig> for AuthenticationConfig
impl PartialEq<AuthenticationConfig> for AuthenticationConfig
sourcefn eq(&self, other: &AuthenticationConfig) -> bool
fn eq(&self, other: &AuthenticationConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AuthenticationConfig) -> bool
fn ne(&self, other: &AuthenticationConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for AuthenticationConfig
Auto Trait Implementations
impl RefUnwindSafe for AuthenticationConfig
impl Send for AuthenticationConfig
impl Sync for AuthenticationConfig
impl Unpin for AuthenticationConfig
impl UnwindSafe for AuthenticationConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more