API Reference
Rockets Core API
nestjs-auth-local
classes
AuthLocalValidateUserService

Class: AuthLocalValidateUserService

Extends

Implements

Constructors

new AuthLocalValidateUserService()

new AuthLocalValidateUserService(userLookupService, passwordValidationService): AuthLocalValidateUserService

Parameters

ParameterType
userLookupServiceAuthLocalUserLookupServiceInterface
passwordValidationServicePasswordValidationServiceInterface

Returns

AuthLocalValidateUserService

Overrides

ValidateUserService.constructor

Defined in

packages/nestjs-auth-local/src/services/auth-local-validate-user.service.ts:18 (opens in a new tab)

Properties

PropertyModifierType
passwordValidationServicereadonlyPasswordValidationServiceInterface
userLookupServicereadonlyAuthLocalUserLookupServiceInterface

Methods

isActive()

isActive(user): Promise<boolean>

Returns true if user is considered valid for authentication purposes.

Parameters

ParameterType
userReferenceIdInterface<string> & ReferenceActiveInterface<boolean>

Returns

Promise<boolean>

Implementation of

AuthLocalValidateUserServiceInterface.isActive

Inherited from

ValidateUserService.isActive

Defined in

packages/nestjs-authentication/dist/services/validate-user.service.d.ts:5


validateUser()

validateUser(dto): Promise<ReferenceIdInterface<string>>

Returns true if user is considered valid for authentication purposes.

Parameters

ParameterType
dtoAuthLocalValidateUserInterface

Returns

Promise<ReferenceIdInterface<string>>

Implementation of

AuthLocalValidateUserServiceInterface.validateUser

Overrides

ValidateUserService.validateUser

Defined in

packages/nestjs-auth-local/src/services/auth-local-validate-user.service.ts:30 (opens in a new tab)