UNPKG

@c8y/client

Version:

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

20 lines 642 B
import { IAuthentication, ICredentials } from './IAuthentication'; import { IFetchOptions } from './IFetchOptions'; /** * Allows to use Cookies for Authorization to the * Cumulocity API. */ export declare class CookieAuth implements IAuthentication { user: string; private logoutUrl; updateCredentials({ user }?: ICredentials): string; getFetchOptions(options: IFetchOptions): IFetchOptions; getCometdHandshake(config?: { ext?: object; }): { ext?: object; }; logout(): Promise<import("./IFetchResponse").IFetchResponse>; private getCookieValue; } //# sourceMappingURL=CookieAuth.d.ts.map