arkejs/ui
Authentication
The auth class provides useful methods to authenticate, and manage the security of the APIs through the JWT authentication.
Sign in
Verify & Refresh token
To validate our session you have to call the verify token API to check that session is still alive, otherwise it will be necessary call the refresh token API to generate new token.
Looks our guides to use Arke authentication through NextAuth.js