decord/source/utils/AuthenticationUtils.tsx
2026-08-24 06:08:38 +00:00

30 lines
823 B
TypeScript

// Module ID: 1371
// Function ID: 1372
// Name: getToken
// Dependencies: [707, 1372, 2]
// Exports: getArtForPath, getToken, isAuthenticated
// Module 1371 (getToken)
import set from "set" /* 2 */;
import setSecondaryTokenAll from "setSecondaryToken" /* 707 */;
import registerAsset from "registerAsset" /* 1372 */;
const result = set.fileFinishedImporting("utils/AuthenticationUtils.tsx");
export const getToken = function getToken() {
return setSecondaryTokenAll.getToken();
};
export const isAuthenticated = function isAuthenticated() {
return null != setSecondaryTokenAll.getToken();
};
export const getArtForPath = function getArtForPath(arg0) {
let tmp = null;
if (null != arg0) {
tmp = null;
if (obj.test(arg0)) {
tmp = registerAsset;
}
obj = /^\/developers/;
}
return tmp;
};