cordova-plugin-auth-dialog icon indicating copy to clipboard operation
cordova-plugin-auth-dialog copied to clipboard

Logout/Clear cached credentials

Open iqmeta opened this issue 8 years ago • 6 comments

Hi, nice plugin! Is there any trick to clean the login programmatically from cache again (iOS)?

Kind regards.

iqmeta avatar Apr 12 '16 12:04 iqmeta

clear the keychain.

amitkumar3968 avatar Jun 16 '16 14:06 amitkumar3968

Same question. I want to force the credentials to be re-entered.

What do you mean by "clear the keychain"? How do you do that?

gfox1984 avatar Jul 18 '16 12:07 gfox1984

https://github.com/amitkumar3968/cordova-plugin-cache

amitkumar3968 avatar Jul 19 '16 04:07 amitkumar3968

Actually, there's an undocumented authDialog.logout() method in the plugin to do just that.

gfox1984 avatar Jul 20 '16 09:07 gfox1984

Any way to logout on Android?

gfox1984 avatar Jul 20 '16 12:07 gfox1984

Can you show me, where is auth.logout() method in js file for ios. for android, check https://github.com/amitkumar3968/cordova-plugin-cache

amitkumar3968 avatar Jul 21 '16 07:07 amitkumar3968