#[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 ==
.impl StructuralPartialEq for AuthenticationConfigBuilder
Auto Trait Implementations§
impl Freeze for AuthenticationConfigBuilder
impl RefUnwindSafe for AuthenticationConfigBuilder
impl Send for AuthenticationConfigBuilder
impl Sync for AuthenticationConfigBuilder
impl Unpin for AuthenticationConfigBuilder
impl UnwindSafe for AuthenticationConfigBuilder
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