decord/source/utils/AuthenticationUtils.tsx
2026-09-02 09:53:35 +00:00

30 lines
823 B
TypeScript

// Module ID: 1366
// Function ID: 1367
// Name: getToken
// Dependencies: [704, 1367, 2]
// Exports: getArtForPath, getToken, isAuthenticated
// Module 1366 (getToken)
import set from "set" /* 2 */;
import setSecondaryTokenAll from "setSecondaryToken" /* 704 */;
import registerAsset from "registerAsset" /* 1367 */;
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;
};