Struct aws_sdk_appflow::types::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§
source§impl 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) -> &[CustomAuthConfig]
pub fn custom_auth_configs(&self) -> &[CustomAuthConfig]
Contains information required for custom authentication.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .custom_auth_configs.is_none()
.
source§impl AuthenticationConfig
impl AuthenticationConfig
sourcepub fn builder() -> AuthenticationConfigBuilder
pub fn builder() -> AuthenticationConfigBuilder
Creates a new builder-style object to manufacture AuthenticationConfig
.
Trait Implementations§
source§impl Clone for AuthenticationConfig
impl Clone for AuthenticationConfig
source§fn clone(&self) -> AuthenticationConfig
fn clone(&self) -> AuthenticationConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthenticationConfig
impl Debug for AuthenticationConfig
source§impl PartialEq for AuthenticationConfig
impl PartialEq for AuthenticationConfig
source§fn eq(&self, other: &AuthenticationConfig) -> bool
fn eq(&self, other: &AuthenticationConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthenticationConfig
Auto Trait Implementations§
impl Freeze for AuthenticationConfig
impl RefUnwindSafe for AuthenticationConfig
impl Send for AuthenticationConfig
impl Sync for AuthenticationConfig
impl Unpin for AuthenticationConfig
impl UnwindSafe for AuthenticationConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more