UNPKG

@c8y/client

Version:

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

16 lines 586 B
import { IAuthentication, ICredentials } from './IAuthentication.js'; import { IFetchOptions } from './IFetchOptions.js'; export declare class BearerAuth implements IAuthentication { private logoutUrl; constructor(token?: string); getFetchOptions(options: IFetchOptions): IFetchOptions; updateCredentials({ token }: ICredentials): undefined; getCometdHandshake(config?: { ext?: any; }): { ext?: any; }; logout(options?: IFetchOptions): Promise<any>; protected getToken(): string | undefined; } //# sourceMappingURL=BearerAuth.d.ts.map