Mutations
denyDeviceOptions
Deny a verified device authorization request.
Requires deviceAuthorizationClient() from better-auth/client/plugins. Call this mutation after the current session has verified and claimed the user code.
Options factory
import { denyDeviceOptions } from "@better-auth-ui/solid"
import { createMutation } from "@tanstack/solid-query"
const denyDevice = createMutation(() => denyDeviceOptions(authClient))
denyDevice.mutate({
userCode: "ABCD1234"
})Params
Prop
Type
Last updated on