API Reference
Rockets Core API
nestjs-user
classes
UserAccessQueryService

Class: UserAccessQueryService

Implements

Constructors

new UserAccessQueryService()

new UserAccessQueryService(): UserAccessQueryService

Returns

UserAccessQueryService

Methods

canAccess()

canAccess(context): Promise<boolean>

Parameters

ParameterType
contextAccessControlContext

Returns

Promise<boolean>

Implementation of

CanAccess.canAccess

Defined in

.tmp/repos/rockets/packages/nestjs-user/src/services/user-access-query.service.ts:14 (opens in a new tab)


canUpdatePassword()

protected canUpdatePassword(context): Promise<boolean>

Parameters

ParameterType
contextAccessControlContext

Returns

Promise<boolean>

Defined in

.tmp/repos/rockets/packages/nestjs-user/src/services/user-access-query.service.ts:18 (opens in a new tab)