UNPKG

@mercury-labs/nest-auth

Version:

Mercury framework auth library. It supports local auth, jwt with both bearer token and cookie, basic auth.

9 lines (8 loc) 504 B
import { ICommandHandler } from '@nestjs/cqrs'; import { IAuthUserEntityForResponse, LocalLoginAction } from '../../../domain'; import { LoginCommand } from '../login.command'; export declare class LoginCommandHandler implements ICommandHandler<LoginCommand, IAuthUserEntityForResponse> { protected readonly action: LocalLoginAction; constructor(action: LocalLoginAction); execute(query: LoginCommand): Promise<import("../../../domain").IAuthWithTokenResponse<IAuthUserEntityForResponse>>; }