@mercury-labs/nest-auth
Version:
Mercury framework auth library. It supports local auth, jwt with both bearer token and cookie, basic auth.
8 lines (7 loc) • 429 B
TypeScript
import { IAuthUserEntityForResponse, IRefreshTokenAuthResponse } from '../definitions';
export declare class AccessTokenGeneratedFromRefreshTokenEvent {
readonly currentRefreshToken: string;
readonly user: IAuthUserEntityForResponse;
readonly newToken: IRefreshTokenAuthResponse['token'];
constructor(currentRefreshToken: string, user: IAuthUserEntityForResponse, newToken: IRefreshTokenAuthResponse['token']);
}