UNPKG

@loopback/authorization

Version:

A LoopBack component for authorization support.

27 lines 1.17 kB
"use strict"; // Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved. // Node module: @loopback/authorization // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthorizationTags = exports.AuthorizationBindings = void 0; const core_1 = require("@loopback/core"); /** * Binding keys used by authorization component. */ var AuthorizationBindings; (function (AuthorizationBindings) { AuthorizationBindings.METADATA = core_1.BindingKey.create('authorization.operationMetadata'); AuthorizationBindings.COMPONENT = core_1.BindingKey.create(`${core_1.CoreBindings.COMPONENTS}.AuthorizationComponent`); })(AuthorizationBindings || (exports.AuthorizationBindings = AuthorizationBindings = {})); /** * Binding tags used by authorization component */ var AuthorizationTags; (function (AuthorizationTags) { /** * A tag for authorizers */ AuthorizationTags.AUTHORIZER = 'authorizer'; })(AuthorizationTags || (exports.AuthorizationTags = AuthorizationTags = {})); //# sourceMappingURL=keys.js.map