decord/source/utils/AuthenticationUtils.tsx

28 lines
664 B
TypeScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1328
2026-07-25 08:10:48 +00:00
// Function ID: 15576
2026-07-20 16:05:17 +00:00
// Name: getToken
2026-07-23 10:11:24 +00:00
// Dependencies: [684, 1329, 2]
2026-07-20 16:05:17 +00:00
// Exports: getArtForPath, isAuthenticated
// Module 1328 (getToken)
function getToken() {
2026-07-23 10:11:24 +00:00
return importAll(684).getToken();
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("utils/AuthenticationUtils.tsx");
2026-07-20 16:05:17 +00:00
export { getToken };
export const isAuthenticated = function isAuthenticated() {
return null != getToken();
};
export const getArtForPath = function getArtForPath(arg0) {
let tmp = null;
if (null != arg0) {
tmp = null;
if (obj.test(arg0)) {
2026-07-23 10:11:24 +00:00
tmp = require(1329) /* registerAsset */;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
obj = /^\/developers/;
2026-07-20 16:05:17 +00:00
}
return tmp;
};