UNPKG

@studyportals/sp-hs-misc

Version:

Miscellaneous code used in HouseStark's projects

26 lines (20 loc) 1.3 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=failed-authentication-result.class.js.map var FailedAuthenticationResult = function () { function FailedAuthenticationResult(reason) { _classCallCheck(this, FailedAuthenticationResult); this.__i_failed_authentication_result__ = true; this._reason = reason; } _createClass(FailedAuthenticationResult, [{ key: "reason", get: function get() { return this._reason; } }]); return FailedAuthenticationResult; }();