14 lines
320 B
TypeScript
14 lines
320 B
TypeScript
import { AuthService } from './auth.service';
|
|
export declare class AuthController {
|
|
private readonly authService;
|
|
constructor(authService: AuthService);
|
|
login(body: {
|
|
password: string;
|
|
}): Promise<{
|
|
accessToken: string;
|
|
}>;
|
|
logout(): Promise<{
|
|
success: boolean;
|
|
}>;
|
|
}
|