@studyportals/sp-hs-misc
Version:
Miscellaneous code used in HouseStark's projects
38 lines • 1.26 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SuccessfulAuthenticationResult = void 0;
/**
* @deprecated Use @studyportals/client-internal-platform-sso
*/
class SuccessfulAuthenticationResult {
__i_successful_authentication_result__ = true;
_userIdentifier;
_idToken;
_refreshToken;
_idTokenAvailabilityInMs;
_idTokenTimeOfCreation;
constructor(userIdentifier, idToken, refreshToken, idTokenAvailabilityInMs, idTokenTimeOfCreation) {
this._userIdentifier = userIdentifier;
this._idToken = idToken;
this._refreshToken = refreshToken;
this._idTokenAvailabilityInMs = idTokenAvailabilityInMs;
this._idTokenTimeOfCreation = idTokenTimeOfCreation;
}
get userIdentifier() {
return this._userIdentifier;
}
get idToken() {
return this._idToken;
}
get refreshToken() {
return this._refreshToken;
}
get idTokenAvailabilityInMs() {
return this._idTokenAvailabilityInMs;
}
get idTokenTimeOfCreation() {
return this._idTokenTimeOfCreation;
}
}
exports.SuccessfulAuthenticationResult = SuccessfulAuthenticationResult;
//# sourceMappingURL=successful-authentication-result.class.js.map