UNPKG

@studyportals/sp-hs-misc

Version:

Miscellaneous code used in HouseStark's projects

50 lines (44 loc) 2.14 kB
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * @deprecated Use @studyportals/client-internal-platform-sso */ //# sourceMappingURL=successful-authentication-result.class.js.map var SuccessfulAuthenticationResult = function () { function SuccessfulAuthenticationResult(userIdentifier, idToken, refreshToken, idTokenAvailabilityInMs, idTokenTimeOfCreation) { _classCallCheck(this, SuccessfulAuthenticationResult); this.__i_successful_authentication_result__ = true; this._userIdentifier = userIdentifier; this._idToken = idToken; this._refreshToken = refreshToken; this._idTokenAvailabilityInMs = idTokenAvailabilityInMs; this._idTokenTimeOfCreation = idTokenTimeOfCreation; } _createClass(SuccessfulAuthenticationResult, [{ key: "userIdentifier", get: function get() { return this._userIdentifier; } }, { key: "idToken", get: function get() { return this._idToken; } }, { key: "refreshToken", get: function get() { return this._refreshToken; } }, { key: "idTokenAvailabilityInMs", get: function get() { return this._idTokenAvailabilityInMs; } }, { key: "idTokenTimeOfCreation", get: function get() { return this._idTokenTimeOfCreation; } }]); return SuccessfulAuthenticationResult; }();