{"version":3,"sources":["src/common.speech/IAuthentication.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC5B,KAAK,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnD,aAAa,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC9D;AAED,qBAAa,QAAQ;IACjB,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,SAAS,CAAS;gBAEP,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;aAKzC,UAAU,EAAI,MAAM;aAIpB,KAAK,EAAI,MAAM;CAG7B","file":"IAuthentication.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { Promise } from \"../common/Exports\";\n\nexport interface IAuthentication {\n    fetch(authFetchEventId: string): Promise<AuthInfo>;\n    fetchOnExpiry(authFetchEventId: string): Promise<AuthInfo>;\n}\n\nexport class AuthInfo {\n    private privHeaderName: string;\n    private privToken: string;\n\n    public constructor(headerName: string, token: string) {\n        this.privHeaderName = headerName;\n        this.privToken = token;\n    }\n\n    public get headerName(): string {\n        return this.privHeaderName;\n    }\n\n    public get token(): string {\n        return this.privToken;\n    }\n}\n"]}