UNPKG

livekit-server-sdk

Version:
17 lines 499 B
import { SIPGrant, VideoGrant } from './grants.js'; /** * Utilities to handle authentication */ export default class ServiceBase { private readonly apiKey?; private readonly secret?; private readonly ttl; /** * @param apiKey API Key. * @param secret API Secret. * @param ttl token TTL */ constructor(apiKey?: string, secret?: string, ttl?: string); authHeader(grant: VideoGrant, sip?: SIPGrant): Promise<any>; } //# sourceMappingURL=ServiceBase.d.ts.map