/*! * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file. */ import { Interceptor } from '@webex/http-core'; /** * @class LocusRouteTokenInterceptor */ export default class LocusRouteTokenInterceptor extends Interceptor { /** * @returns {LocusRouteTokenInterceptor} */ static create(): LocusRouteTokenInterceptor; getLocusIdByRequestUrl(url: string): string; getLocusIdByResponseBody(body: any): any; getHeader(headers: Record, name: string): string; /** * @param {Object} options * @param {HttpResponse} response * @returns {Promise} */ onResponse(options: any, response: any): Promise; /** * @param {Object} options * @returns {Promise} options */ onRequest(options: any): Promise; /** * Update the meeting route token * @param {string} locusId * @param {string} token * @returns {void} */ updateToken(locusId: any, token: any): void; /** * Get the meeting route token * @param {string} locusId * @returns {string|undefined} */ getToken(locusId: any): any; }