UNPKG

@mindconnect/mindconnect-nodejs

Version:

NodeJS Library for Siemens Insights Hub Connectivity - TypeScript SDK for Insights Hub and Industrial IoT - Command Line Interface - Insights Hub Development Proxy (Siemens Insights Hub was formerly known as MindSphere)

20 lines (19 loc) 1.03 kB
import { SdkClient } from "../common/sdk-client"; import { AdvancedTokenExchangeModels } from "./advanced-token-models"; export declare class AdvancedTokenExchangeClient extends SdkClient { private _baseUrl; /** * * In order to access the ATE /token endpoint, extract the access token from the access_token field in the response * from the above Technical Token Manager request and send it as Bearer token in the Authorization header of HTTP requests. * The subject_token is provided through the technical token. * * @see https://developer.mindsphere.io/howto/howto-local-development.html#procedure * * @param {AdvancedTokenExchangeModels.AdvancedTokenExchangeRequest} request * @returns {Promise<AdvancedTokenExchangeModels.AdvancedTokenExchangeResponse>} * * @memberOf AdvancedTokenExchangeClient */ ExchangeToken(request: string | AdvancedTokenExchangeModels.AdvancedTokenExchangeRequest): Promise<AdvancedTokenExchangeModels.AdvancedTokenExchangeResponse>; }