#[non_exhaustive]pub struct BackendAuthSocialProviderConfigBuilder { /* private fields */ }
Expand description
A builder for BackendAuthSocialProviderConfig
.
Implementations§
source§impl BackendAuthSocialProviderConfigBuilder
impl BackendAuthSocialProviderConfigBuilder
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Describes the client_id, which can be obtained from the third-party social federation provider.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
Describes the client_id, which can be obtained from the third-party social federation provider.
sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
Describes the client_secret, which can be obtained from third-party social federation providers.
sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
Describes the client_secret, which can be obtained from third-party social federation providers.
sourcepub fn build(self) -> BackendAuthSocialProviderConfig
pub fn build(self) -> BackendAuthSocialProviderConfig
Consumes the builder and constructs a BackendAuthSocialProviderConfig
.
Trait Implementations§
source§impl Clone for BackendAuthSocialProviderConfigBuilder
impl Clone for BackendAuthSocialProviderConfigBuilder
source§fn clone(&self) -> BackendAuthSocialProviderConfigBuilder
fn clone(&self) -> BackendAuthSocialProviderConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BackendAuthSocialProviderConfigBuilder
impl Default for BackendAuthSocialProviderConfigBuilder
source§fn default() -> BackendAuthSocialProviderConfigBuilder
fn default() -> BackendAuthSocialProviderConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BackendAuthSocialProviderConfigBuilder> for BackendAuthSocialProviderConfigBuilder
impl PartialEq<BackendAuthSocialProviderConfigBuilder> for BackendAuthSocialProviderConfigBuilder
source§fn eq(&self, other: &BackendAuthSocialProviderConfigBuilder) -> bool
fn eq(&self, other: &BackendAuthSocialProviderConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.