UNPKG

@mercury-labs/auth

Version:

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

8 lines (7 loc) 350 B
import { Observable } from 'rxjs'; import { IAuthUserEntityForResponse, IRefreshTokenAuthResponse, TokenService } from '../../domain'; export declare class RefreshTokenController { private readonly _tokenService; constructor(_tokenService: TokenService); handle(user: IAuthUserEntityForResponse): Observable<IRefreshTokenAuthResponse>; }