()
| 366 | } |
| 367 | |
| 368 | getAnalyticsToken() { |
| 369 | this._throwMissingApiSecret(); |
| 370 | |
| 371 | return JWTScopeToken(this.apiSecret as string, 'analytics', '*', { |
| 372 | userId: '*', |
| 373 | expireTokens: this.expireTokens, |
| 374 | }); |
| 375 | } |
| 376 | |
| 377 | getBaseUrl(serviceName?: string) { |
| 378 | if (!serviceName) serviceName = 'api'; |
no test coverage detected