Parameters
A customer token identifying the individual who is being logged in.
An array with one or multiple of the available resource keys.
Returns
This method returns aPromise that:
- On success, resolves to void.
- On failure, rejects with an error object.