Subject: | Need ability to force token refresh |
Currently, access tokens are refreshed based solely on the expires time in the token and the early refresh time in the LWP::Authen::OAuth2 object. I have a situation in which a remote server sometimes rejects an access token long before the expires time, and there seems to be no built-in way to force LWP::Authen::OAuth2 to refresh the token immediately.