"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.__tsfTypeAliases = void 0;
const tslib_1 = require("tslib");
const _a = tslib_1.__importStar(require("@zyno-io/ts-server-foundation/type-metadata-runtime"));
tslib_1.__exportStar(require("./jwt"), exports);
tslib_1.__exportStar(require("./provider"), exports);
exports.__tsfTypeAliases = _a.decodeCompactMetadataV1("[1,{\"InvalidJwtValidationResult\":{\"kind\":18,\"typeName\":\"InvalidJwtValidationResult\",\"types\":[{\"kind\":20,\"name\":\"isValid\",\"type\":{\"kind\":10,\"literal\":false},\"optional\":false},{\"kind\":20,\"name\":\"isDecodable\",\"type\":{\"kind\":8},\"optional\":false},{\"kind\":20,\"name\":\"isSignatureValid\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"isPayloadValid\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"isNotExpired\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true}]},\"JwtCookieOptions\":{\"kind\":18,\"typeName\":\"JwtCookieOptions\",\"types\":[{\"kind\":20,\"name\":\"secure\",\"type\":{\"kind\":12,\"types\":[{\"kind\":8},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"sameSite\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":10,\"literal\":\"Strict\"},{\"kind\":10,\"literal\":\"Lax\"},{\"kind\":10,\"literal\":\"None\"}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"domain\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true}]},\"JwtGenerationOptions\":{\"kind\":18,\"typeName\":\"JwtGenerationOptions\",\"types\":[{\"kind\":20,\"name\":\"id\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"issuer\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"audience\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":14,\"type\":{\"kind\":6}}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"subject\",\"type\":{\"kind\":6},\"optional\":false},{\"kind\":20,\"name\":\"expiresAt\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":16,\"typeName\":\"Date\",\"classType\":{\"$tsf\":0}},{\"kind\":7}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"expiryMins\",\"type\":{\"kind\":12,\"types\":[{\"kind\":7},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"payload\",\"type\":{\"kind\":12,\"types\":[{\"kind\":2,\"typeName\":\"T\"},{\"kind\":4}]},\"optional\":true}]},\"JwtVerifierOptions\":{\"kind\":18,\"typeName\":\"JwtVerifierOptions\",\"types\":[{\"kind\":20,\"name\":\"issuer\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"audience\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":14,\"type\":{\"kind\":6}}]},{\"kind\":4}]},\"optional\":true},{\"kind\":20,\"name\":\"key\",\"type\":{\"kind\":12,\"types\":[{\"kind\":6},{\"kind\":16,\"typeName\":\"Buffer\",\"classType\":{\"$tsf\":1}}]},\"optional\":false},{\"kind\":20,\"name\":\"algorithm\",\"type\":{\"kind\":12,\"types\":[{\"kind\":12,\"types\":[{\"$tsfAlias\":[2,\"fast-jwt\",\"Algorithm\",\"Algorithm\"]},{\"kind\":6}]},{\"kind\":4}]},\"optional\":true}]},\"ResetToken\":{\"kind\":18,\"typeName\":\"ResetToken\",\"types\":[{\"kind\":20,\"name\":\"token\",\"type\":{\"kind\":6},\"optional\":false},{\"kind\":20,\"name\":\"data\",\"type\":{\"kind\":2,\"typeName\":\"T\"},\"optional\":false},{\"kind\":20,\"name\":\"generationTime\",\"type\":{\"kind\":7},\"optional\":false},{\"kind\":20,\"name\":\"verifier\",\"type\":{\"kind\":6},\"optional\":false}]}}]", [() => (typeof Date !== "undefined" ? Date : (typeof exports !== "undefined" ? exports.Date : undefined)), () => (typeof Buffer !== "undefined" ? Buffer : (typeof exports !== "undefined" ? exports.Buffer : undefined)), require]);
//# sourceMappingURL=index.js.map