()
| 354 | } |
| 355 | |
| 356 | getCollectionsToken() { |
| 357 | if (this._collectionsToken) return this._collectionsToken; |
| 358 | |
| 359 | this._throwMissingApiSecret(); |
| 360 | |
| 361 | this._collectionsToken = JWTScopeToken(this.apiSecret as string, 'collections', '*', { |
| 362 | feedId: '*', |
| 363 | expireTokens: this.expireTokens, |
| 364 | }); |
| 365 | return this._collectionsToken; |
| 366 | } |
| 367 | |
| 368 | getAnalyticsToken() { |
| 369 | this._throwMissingApiSecret(); |
no test coverage detected