OAuthProvider class final

An OAuth provider identifier.

Use one of the predefined constants for built-in providers:

OAuthProvider.google

Or pass an arbitrary string for custom/generic providers:

OAuthProvider('custom:my-provider')

Constructors

OAuthProvider(String name)
Creates an OAuthProvider with an arbitrary name.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
name → String
The provider identifier sent to the Supabase Auth API.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

apple → const OAuthProvider
Sign in with Apple.
azure → const OAuthProvider
Microsoft Entra ID (formerly Azure AD).
bitbucket → const OAuthProvider
Bitbucket.
discord → const OAuthProvider
Discord.
facebook → const OAuthProvider
Facebook.
figma → const OAuthProvider
Figma.
github → const OAuthProvider
GitHub.
gitlab → const OAuthProvider
GitLab.
google → const OAuthProvider
Google.
kakao → const OAuthProvider
Kakao.
keycloak → const OAuthProvider
A self-hosted Keycloak instance.
linkedin → const OAuthProvider
LinkedIn, using LinkedIn's legacy OAuth 2.0 API.
linkedinOidc → const OAuthProvider
LinkedIn, using OpenID Connect.
notion → const OAuthProvider
Notion.
slack → const OAuthProvider
Slack, using Slack's legacy OAuth 2.0 API.
slackOidc → const OAuthProvider
Slack, using OpenID Connect.
spotify → const OAuthProvider
Spotify.
twitch → const OAuthProvider
Twitch.
twitter → const OAuthProvider
Uses OAuth 1.0a.
values → const List<OAuthProvider>
All built-in providers, for enumeration convenience.
workos → const OAuthProvider
WorkOS, for enterprise SSO.
x → const OAuthProvider
Uses OAuth 2.0.
zoom → const OAuthProvider
Zoom.