UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

21 lines 1.12 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ Object.defineProperty(exports, "__esModule", { value: true }); const HubInterface_1 = require("./HubInterface"); const IPermissionGrant_1 = require("../hubSession/objects/IPermissionGrant"); /** * A Class that does CRUD operations for storing items as Permissions in the Hub */ class Permissions extends HubInterface_1.default { constructor(hubInterfaceOptions) { hubInterfaceOptions.hubInterface = HubInterface_1.HubInterfaceType.Permissions; hubInterfaceOptions.context = IPermissionGrant_1.PERMISSION_GRANT_CONTEXT; hubInterfaceOptions.type = IPermissionGrant_1.PERMISSION_GRANT_TYPE; super(hubInterfaceOptions); } } exports.default = Permissions; //# sourceMappingURL=Permissions.js.map