dcb-orange-mock/dist/controllers/auth.controller.d.ts
Mamadou Khoussa [028918 DSI/DAC/DIF/DS] 2e2724c7a6 fix it
2025-09-21 22:47:06 +00:00

19 lines
554 B
TypeScript

import { TokenService } from '../services/token.service';
export declare class AuthController {
private tokenService;
constructor(tokenService: TokenService);
generateToken(authHeader: string, grantType: string): {
error: string;
error_description: string;
token_type?: undefined;
access_token?: undefined;
expires_in?: undefined;
} | {
token_type: string;
access_token: string;
expires_in: number;
error?: undefined;
error_description?: undefined;
};
}