@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) • 387 B
TypeScript
import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common';
import { CommandBus } from '@nestjs/cqrs';
import { Observable } from 'rxjs';
export declare class UserLogoutInterceptor implements NestInterceptor {
protected readonly _bus: CommandBus;
constructor(_bus: CommandBus);
intercept(context: ExecutionContext, next: CallHandler): Observable<any>;
}