Performs authorization on server and caches it for consequent calls.
Performs authorization on server and caches it for consequent calls. If tokens is near to expire (under one minute) it will reauthorize with old settings but claim will have updated expiration and issuedAt fields.
side effect that evaluates to AuthResponse
Exposes function which performs authorization and caches it until token is near to expire.