pub struct Builder { /* private fields */ }
Expand description
A builder for SocialProviderSettings
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 build(self) -> SocialProviderSettings
pub fn build(self) -> SocialProviderSettings
Consumes the builder and constructs a SocialProviderSettings
.