Get an access token for the given user.
The client to get the endpoint from.
Data required to log in.
A promise that resolves with an access token for the given user.
Get an access token for the given user.