oauthProviderMutationKeys (oauth-provider/oauth-provider-mutation-keys.ts)

better-auth-ui · packages/core/src/plugins/oauth-provider/oauth-provider-mutation-keys.ts · typescript · MIT
auth

* Mutation keys contributed by the OAuth provider plugin. All keys live under the shared `["auth"]` namespace so global auth mutation observers handle errors consistently. /

// Source: https://github.com/better-auth-ui/better-auth-ui | License: MIT | Copyright 2025 daveycodez
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Mutation keys contributed by the OAuth provider plugin.
 *
 * All keys live under the shared `["auth"]` namespace so global auth
 * mutation observers handle errors consistently.
 */
export const oauthProviderMutationKeys = {
  /** Prefix matching every OAuth provider mutation. */
  all: ["auth", "oauthProvider"] as const,
  /** Key for accepting or denying an OAuth authorization request. */
  consent: ["auth", "oauthProvider", "consent"] as const,
  /** Key for resuming a signed authorization request after a redirect screen. */
  continue: ["auth", "oauthProvider", "continue"] as const,
  /** Key for deleting a store

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key