#[non_exhaustive]pub struct AuthenticationConfigBuilder { /* private fields */ }
Expand description
A builder for AuthenticationConfig
.
Implementations§
source§impl AuthenticationConfigBuilder
impl AuthenticationConfigBuilder
sourcepub fn is_basic_auth_supported(self, input: bool) -> Self
pub fn is_basic_auth_supported(self, input: bool) -> Self
Indicates whether basic authentication is supported by the connector.
sourcepub fn set_is_basic_auth_supported(self, input: Option<bool>) -> Self
pub fn set_is_basic_auth_supported(self, input: Option<bool>) -> Self
Indicates whether basic authentication is supported by the connector.
sourcepub fn get_is_basic_auth_supported(&self) -> &Option<bool>
pub fn get_is_basic_auth_supported(&self) -> &Option<bool>
Indicates whether basic authentication is supported by the connector.
sourcepub fn is_api_key_auth_supported(self, input: bool) -> Self
pub fn is_api_key_auth_supported(self, input: bool) -> Self
Indicates whether API key authentication is supported by the connector
sourcepub fn set_is_api_key_auth_supported(self, input: Option<bool>) -> Self
pub fn set_is_api_key_auth_supported(self, input: Option<bool>) -> Self
Indicates whether API key authentication is supported by the connector
sourcepub fn get_is_api_key_auth_supported(&self) -> &Option<bool>
pub fn get_is_api_key_auth_supported(&self) -> &Option<bool>
Indicates whether API key authentication is supported by the connector
sourcepub fn is_o_auth2_supported(self, input: bool) -> Self
pub fn is_o_auth2_supported(self, input: bool) -> Self
Indicates whether OAuth 2.0 authentication is supported by the connector.
sourcepub fn set_is_o_auth2_supported(self, input: Option<bool>) -> Self
pub fn set_is_o_auth2_supported(self, input: Option<bool>) -> Self
Indicates whether OAuth 2.0 authentication is supported by the connector.
sourcepub fn get_is_o_auth2_supported(&self) -> &Option<bool>
pub fn get_is_o_auth2_supported(&self) -> &Option<bool>
Indicates whether OAuth 2.0 authentication is supported by the connector.
sourcepub fn is_custom_auth_supported(self, input: bool) -> Self
pub fn is_custom_auth_supported(self, input: bool) -> Self
Indicates whether custom authentication is supported by the connector
sourcepub fn set_is_custom_auth_supported(self, input: Option<bool>) -> Self
pub fn set_is_custom_auth_supported(self, input: Option<bool>) -> Self
Indicates whether custom authentication is supported by the connector
sourcepub fn get_is_custom_auth_supported(&self) -> &Option<bool>
pub fn get_is_custom_auth_supported(&self) -> &Option<bool>
Indicates whether custom authentication is supported by the connector
sourcepub fn o_auth2_defaults(self, input: OAuth2Defaults) -> Self
pub fn o_auth2_defaults(self, input: OAuth2Defaults) -> Self
Contains the default values required for OAuth 2.0 authentication.
sourcepub fn set_o_auth2_defaults(self, input: Option<OAuth2Defaults>) -> Self
pub fn set_o_auth2_defaults(self, input: Option<OAuth2Defaults>) -> Self
Contains the default values required for OAuth 2.0 authentication.
sourcepub fn get_o_auth2_defaults(&self) -> &Option<OAuth2Defaults>
pub fn get_o_auth2_defaults(&self) -> &Option<OAuth2Defaults>
Contains the default values required for OAuth 2.0 authentication.
sourcepub fn custom_auth_configs(self, input: CustomAuthConfig) -> Self
pub fn custom_auth_configs(self, input: CustomAuthConfig) -> Self
Appends an item to custom_auth_configs
.
To override the contents of this collection use set_custom_auth_configs
.
Contains information required for custom authentication.
sourcepub fn set_custom_auth_configs(
self,
input: Option<Vec<CustomAuthConfig>>
) -> Self
pub fn set_custom_auth_configs( self, input: Option<Vec<CustomAuthConfig>> ) -> Self
Contains information required for custom authentication.
sourcepub fn get_custom_auth_configs(&self) -> &Option<Vec<CustomAuthConfig>>
pub fn get_custom_auth_configs(&self) -> &Option<Vec<CustomAuthConfig>>
Contains information required for custom authentication.
sourcepub fn build(self) -> AuthenticationConfig
pub fn build(self) -> AuthenticationConfig
Consumes the builder and constructs a AuthenticationConfig
.
Trait Implementations§
source§impl Clone for AuthenticationConfigBuilder
impl Clone for AuthenticationConfigBuilder
source§fn clone(&self) -> AuthenticationConfigBuilder
fn clone(&self) -> AuthenticationConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthenticationConfigBuilder
impl Debug for AuthenticationConfigBuilder
source§impl Default for AuthenticationConfigBuilder
impl Default for AuthenticationConfigBuilder
source§fn default() -> AuthenticationConfigBuilder
fn default() -> AuthenticationConfigBuilder
source§impl PartialEq for AuthenticationConfigBuilder
impl PartialEq for AuthenticationConfigBuilder
source§fn eq(&self, other: &AuthenticationConfigBuilder) -> bool
fn eq(&self, other: &AuthenticationConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.