UNPKG

@c8y/client

Version:

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

20 lines 674 B
import { IAuthentication, ICredentials } from './IAuthentication.js'; import { IFetchOptions } from './IFetchOptions.js'; /** * 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(options?: IFetchOptions): Promise<import("./IFetchResponse.js").IFetchResponse>; private getCookieValue; } //# sourceMappingURL=CookieAuth.d.ts.map