Authentication provider interface (used to authenticate requests)
Authenticates the request (e.g. adds authentication headers) request: The request to authenticate Note: This method should reject the promise if the request cannot be authenticated.
Called when the request fails with a 401 Unauthorized response request: The request that failed reason: The reason for the failure
Authentication provider interface (used to authenticate requests)