Parameters
| Parameter | Type | Description |
|---|---|---|
options? | { idempotencyKey?: string; } | Optional options for the authentication. |
options.idempotencyKey? | string | Optional idempotency key for safe retries. Important: Before using this function, you must: 1. Configure custom auth in the CDP Portal (JWKS endpoint, issuer, etc.) 2. Provide a customAuth.getJwt callback in your config to handle JWT refresh |
Returns
Promise<AuthenticateWithJWTResult>
The authentication result with user and wallet information