@azure/communication-common
Version:
Common package for Azure Communication services.
18 lines • 378 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/**
* StaticTokenCredential
*/
export class StaticTokenCredential {
token;
constructor(token) {
this.token = token;
}
async getToken() {
return this.token;
}
dispose() {
/* intentionally empty */
}
}
//# sourceMappingURL=staticTokenCredential.js.map