Authentication API.
- Source:
Methods
(static) authenticate()
- Source:
POST /api/auth
Creates a new, short-lived (2 weeks) authentication token for a user. The correct e-mail and password must be provided.
(static) canAuthenticate() → {boolean}
- Source:
Anyone can attempt to authenticate. Always returns true.
Returns:
- Type
- boolean