UNPKG

@c8y/client

Version:

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

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