#[non_exhaustive]pub struct SocialProviderSettings {
    pub facebook: Option<BackendAuthSocialProviderConfig>,
    pub google: Option<BackendAuthSocialProviderConfig>,
    pub login_with_amazon: Option<BackendAuthSocialProviderConfig>,
    pub sign_in_with_apple: Option<BackendAuthAppleProviderConfig>,
}Expand description
The settings for using the social identity providers for access to your Amplify app.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.facebook: Option<BackendAuthSocialProviderConfig>Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
google: Option<BackendAuthSocialProviderConfig>Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
login_with_amazon: Option<BackendAuthSocialProviderConfig>Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
sign_in_with_apple: Option<BackendAuthAppleProviderConfig>Describes Apple social federation configurations for allowing your app users to sign in using OAuth.
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() -> SocialProviderSettingsBuilder
 
pub fn builder() -> SocialProviderSettingsBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SocialProviderSettings
 
impl Debug for SocialProviderSettings
source§impl PartialEq for SocialProviderSettings
 
impl PartialEq for SocialProviderSettings
source§fn eq(&self, other: &SocialProviderSettings) -> bool
 
fn eq(&self, other: &SocialProviderSettings) -> bool
self and other values to be equal, and is used
by ==.