UNPKG

@mercury-labs/auth

Version:

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

6 lines (5 loc) 229 B
import { Observable } from 'rxjs'; import { IAuthUserEntity } from '..'; export declare abstract class AuthRepository<T = any> { abstract getAuthUserByUsername(username: string): Observable<IAuthUserEntity<T> | undefined>; }