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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -