import { HttpClient } from '@angular/common/http'; import { BaseService } from '../base-service'; import { ApiConfiguration } from '../api-configuration'; import { StrictHttpResponse } from '../strict-http-response'; import { Observable } from 'rxjs'; import { LoginRequest } from '../models/login-request'; import { LoginResponse } from '../models/login-response'; /** * Authentification operations */ export declare class AuthService extends BaseService { constructor(config: ApiConfiguration, http: HttpClient); /** * Path part for operation login */ static readonly LoginPath = "/auth/login"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `login()` instead. * * This method sends `application/json` and handles response body of type `application/json` */ login$Response(params?: { body?: LoginRequest; }): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `login$Response()` instead. * * This method sends `application/json` and handles response body of type `application/json` */ login(params?: { body?: LoginRequest; }): Observable; /** * Path part for operation logout */ static readonly LogoutPath = "/auth/logout"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `logout()` instead. * * This method doesn't expect any response body */ logout$Response(params?: {}): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `logout$Response()` instead. * * This method doesn't expect any response body */ logout(params?: {}): Observable; }