#[non_exhaustive]pub struct SocialProviderSettingsBuilder { /* private fields */ }
Expand description
A builder for SocialProviderSettings
.
Implementations§
source§impl SocialProviderSettingsBuilder
impl SocialProviderSettingsBuilder
sourcepub fn facebook(self, input: BackendAuthSocialProviderConfig) -> Self
pub fn facebook(self, input: BackendAuthSocialProviderConfig) -> Self
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn set_facebook(
self,
input: Option<BackendAuthSocialProviderConfig>
) -> Self
pub fn set_facebook( self, input: Option<BackendAuthSocialProviderConfig> ) -> Self
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn get_facebook(&self) -> &Option<BackendAuthSocialProviderConfig>
pub fn get_facebook(&self) -> &Option<BackendAuthSocialProviderConfig>
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn google(self, input: BackendAuthSocialProviderConfig) -> Self
pub fn google(self, input: BackendAuthSocialProviderConfig) -> Self
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn set_google(self, input: Option<BackendAuthSocialProviderConfig>) -> Self
pub fn set_google(self, input: Option<BackendAuthSocialProviderConfig>) -> Self
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn get_google(&self) -> &Option<BackendAuthSocialProviderConfig>
pub fn get_google(&self) -> &Option<BackendAuthSocialProviderConfig>
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn login_with_amazon(self, input: BackendAuthSocialProviderConfig) -> Self
pub fn login_with_amazon(self, input: BackendAuthSocialProviderConfig) -> Self
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn set_login_with_amazon(
self,
input: Option<BackendAuthSocialProviderConfig>
) -> Self
pub fn set_login_with_amazon( self, input: Option<BackendAuthSocialProviderConfig> ) -> Self
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn get_login_with_amazon(&self) -> &Option<BackendAuthSocialProviderConfig>
pub fn get_login_with_amazon(&self) -> &Option<BackendAuthSocialProviderConfig>
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn sign_in_with_apple(self, input: BackendAuthAppleProviderConfig) -> Self
pub fn sign_in_with_apple(self, input: BackendAuthAppleProviderConfig) -> Self
Describes Apple social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn set_sign_in_with_apple(
self,
input: Option<BackendAuthAppleProviderConfig>
) -> Self
pub fn set_sign_in_with_apple( self, input: Option<BackendAuthAppleProviderConfig> ) -> Self
Describes Apple social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn get_sign_in_with_apple(&self) -> &Option<BackendAuthAppleProviderConfig>
pub fn get_sign_in_with_apple(&self) -> &Option<BackendAuthAppleProviderConfig>
Describes Apple social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn build(self) -> SocialProviderSettings
pub fn build(self) -> SocialProviderSettings
Consumes the builder and constructs a SocialProviderSettings
.
Trait Implementations§
source§impl Clone for SocialProviderSettingsBuilder
impl Clone for SocialProviderSettingsBuilder
source§fn clone(&self) -> SocialProviderSettingsBuilder
fn clone(&self) -> SocialProviderSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SocialProviderSettingsBuilder
impl Default for SocialProviderSettingsBuilder
source§fn default() -> SocialProviderSettingsBuilder
fn default() -> SocialProviderSettingsBuilder
source§impl PartialEq for SocialProviderSettingsBuilder
impl PartialEq for SocialProviderSettingsBuilder
source§fn eq(&self, other: &SocialProviderSettingsBuilder) -> bool
fn eq(&self, other: &SocialProviderSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.