decord/alpha/source/utils/AuthenticationUtils.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

30 lines
822 B
TypeScript

// Module ID: 7254
// Function ID: 7255
// Name: AuthenticationUtils
// Dependencies: [1100, 7255, 2]
// Exports: getArtForPath, getToken, isAuthenticated
// Module 7254 (AuthenticationUtils)
import TokenManagerAll from "TokenManager" /* 1100 */;
import _mod7255 from "module_7255" /* 7255 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("utils/AuthenticationUtils.tsx");
export const getToken = function getToken() {
return TokenManagerAll.getToken();
};
export const isAuthenticated = function isAuthenticated() {
return null != TokenManagerAll.getToken();
};
export const getArtForPath = function getArtForPath(arg0) {
let tmp = null;
if (null != arg0) {
tmp = null;
if (obj.test(arg0)) {
tmp = _mod7255;
}
obj = /^\/developers/;
}
return tmp;
};