Remove Google Drive Web Auth token javascript -


i have set web authentication google drive api. used tutorial here, , can upload , download files. cannot, though, find reference in api how revoke authentication (i want give users option). found on : gapi.auth.signout() not remove auth, nor give error in console. there not gapi.auth method remove token?

to revoke token, can make rest call :

https://accounts.google.com/o/oauth2/revoke

and includes token parameter:

curl https://accounts.google.com/o/oauth2/revoke?token={token}

google reference


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -