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