New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spinajs/rbac

Package Overview
Dependencies
Maintainers
1
Versions
302
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/rbac - npm Package Compare versions

Comparing version 2.0.180 to 2.0.181

0

lib/cjs/auth.d.ts

@@ -0,0 +0,0 @@ import { AuthProvider, IAuthenticationResult, PasswordProvider } from './interfaces.js';

4

lib/cjs/auth.js

@@ -92,2 +92,3 @@ "use strict";

};
exports.SimpleDbAuthProvider = SimpleDbAuthProvider;
__decorate([

@@ -101,6 +102,5 @@ (0, di_1.Autoinject)(di_1.Container),

], SimpleDbAuthProvider.prototype, "PasswordProvider", void 0);
SimpleDbAuthProvider = __decorate([
exports.SimpleDbAuthProvider = SimpleDbAuthProvider = __decorate([
(0, di_1.Injectable)(interfaces_js_1.AuthProvider)
], SimpleDbAuthProvider);
exports.SimpleDbAuthProvider = SimpleDbAuthProvider;
//# sourceMappingURL=auth.js.map

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -34,2 +34,3 @@ "use strict";

};
exports.ActivateUser = ActivateUser;
__decorate([

@@ -43,3 +44,3 @@ (0, log_1.Logger)('rbac'),

], ActivateUser.prototype, "Queue", void 0);
ActivateUser = __decorate([
exports.ActivateUser = ActivateUser = __decorate([
(0, cli_1.Command)('rbac:user-activate', 'Sets active or inactive user'),

@@ -49,3 +50,2 @@ (0, cli_1.Argument)('idOrUuid', 'numeric id or uuid'),

], ActivateUser);
exports.ActivateUser = ActivateUser;
//# sourceMappingURL=ActivateUser.js.map

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -49,2 +49,3 @@ "use strict";

};
exports.BanUser = BanUser;
__decorate([

@@ -58,3 +59,3 @@ (0, log_1.Logger)('rbac'),

], BanUser.prototype, "Queue", void 0);
BanUser = __decorate([
exports.BanUser = BanUser = __decorate([
(0, cli_1.Command)('rbac:user-ban', 'Sets active or inactive user'),

@@ -65,3 +66,2 @@ (0, cli_1.Argument)('idOrUuid', 'numeric id or uuid'),

], BanUser);
exports.BanUser = BanUser;
//# sourceMappingURL=BanUser.js.map

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -37,2 +37,3 @@ "use strict";

};
exports.ChangeUserPassword = ChangeUserPassword;
__decorate([

@@ -54,3 +55,3 @@ (0, log_1.Logger)('rbac'),

], ChangeUserPassword.prototype, "PasswordValidation", void 0);
ChangeUserPassword = __decorate([
exports.ChangeUserPassword = ChangeUserPassword = __decorate([
(0, cli_1.Command)('rbac:user-change-password', 'Sets active or inactive user'),

@@ -60,3 +61,2 @@ (0, cli_1.Argument)('idOrUuid', 'numeric id or uuid'),

], ChangeUserPassword);
exports.ChangeUserPassword = ChangeUserPassword;
//# sourceMappingURL=ChangeUserPassword.js.map

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -39,2 +39,3 @@ "use strict";

};
exports.ChangeUserPassword = ChangeUserPassword;
__decorate([

@@ -52,6 +53,5 @@ (0, log_1.Logger)('rbac'),

], ChangeUserPassword.prototype, "TimelineTTL", void 0);
ChangeUserPassword = __decorate([
exports.ChangeUserPassword = ChangeUserPassword = __decorate([
(0, cli_1.Command)('rbac:cleanup-schedule', 'Starts a schedule with cleanup tasks')
], ChangeUserPassword);
exports.ChangeUserPassword = ChangeUserPassword;
//# sourceMappingURL=ClearUserTimelineSchedule.js.map

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/queue';

@@ -50,2 +50,3 @@ "use strict";

};
exports.CreateUser = CreateUser;
__decorate([

@@ -63,3 +64,3 @@ (0, log_1.Logger)('rbac'),

], CreateUser.prototype, "Queue", void 0);
CreateUser = __decorate([
exports.CreateUser = CreateUser = __decorate([
(0, cli_1.Command)('rbas:user-create', 'Creates user with given credentials'),

@@ -71,3 +72,2 @@ (0, cli_1.Option)('-e, --email <email>', true, 'user email'),

], CreateUser);
exports.CreateUser = CreateUser;
//# sourceMappingURL=CreateUser.js.map

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -28,2 +28,3 @@ "use strict";

};
exports.DeleteUser = DeleteUser;
__decorate([

@@ -37,7 +38,6 @@ (0, log_1.Logger)('rbac'),

], DeleteUser.prototype, "Queue", void 0);
DeleteUser = __decorate([
exports.DeleteUser = DeleteUser = __decorate([
(0, cli_1.Command)('rbac:user-delete', 'Deletes user from database permanently'),
(0, cli_1.Argument)('idOrUuid', 'numeric id or uuid')
], DeleteUser);
exports.DeleteUser = DeleteUser;
//# sourceMappingURL=DeleteUser.js.map

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -34,2 +34,3 @@ "use strict";

};
exports.CreateUser = CreateUser;
__decorate([

@@ -39,3 +40,3 @@ (0, log_1.Logger)('rbac'),

], CreateUser.prototype, "Log", void 0);
CreateUser = __decorate([
exports.CreateUser = CreateUser = __decorate([
(0, cli_1.Command)('rbac:user-find', 'Sets active or inactive user'),

@@ -46,3 +47,2 @@ (0, cli_1.Option)('-i, --idOrUuid <idOrUuid>', false, 'numeric id or uuid'),

], CreateUser);
exports.CreateUser = CreateUser;
//# sourceMappingURL=FindUser.js.map

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -34,2 +34,3 @@ "use strict";

};
exports.GrantUserRole = GrantUserRole;
__decorate([

@@ -43,3 +44,3 @@ (0, log_1.Logger)('rbac'),

], GrantUserRole.prototype, "Queue", void 0);
GrantUserRole = __decorate([
exports.GrantUserRole = GrantUserRole = __decorate([
(0, cli_1.Command)('rbac:user-grant', 'Grants role to user'),

@@ -49,3 +50,2 @@ (0, cli_1.Argument)('idOrUuid', 'numeric id or uuid'),

], GrantUserRole);
exports.GrantUserRole = GrantUserRole;
//# sourceMappingURL=GrantUserRole.js.map

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -28,2 +28,3 @@ "use strict";

};
exports.LatestUserEvents = LatestUserEvents;
__decorate([

@@ -33,3 +34,3 @@ (0, log_1.Logger)('console'),

], LatestUserEvents.prototype, "Log", void 0);
LatestUserEvents = __decorate([
exports.LatestUserEvents = LatestUserEvents = __decorate([
(0, cli_1.Command)('rbac:user-events', 'Shows latest user timelinet events'),

@@ -39,3 +40,2 @@ (0, cli_1.Argument)('idOrUuid', 'numeric id or uuid'),

], LatestUserEvents);
exports.LatestUserEvents = LatestUserEvents;
//# sourceMappingURL=LatestUserEvents.js.map

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -33,2 +33,3 @@ "use strict";

};
exports.RevokeUserRole = RevokeUserRole;
__decorate([

@@ -42,3 +43,3 @@ (0, log_1.Logger)('rbac'),

], RevokeUserRole.prototype, "Queue", void 0);
RevokeUserRole = __decorate([
exports.RevokeUserRole = RevokeUserRole = __decorate([
(0, cli_1.Command)('rbac:user-revoke', 'Sets active or inactive user'),

@@ -48,3 +49,2 @@ (0, cli_1.Argument)('idOrUuid', 'numeric id or uuid'),

], RevokeUserRole);
exports.RevokeUserRole = RevokeUserRole;
//# sourceMappingURL=RevokeUserRole.js.map

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -39,2 +39,3 @@ "use strict";

};
exports.UnbanUserSchedule = UnbanUserSchedule;
__decorate([

@@ -52,6 +53,5 @@ (0, log_1.Logger)('rbac'),

], UnbanUserSchedule.prototype, "TimelineTTL", void 0);
UnbanUserSchedule = __decorate([
exports.UnbanUserSchedule = UnbanUserSchedule = __decorate([
(0, cli_1.Command)('rbac:unban-schedule', 'Starts a schedule that automatically unbabns users')
], UnbanUserSchedule);
exports.UnbanUserSchedule = UnbanUserSchedule;
//# sourceMappingURL=UnbanUserSchedule.js.map

@@ -0,0 +0,0 @@ declare const rbac: {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './NewUser.js';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -13,6 +13,6 @@ "use strict";

};
UserRegisteredMessage = __decorate([
exports.UserRegisteredMessage = UserRegisteredMessage;
exports.UserRegisteredMessage = UserRegisteredMessage = __decorate([
(0, queue_1.Event)()
], UserRegisteredMessage);
exports.UserRegisteredMessage = UserRegisteredMessage;
//# sourceMappingURL=NewUser.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserActivated = __decorate([
exports.UserActivated = UserActivated;
exports.UserActivated = UserActivated = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserActivated);
exports.UserActivated = UserActivated;
//# sourceMappingURL=UserActivated.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -21,7 +21,7 @@ "use strict";

};
UserBanned = __decorate([
exports.UserBanned = UserBanned;
exports.UserBanned = UserBanned = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String, Number])
], UserBanned);
exports.UserBanned = UserBanned;
//# sourceMappingURL=UserBanned.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserDeactivated = __decorate([
exports.UserDeactivated = UserDeactivated;
exports.UserDeactivated = UserDeactivated = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserDeactivated);
exports.UserDeactivated = UserDeactivated;
//# sourceMappingURL=UserDeactivated.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserDeleted = __decorate([
exports.UserDeleted = UserDeleted;
exports.UserDeleted = UserDeleted = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserDeleted);
exports.UserDeleted = UserDeleted;
//# sourceMappingURL=UserDeleted.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserMetadataAdded = __decorate([
exports.UserMetadataAdded = UserMetadataAdded;
exports.UserMetadataAdded = UserMetadataAdded = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserMetadataAdded);
exports.UserMetadataAdded = UserMetadataAdded;
//# sourceMappingURL=UserMetadataAdded.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserMetadataChanged = __decorate([
exports.UserMetadataChanged = UserMetadataChanged;
exports.UserMetadataChanged = UserMetadataChanged = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserMetadataChanged);
exports.UserMetadataChanged = UserMetadataChanged;
//# sourceMappingURL=UserMetadataChanged.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserMetadataDeleted = __decorate([
exports.UserMetadataDeleted = UserMetadataDeleted;
exports.UserMetadataDeleted = UserMetadataDeleted = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserMetadataDeleted);
exports.UserMetadataDeleted = UserMetadataDeleted;
//# sourceMappingURL=UserMetadataDeleted.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserPasswordChanged = __decorate([
exports.UserPasswordChanged = UserPasswordChanged;
exports.UserPasswordChanged = UserPasswordChanged = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserPasswordChanged);
exports.UserPasswordChanged = UserPasswordChanged;
//# sourceMappingURL=UserPasswordChanged.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -13,6 +13,6 @@ "use strict";

};
UserPropertyChanged = __decorate([
exports.UserPropertyChanged = UserPropertyChanged;
exports.UserPropertyChanged = UserPropertyChanged = __decorate([
(0, queue_1.Event)()
], UserPropertyChanged);
exports.UserPropertyChanged = UserPropertyChanged;
//# sourceMappingURL=UserPropertyChanged.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -21,7 +21,7 @@ "use strict";

};
UserRoleGranted = __decorate([
exports.UserRoleGranted = UserRoleGranted;
exports.UserRoleGranted = UserRoleGranted = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String, String])
], UserRoleGranted);
exports.UserRoleGranted = UserRoleGranted;
//# sourceMappingURL=UserRoleGranted.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -21,7 +21,7 @@ "use strict";

};
UserRoleRevoked = __decorate([
exports.UserRoleRevoked = UserRoleRevoked;
exports.UserRoleRevoked = UserRoleRevoked = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String, String])
], UserRoleRevoked);
exports.UserRoleRevoked = UserRoleRevoked;
//# sourceMappingURL=UserRoleRevoked.js.map

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -20,7 +20,7 @@ "use strict";

};
UserUnbanned = __decorate([
exports.UserUnbanned = UserUnbanned;
exports.UserUnbanned = UserUnbanned = __decorate([
(0, queue_1.Event)(),
__metadata("design:paramtypes", [String])
], UserUnbanned);
exports.UserUnbanned = UserUnbanned;
//# sourceMappingURL=UserUnbanned.js.map

@@ -0,0 +0,0 @@ import ac from 'accesscontrol';

@@ -82,6 +82,6 @@ "use strict";

};
RbacBootstrapper = __decorate([
exports.RbacBootstrapper = RbacBootstrapper;
exports.RbacBootstrapper = RbacBootstrapper = __decorate([
(0, di_1.Injectable)(di_1.Bootstrapper)
], RbacBootstrapper);
exports.RbacBootstrapper = RbacBootstrapper;
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ import { User } from './models/User.js';

@@ -39,3 +39,3 @@ "use strict";

AthenticationErrorCodes["E_LOGIN_ATTEMPTS_EXCEEDED"] = "E_LOGIN_ATTEMPTS_EXCEEDED";
})(AthenticationErrorCodes = exports.AthenticationErrorCodes || (exports.AthenticationErrorCodes = {}));
})(AthenticationErrorCodes || (exports.AthenticationErrorCodes = AthenticationErrorCodes = {}));
/**

@@ -42,0 +42,0 @@ * Interface to provide implementation of password rule validation

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -31,2 +31,3 @@ "use strict";

};
exports.UnbanUser = UnbanUser;
__decorate([

@@ -40,7 +41,6 @@ (0, log_1.Logger)('rbac'),

], UnbanUser.prototype, "Queue", void 0);
UnbanUser = __decorate([
exports.UnbanUser = UnbanUser = __decorate([
(0, queue_1.Job)(),
__metadata("design:paramtypes", [String])
], UnbanUser);
exports.UnbanUser = UnbanUser;
//# sourceMappingURL=UnbanUser.js.map

@@ -0,0 +0,0 @@ import { QueryBuilder, QueryMiddleware } from '@spinajs/orm';

@@ -21,6 +21,6 @@ "use strict";

};
RbacModelPermissionMiddleware = __decorate([
exports.RbacModelPermissionMiddleware = RbacModelPermissionMiddleware;
exports.RbacModelPermissionMiddleware = RbacModelPermissionMiddleware = __decorate([
(0, di_1.Injectable)(orm_1.QueryMiddleware)
], RbacModelPermissionMiddleware);
exports.RbacModelPermissionMiddleware = RbacModelPermissionMiddleware;
//# sourceMappingURL=middleware.js.map

@@ -0,0 +0,0 @@ import { OrmMigration, OrmDriver } from '@spinajs/orm';

@@ -53,6 +53,6 @@ "use strict";

};
RBACInitial_2022_06_28_01_13_00 = __decorate([
exports.RBACInitial_2022_06_28_01_13_00 = RBACInitial_2022_06_28_01_13_00;
exports.RBACInitial_2022_06_28_01_13_00 = RBACInitial_2022_06_28_01_13_00 = __decorate([
(0, orm_1.Migration)('default')
], RBACInitial_2022_06_28_01_13_00);
exports.RBACInitial_2022_06_28_01_13_00 = RBACInitial_2022_06_28_01_13_00;
//# sourceMappingURL=RBACInitial_2022_06_28_01_13_00.js.map

@@ -0,0 +0,0 @@ import { DateTime } from 'luxon';

@@ -190,2 +190,3 @@ "use strict";

};
exports.User = User;
User._queryScopes = new UserQueryScopes();

@@ -226,7 +227,6 @@ __decorate([

], User.prototype, "Actions", void 0);
User = __decorate([
exports.User = User = __decorate([
(0, orm_1.Connection)('default'),
(0, orm_1.Model)('users')
], User);
exports.User = User;
//# sourceMappingURL=User.js.map

@@ -0,0 +0,0 @@ import { ModelBase, SingleRelation } from '@spinajs/orm';

@@ -16,2 +16,3 @@ "use strict";

};
exports.UserMetadata = UserMetadata;
__decorate([

@@ -29,7 +30,6 @@ (0, orm_1.Primary)(),

], UserMetadata.prototype, "User", void 0);
UserMetadata = __decorate([
exports.UserMetadata = UserMetadata = __decorate([
(0, orm_1.Connection)('default'),
(0, orm_1.Model)('users_metadata')
], UserMetadata);
exports.UserMetadata = UserMetadata;
//# sourceMappingURL=UserMetadata.js.map

@@ -0,0 +0,0 @@ import { ModelBase, SingleRelation } from '@spinajs/orm';

@@ -30,2 +30,3 @@ "use strict";

};
exports.UserAction = UserAction;
__decorate([

@@ -43,7 +44,6 @@ (0, orm_1.Primary)(),

], UserAction.prototype, "CreatedAt", void 0);
UserAction = __decorate([
exports.UserAction = UserAction = __decorate([
(0, orm_1.Connection)('default'),
(0, orm_1.Model)('user_actions')
], UserAction);
exports.UserAction = UserAction;
//# sourceMappingURL=UserTimeline.js.map

@@ -0,0 +0,0 @@ import { PasswordProvider, PasswordValidationProvider } from './interfaces.js';

@@ -67,6 +67,6 @@ "use strict";

};
BasicPasswordProvider = __decorate([
exports.BasicPasswordProvider = BasicPasswordProvider;
exports.BasicPasswordProvider = BasicPasswordProvider = __decorate([
(0, di_1.Injectable)(interfaces_js_1.PasswordProvider)
], BasicPasswordProvider);
exports.BasicPasswordProvider = BasicPasswordProvider;
/**

@@ -81,2 +81,3 @@ * Simple password validation service based on JSON schema validation

};
exports.BasicPasswordValidationProvider = BasicPasswordValidationProvider;
__decorate([

@@ -90,6 +91,5 @@ (0, configuration_1.Config)('rbac.password.validation.rule'),

], BasicPasswordValidationProvider.prototype, "Validator", void 0);
BasicPasswordValidationProvider = __decorate([
exports.BasicPasswordValidationProvider = BasicPasswordValidationProvider = __decorate([
(0, di_1.Injectable)(interfaces_js_1.PasswordValidationProvider)
], BasicPasswordValidationProvider);
exports.BasicPasswordValidationProvider = BasicPasswordValidationProvider;
//# sourceMappingURL=password.js.map

@@ -0,0 +0,0 @@ import { DateTime } from 'luxon';

@@ -47,2 +47,3 @@ "use strict";

};
exports.Session = Session;
__decorate([

@@ -52,7 +53,6 @@ (0, configuration_1.Config)('rbac.session.expiration'),

], Session.prototype, "SessionExpirationTime", void 0);
Session = __decorate([
exports.Session = Session = __decorate([
(0, di_1.NewInstance)(),
__metadata("design:paramtypes", [Object])
], Session);
exports.Session = Session;
/**

@@ -99,6 +99,6 @@ * Simple session storage in memory, for testing or rapid prototyping

};
MemorySessionStore = __decorate([
exports.MemorySessionStore = MemorySessionStore;
exports.MemorySessionStore = MemorySessionStore = __decorate([
(0, di_1.Injectable)(interfaces_js_1.SessionProvider)
], MemorySessionStore);
exports.MemorySessionStore = MemorySessionStore;
//# sourceMappingURL=session.js.map

@@ -0,0 +0,0 @@ import { AuthProvider, IAuthenticationResult, PasswordProvider } from './interfaces.js';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueService } from '@spinajs/Queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ declare const rbac: {

@@ -0,0 +0,0 @@ import { join, normalize, resolve } from 'path';

@@ -0,0 +0,0 @@ import { extractDecoratorDescriptor } from '@spinajs/orm';

@@ -0,0 +0,0 @@ export * from './NewUser.js';

@@ -0,0 +0,0 @@ export * from './NewUser.js';

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueueEvent } from '@spinajs/queue';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import ac from 'accesscontrol';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { User } from './models/User.js';

@@ -32,3 +32,3 @@ import { AsyncService } from '@spinajs/di';

AthenticationErrorCodes["E_LOGIN_ATTEMPTS_EXCEEDED"] = "E_LOGIN_ATTEMPTS_EXCEEDED";
})(AthenticationErrorCodes = AthenticationErrorCodes || (AthenticationErrorCodes = {}));
})(AthenticationErrorCodes || (AthenticationErrorCodes = {}));
/**

@@ -35,0 +35,0 @@ * Interface to provide implementation of password rule validation

@@ -0,0 +0,0 @@ import { Log } from '@spinajs/log';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { QueryBuilder, QueryMiddleware } from '@spinajs/orm';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { OrmMigration, OrmDriver } from '@spinajs/orm';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { DateTime } from 'luxon';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { ModelBase, SingleRelation } from '@spinajs/orm';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { ModelBase, SingleRelation } from '@spinajs/orm';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { PasswordProvider, PasswordValidationProvider } from './interfaces.js';

@@ -0,0 +0,0 @@ // tslint:disable-next-line: no-var-requires

@@ -0,0 +0,0 @@ import { DateTime } from 'luxon';

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

{
"name": "@spinajs/rbac",
"version": "2.0.180",
"version": "2.0.181",
"description": "Role and Attribute based Access Control for SpinaJS framework",

@@ -53,10 +53,10 @@

"dependencies": {
"@spinajs/configuration": "^2.0.180",
"@spinajs/di": "^2.0.180",
"@spinajs/exceptions": "^2.0.180",
"@spinajs/log": "^2.0.180",
"@spinajs/orm": "^2.0.180",
"@spinajs/reflection": "^2.0.180",
"@spinajs/queue": "^2.0.180",
"@spinajs/validation": "^2.0.180",
"@spinajs/configuration": "^2.0.181",
"@spinajs/di": "^2.0.181",
"@spinajs/exceptions": "^2.0.181",
"@spinajs/log": "^2.0.181",
"@spinajs/orm": "^2.0.181",
"@spinajs/reflection": "^2.0.181",
"@spinajs/queue": "^2.0.181",
"@spinajs/validation": "^2.0.181",
"accesscontrol": "^2.2.1",

@@ -71,3 +71,3 @@ "argon2": "^0.30.3",

"devDependencies": {
"@spinajs/orm-sqlite": "^2.0.180",
"@spinajs/orm-sqlite": "^2.0.181",
"@types/cron": "^2.0.0",

@@ -74,0 +74,0 @@ "@types/entropy-string": "^4.2.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc