#[non_exhaustive]pub struct SocialProviderSettings { /* private fields */ }
Expand description
The settings for using the social identity providers for access to your Amplify app.
Implementations§
source§impl SocialProviderSettings
impl SocialProviderSettings
sourcepub fn facebook(&self) -> Option<&BackendAuthSocialProviderConfig>
pub fn facebook(&self) -> Option<&BackendAuthSocialProviderConfig>
Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sourcepub fn google(&self) -> Option<&BackendAuthSocialProviderConfig>
pub fn 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) -> Option<&BackendAuthSocialProviderConfig>
pub fn 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) -> Option<&BackendAuthAppleProviderConfig>
pub fn sign_in_with_apple(&self) -> Option<&BackendAuthAppleProviderConfig>
Describes Apple social federation configurations for allowing your app users to sign in using OAuth.
source§impl SocialProviderSettings
impl SocialProviderSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SocialProviderSettings
.
Trait Implementations§
source§impl Clone for SocialProviderSettings
impl Clone for SocialProviderSettings
source§fn clone(&self) -> SocialProviderSettings
fn clone(&self) -> SocialProviderSettings
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 Debug for SocialProviderSettings
impl Debug for SocialProviderSettings
source§impl PartialEq<SocialProviderSettings> for SocialProviderSettings
impl PartialEq<SocialProviderSettings> for SocialProviderSettings
source§fn eq(&self, other: &SocialProviderSettings) -> bool
fn eq(&self, other: &SocialProviderSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.