- Retrieves user details from the Turnkey API using the provided userId and organizationId, or defaults to those from the active session.
- If no userId is provided, the userId from the current session is used.
- If no organizationId is provided, the organizationId from the current session is used.
- Optionally allows stamping the request with a specific stamper (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).
- Ensures that an active session exists before making the request.
Package: core
Defined in: clients/core.ts:3097
A promise that resolves to a
v1User object containing the user details.