java - Instantiate new OAuth 2.0 Credentials using stored tokens from another way -


i'm working google calendar api java on server side. have token & refresh token client side , store database.

so how can instantiate new oauth 2.0 credentials using these stored tokens calling google calendar java api?

thank in advance.

it's stated in detecting expired access token once token detected no longer valid (ie. expired or revoked), must remove access token storage.

likewise, stated in oauth 2.0 authorization framework under refreshing access token that:

the authorization server may issue new refresh token, in case client must discard old refresh token , replace new refresh token. authorization server may revoke old refresh token after issuing new refresh token client. if new refresh token issued, refresh token scope must identical of refresh token included client in request.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -