pub enum ProviderType {
Google,
Microsoft,
GitHub,
GitLab,
Apple,
Okta,
Auth0,
Keycloak,
Generic,
Custom(String),
}Expand description
OAuth2 provider types with built-in configurations
Variants§
Google OAuth2 provider
Microsoft
Microsoft/Azure OAuth2 provider
GitHub
GitHub OAuth2 provider
GitLab
GitLab OAuth2 provider
Apple
Apple Sign In provider (OAuth 2.1 with custom requirements)
Okta
Okta enterprise OAuth2 provider
Auth0
Auth0 identity platform provider
Keycloak
Keycloak open-source OIDC provider
Generic
Generic OAuth2 provider with standard scopes
Custom(String)
Custom provider with custom configuration
Trait Implementations§
Source§impl Clone for ProviderType
impl Clone for ProviderType
Source§fn clone(&self) -> ProviderType
fn clone(&self) -> ProviderType
Returns a duplicate 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 ProviderType
impl Debug for ProviderType
Source§impl PartialEq for ProviderType
impl PartialEq for ProviderType
impl StructuralPartialEq for ProviderType
Auto Trait Implementations§
impl Freeze for ProviderType
impl RefUnwindSafe for ProviderType
impl Send for ProviderType
impl Sync for ProviderType
impl Unpin for ProviderType
impl UnwindSafe for ProviderType
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
Mutably borrows from an owned value. Read more