How to use the loopback4-authorization.AuthorizationBindings.USER_PERMISSIONS function in loopback4-authorization

To help you get started, we’ve selected a few loopback4-authorization examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sourcefuse / loopback4-starter / src / modules / auth / login.controller.ts View on Github external
    private readonly client: AuthClient | undefined,
    private readonly user: AuthUser | undefined,
    private readonly getUserPermissions: UserPermissionsFn,
    public authClientRepository: AuthClientRepository,
    public userRepo: UserRepository,
    public userTenantRepo: UserTenantRepository,
    public utPermsRepo: UserTenantPermissionRepository,
    public refreshTokenRepo: RefreshTokenRepository,
  ) {}
  // sonarignore_end