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) 319 B
import { Observable } from 'rxjs'; import { IAuthResponse, IAuthUserEntityForResponse, TokenService } from '../../domain'; export declare class LoginController { private readonly _tokenService; constructor(_tokenService: TokenService); handle(user: IAuthUserEntityForResponse): Observable<IAuthResponse>; }