accounts.createAuthorizationLink
Generate an authorization link for registered Ryft accounts to enable secure access and redirect users to specified URLs after authentication.
Instructions
Create a Ryft account authorization link for a registered account email.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| redirectUrl | Yes |
Implementation Reference
- src/tools/accounts.ts:107-112 (handler)The registration and handler implementation for the 'accounts.createAuthorizationLink' tool.
registerTool( 'accounts.createAuthorizationLink', 'Create a Ryft account authorization link for a registered account email.', createAccountAuthorizationSchema.shape, async (args) => client.post('/accounts/authorize', createAccountAuthorizationSchema.parse(args)), ); - src/tools/accounts.ts:66-69 (schema)Input validation schema for 'accounts.createAuthorizationLink'.
const createAccountAuthorizationSchema = z.object({ email: z.string().email(), redirectUrl: z.string().url(), });