remove old code from token service

This commit is contained in:
Kyle Spearrin 2017-01-28 16:48:23 -05:00
parent afc380a81c
commit cf7e7a04da
1 changed files with 0 additions and 14 deletions

View File

@ -194,20 +194,6 @@ function initTokenService() {
return sRemaining < (60 * minutes);
};
TokenService.prototype.isTwoFactorScheme = function () {
return this.getScheme() !== 'Application';
};
TokenService.prototype.getScheme = function () {
var decoded = this.decodeToken();
if (typeof decoded.amr === 'undefined' || !decoded.amr.length) {
throw 'No scheme found';
}
return decoded.amr[0];
};
TokenService.prototype.getUserId = function () {
var decoded = this.decodeToken();