Interface: VerificationToken
adapters.VerificationToken
A verification token is a temporary token that is used to sign in a user via their email address. It is created when a user signs in with an Email provider. When the user clicks the link in the email, the token and email is sent back to the server where it is hashed and compared to the value in the database. If the tokens and emails match, and the token hasn't expired yet, the user is signed in. The token is then deleted from the database.
Properties​
expires​
• expires: Date
The absolute date when the token expires.
identifier​
• identifier: string
The user's email address.
token​
• token: string
A hashed token, using the AuthConfig.secret
value.