import JSONFunctions from "../../Types/JSONFunctions";
export default class JsonWebToken {
    static decode(token) {
        if (token && token.includes(".")) {
            return JSONFunctions.parseJSONObject(window.atob(token.split(".")[1]));
        }
        return null;
    }
}
//# sourceMappingURL=JsonWebToken.js.map