clerk.verify_user_totp
ActiveTool of Vee3
Verify a time-based one-time password or backup code for a Clerk user. Backup codes are consumed when used. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Returns verified and code_type when successful. Cost = 5 tokens.
Parameters schema
{
"type": "object",
"title": "verify_clerk_user_totpArguments",
"required": [
"user_id",
"code"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "TOTP or backup code to verify."
},
"user_id": {
"type": "string",
"title": "User Id",
"description": "Clerk user id (user_...) to operate on."
},
"clerk_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Clerk Instance Id",
"default": null,
"description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries