@kir-dev/passport-authsch
Version:
Passport.js Strategy for AuthSCH
32 lines • 1.61 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BmeUnitScope = exports.AuthSchScope = void 0;
var AuthSchScope;
(function (AuthSchScope) {
// OPENID = 'openid', This is required with AuthSCH v2, so the lib will provide it by default
AuthSchScope["PROFILE"] = "profile";
AuthSchScope["EMAIL"] = "email";
AuthSchScope["PHONE"] = "phone";
AuthSchScope["ADDRESS"] = "address";
// OFFLINE_ACCESS = 'offline_access' the lib currently doesn't support refresh tokens, so it's useless
AuthSchScope["ROLES"] = "roles";
AuthSchScope["EDU_ID"] = "bme.hu:eduPersonPrincipalName";
AuthSchScope["NEPTUN"] = "bme.hu:niifPersonOrgID";
AuthSchScope["ATTENDED_COURSES"] = "bme.hu:niifPersonAttendedCourse";
AuthSchScope["BME_STATUS"] = "meta.bme.hu:unitScope";
AuthSchScope["SCH_GROUPS"] = "directory.sch.bme.hu:groups";
AuthSchScope["SCHACC_ID"] = "directory.sch.bme.hu:sAMAccountName";
AuthSchScope["PEK_PROFILE"] = "pek.sch.bme.hu:profile";
})(AuthSchScope || (exports.AuthSchScope = AuthSchScope = {}));
var BmeUnitScope;
(function (BmeUnitScope) {
BmeUnitScope["BME"] = "BME";
BmeUnitScope["BME_NEWBIE"] = "BME_NEWBIE";
BmeUnitScope["BME_VIK"] = "BME_VIK";
BmeUnitScope["BME_VIK_ACTIVE"] = "BME_VIK_ACTIVE";
BmeUnitScope["BME_VIK_NEWBIE"] = "BME_VIK_NEWBIE";
BmeUnitScope["BME_VBK"] = "BME_VBK";
BmeUnitScope["BME_VBK_ACTIVE"] = "BME_VBK_ACTIVE";
BmeUnitScope["BME_VBK_NEWBIE"] = "BME_VBK_NEWBIE";
})(BmeUnitScope || (exports.BmeUnitScope = BmeUnitScope = {}));
//# sourceMappingURL=types.js.map