@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
14 lines (13 loc) • 1.04 kB
TypeScript
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
import { AuthenticationResponseDtoV1 } from './dto/authentication-response.dto';
import { AuthenticateSsoRequestDtoV1, SsoRequestDtoV1 } from './dto/sso-request.dto';
import { Configuration, RefreshRequestDtoV1 } from './generated';
export declare class AuthApi {
private readonly authApi;
private readonly userDataMapper;
constructor(configuration?: Configuration | undefined, basePath?: string, axios?: AxiosInstance);
private mapGeneratedAuthenticationReponse;
refresh(refreshRequestDtoV1: RefreshRequestDtoV1, options?: AxiosRequestConfig<unknown> | undefined): Promise<AxiosResponse<AuthenticationResponseDtoV1>>;
sso(authenticateSsoRequestDtoV1: AuthenticateSsoRequestDtoV1, options?: AxiosRequestConfig<unknown> | undefined): Promise<AxiosResponse<AuthenticationResponseDtoV1>>;
ssoAnonymous(ssoRequestDtoV1: SsoRequestDtoV1, options?: AxiosRequestConfig<unknown> | undefined): Promise<AxiosResponse<AuthenticationResponseDtoV1>>;
}