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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -