pub struct Builder { /* private fields */ }
Expand description
A builder for BackendAuthSocialProviderConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Describes the client_id, which can be obtained from the third-party social federation provider.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
Describes the client_id, which can be obtained from the third-party social federation provider.
sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
Describes the client_secret, which can be obtained from third-party social federation providers.
sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
Describes the client_secret, which can be obtained from third-party social federation providers.
sourcepub fn build(self) -> BackendAuthSocialProviderConfig
pub fn build(self) -> BackendAuthSocialProviderConfig
Consumes the builder and constructs a BackendAuthSocialProviderConfig
.