Utils
The module exposes several internal server utilities that are accessible through the #auth_utils
module:
sendEmail
- Enables the sending of email messages.handleError
- Facilitates the creation and throwing ofh3
errors, or redirects with theerror
parameter passed as a query.hashSync, compareSync
- Provides functions for hashing and verifying strings using thebcryptjs
package.encode, decode
- Offers functionality for signing and verifying JSON Web Tokens (JWT) using thejose
package.