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 ==
.