OAuthProviderData

data class OAuthProviderData(val provider: String, val strategy: String, val name: String)

Data class containing OAuth provider configuration information.

This class holds the essential information needed to identify and interact with an OAuth provider, including internal identifiers, API strategy strings, and user-facing display names.

Constructors

Link copied to clipboard
constructor(provider: String, strategy: String, name: String)

Properties

Link copied to clipboard

The human-readable display name for the OAuth provider. This is used in user interfaces and error messages.

Link copied to clipboard

The internal provider identifier used by Clerk's backend services. This is typically a lowercase string that uniquely identifies the OAuth provider.

Link copied to clipboard

The OAuth strategy string used in Clerk API requests and responses. This follows the pattern "oauth_{provider}" (e.g., "oauth_google", "oauth_github").