Authenticates user with credentials and returns JWT token with role.
login
Authentication failed, invalid credentials, or malformed response
Process:
User's login username
User's login password
JWT token and user role
Authenticates user with credentials and returns JWT token with role.
Async
Function
login
Throws
Authentication failed, invalid credentials, or malformed response
Process: