Skip to content

Conversation

@bochunz
Copy link
Contributor

@bochunz bochunz commented Aug 5, 2016

The revoke command revokes and deletes the tokens currently cached locally.
Example:
oauth2l revoke --json client_secret.json userinfo.email

The revoke command revokes and deletes the tokens currently cached locally.
@coveralls
Copy link

coveralls commented Aug 5, 2016

Coverage Status

Coverage increased (+0.03%) to 99.839% when pulling f682f18 on bochunz:revoketoken into afc56ef on google:master.

"""Revokes the access token created from the json secret."""
client_secrets, service_account_json_keyfile = _ProcessJsonArg(args)
scopes = _ExpandScopes(args.scope)
if not scopes:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we don't have a way to iterate through all tokens?

@bochunz bochunz closed this Aug 9, 2016
@bochunz bochunz deleted the revoketoken branch August 24, 2016 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants