nhost.auth.createPAT
to create a personal access token for the user.
Parameters
expiresAt required
Date
Expiration date for the token
metadata optional
Record<string, string | number>
Optional metadata to store with the token
nhost.auth.createPAT
to create a personal access token for the user.
Date
Expiration date for the token
Record<string, string | number>
Optional metadata to store with the token