demo增加统一登出

This commit is contained in:
zlt2000
2021-11-13 10:06:47 +08:00
parent 829394eb9d
commit 20854be6b9
9 changed files with 109 additions and 50 deletions
@@ -12,6 +12,10 @@ function getLogoutUri(accessToken) {
return uaaUri+'remove/token?redirect_uri=http://127.0.0.1:8081/index.html&access_token='+accessToken;
}
function getUserInfo(accessToken) {
return 'http://127.0.0.1:8081/user?access_token='+accessToken;
}
function getState() {
let state='';
for (let i = 0; i < 6; i++) {