UNPKG

@marxlnfcs/wildduck-api

Version:

Provides a client to interact with the wildduck api

11 lines (10 loc) 1.02 kB
import { WildduckClientComponent } from "../../client-component"; import { IWildduckApiAuthenticateRequest, IWildduckApiAuthenticateResponse, IWildduckApiGetAuthlogEventResponse, IWildduckApiGetAuthlogResponse, IWildduckApiSuccessResponse } from "../../client-schema"; import { IWildduckApiGetAuthlogOptions, IWildduckApiPreCheckAuthRequest, IWildduckApiPreCheckAuthResponse } from "./authentication.interface"; export declare class WildduckAuthenticationService extends WildduckClientComponent { deleteAuthenticationToken(): Promise<IWildduckApiSuccessResponse>; createAuthenticationToken(dto: IWildduckApiAuthenticateRequest): Promise<IWildduckApiAuthenticateResponse>; preAuthCheck(dto: IWildduckApiPreCheckAuthRequest): Promise<IWildduckApiPreCheckAuthResponse>; getAuthenticationEvents(user: string, options?: Partial<IWildduckApiGetAuthlogOptions>): Promise<IWildduckApiGetAuthlogResponse>; getAuthenticationEvent(user: string, event: string): Promise<IWildduckApiGetAuthlogEventResponse>; }