@rxstack/security
Version:
RxStack Security Module
18 lines • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeyType = exports.SECRET_MANAGER = exports.REFRESH_TOKEN_MANAGER = exports.TOKEN_MANAGER = exports.TOKEN_ENCODER = exports.TOKEN_EXTRACTOR_REGISTRY = exports.PASSWORD_ENCODER_REGISTRY = exports.USER_PROVIDER_REGISTRY = exports.AUTH_PROVIDER_REGISTRY = void 0;
const injection_js_1 = require("injection-js");
exports.AUTH_PROVIDER_REGISTRY = new injection_js_1.InjectionToken('AUTH_PROVIDER_REGISTRY');
exports.USER_PROVIDER_REGISTRY = new injection_js_1.InjectionToken('USER_PROVIDER_REGISTRY');
exports.PASSWORD_ENCODER_REGISTRY = new injection_js_1.InjectionToken('PASSWORD_ENCODER_REGISTRY');
exports.TOKEN_EXTRACTOR_REGISTRY = new injection_js_1.InjectionToken('TOKEN_EXTRACTOR_REGISTRY');
exports.TOKEN_ENCODER = new injection_js_1.InjectionToken('TOKEN_ENCODER');
exports.TOKEN_MANAGER = new injection_js_1.InjectionToken('TOKEN_MANAGER');
exports.REFRESH_TOKEN_MANAGER = new injection_js_1.InjectionToken('REFRESH_TOKEN_MANAGER');
exports.SECRET_MANAGER = new injection_js_1.InjectionToken('SECRET_MANAGER');
var KeyType;
(function (KeyType) {
KeyType["PUBLIC_KEY"] = "public_key";
KeyType["PRIVATE_KEY"] = "private_key";
})(KeyType || (exports.KeyType = KeyType = {}));
//# sourceMappingURL=interfaces.js.map