@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) • 396 B
TypeScript
import { ICommandHandler } from '@nestjs/cqrs';
import { LogoutAction } from '../../../domain';
import { UserLogoutCommand } from '../user-logout.command';
export declare class UserLogoutCommandHandler implements ICommandHandler<UserLogoutCommand, void> {
protected readonly action: LogoutAction;
constructor(action: LogoutAction);
execute(query: UserLogoutCommand): Promise<void>;
}