UNPKG

@c8y/client

Version:

Client application programming interface to access the Cumulocity IoT-Platform REST services.

24 lines 666 B
import { IFetchOptions } from './IFetchOptions'; /** * Used for header based Authentication. */ export interface IAuthentication { updateCredentials(credentials: ICredentials): string | undefined; getFetchOptions(options?: IFetchOptions): IFetchOptions; getCometdHandshake(config?: object): object; logout(): any; } export interface ICredentials { tenant?: string; user?: string; password?: string; token?: string; tfa?: string; [key: string]: any; } export interface IMicroserviceClientRequestHeaders { cookie?: string; authorization?: string; [key: string]: any; } //# sourceMappingURL=IAuthentication.d.ts.map