-
Notifications
You must be signed in to change notification settings - Fork 0
Invalidate or signout
Edward edited this page Apr 16, 2021
·
1 revision
Invalidate accessToken using accessToken and clientToken:
boolean invalidate = MojangAuth.invalidate("access token", "client token"); // true if succeed
Invalidate accessToken using login and password:
boolean signout = MojangAuth.signout("example@example.com", "password"); // true if succeed
Analogs: https://authserver.mojang.com/invalidate, https://authserver.mojang.com/signout