@better-auth-ui/core
Version:
Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.
17 lines (16 loc) • 759 B
TypeScript
/**
* Mutation keys contributed by the device-authorization plugin.
*
* All keys live under the shared `["auth"]` namespace so global auth
* mutation observers handle errors consistently.
*/
export declare const deviceAuthorizationMutationKeys: {
/** Prefix matching every device-authorization mutation. */
readonly all: readonly ["auth", "deviceAuthorization"];
/** Key for verifying and claiming a user code. */
readonly verify: readonly ["auth", "deviceAuthorization", "verify"];
/** Key for approving a pending device request. */
readonly approve: readonly ["auth", "deviceAuthorization", "approve"];
/** Key for denying a pending device request. */
readonly deny: readonly ["auth", "deviceAuthorization", "deny"];
};