@mercury-labs/nest-auth
Version:
Mercury framework auth library. It supports local auth, jwt with both bearer token and cookie, basic auth.
10 lines (9 loc) • 497 B
TypeScript
import { IAuthUserEntityForResponse } from '../definitions';
import { IJwtTokenResponse } from '../services';
export declare class UserLoggedInEvent<TRequestPayload = Record<string, any>> {
readonly user: IAuthUserEntityForResponse;
readonly isImpersonated: boolean;
readonly requestPayload: TRequestPayload;
readonly token: IJwtTokenResponse;
constructor(user: IAuthUserEntityForResponse, isImpersonated: boolean, requestPayload: TRequestPayload, token: IJwtTokenResponse);
}