@signalwire/js
Version:
25 lines • 846 B
TypeScript
import { JSONRPCRequest, JSONRPCResponse } from '@signalwire/core';
import { JWTSession } from '../JWTSession';
import { SATSessionOptions } from './interfaces';
/**
* SAT Session is for the Call Fabric SDK
*/
export declare class SATSession extends JWTSession {
options: SATSessionOptions;
connectVersion: {
major: number;
minor: number;
revision: number;
};
constructor(options: SATSessionOptions);
get signature(): string | undefined;
_checkTokenExpiration(): Promise<void>;
/**
* Reauthenticate with the SignalWire Network using a newer SAT.
* If the session has expired, this will reconnect it.
* @return Promise<void>
*/
reauthenticate(): Promise<void>;
execute(msg: JSONRPCRequest | JSONRPCResponse): Promise<any>;
}
//# sourceMappingURL=SATSession.d.ts.map