Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /tmp/tsx-1023/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //tmp/tsx-1023/17180-cd0077f9ab3bc183fe9f788f355da198728d5981
{"code":"(()=>{\nvar __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf;var __hasOwnProp=Object.prototype.hasOwnProperty;var __name=(target,value)=>__defProp(target,\"name\",{value,configurable:true});var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,\"default\",{value:mod,enumerable:true}):target,mod));var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var check_claims_exports={};__export(check_claims_exports,{default:()=>checkClaims});module.exports=__toCommonJS(check_claims_exports);var import_errors=require(\"../../helpers/errors.js\");var import_weak_cache=__toESM(require(\"../../helpers/weak_cache.js\"));var import_is_plain_object=__toESM(require(\"../../helpers/_/is_plain_object.js\"));function checkClaims(ctx,next){const{params}=ctx.oidc;if(params.claims!==void 0){const{features:{claimsParameter,userinfo}}=(0,import_weak_cache.default)(ctx.oidc.provider).configuration();if(claimsParameter.enabled){if(params.response_type===\"none\"){throw new import_errors.InvalidRequest(\"claims parameter should not be combined with response_type none\")}let claims;try{claims=JSON.parse(params.claims)}catch(err){throw new import_errors.InvalidRequest(\"could not parse the claims parameter JSON\")}if(!(0,import_is_plain_object.default)(claims)){throw new import_errors.InvalidRequest(\"claims parameter should be a JSON object\")}if(claims.userinfo===void 0&&claims.id_token===void 0){throw new import_errors.InvalidRequest(\"claims parameter should have userinfo or id_token properties\")}if(claims.userinfo!==void 0&&!(0,import_is_plain_object.default)(claims.userinfo)){throw new import_errors.InvalidRequest(\"claims.userinfo should be an object\")}if(claims.id_token!==void 0&&!(0,import_is_plain_object.default)(claims.id_token)){throw new import_errors.InvalidRequest(\"claims.id_token should be an object\")}if(claims.userinfo&&!userinfo.enabled){throw new import_errors.InvalidRequest(\"claims.userinfo should not be used since userinfo endpoint is not supported\")}if(params.response_type===\"id_token\"&&claims.userinfo){throw new import_errors.InvalidRequest(\"claims.userinfo should not be used if access_token is not issued\")}}}return next()}__name(checkClaims,\"checkClaims\");\n})()\n","warnings":[],"map":{"version":3,"mappings":";i/BAAA,yJAA+B,mCAC/B,sBAAqB,gDACrB,2BAA0B,uDAeX,SAAR,YAA6B,IAAK,KAAM,CAC7C,KAAM,CAAE,MAAO,EAAI,IAAI,KAEvB,GAAI,OAAO,SAAW,OAAW,CAC/B,KAAM,CAAE,SAAU,CAAE,gBAAiB,QAAS,CAAE,KAAI,kBAAAA,SAAS,IAAI,KAAK,QAAQ,EAAE,cAAc,EAE9F,GAAI,gBAAgB,QAAS,CAC3B,GAAI,OAAO,gBAAkB,OAAQ,CACnC,MAAM,IAAI,6BAAe,iEAAiE,CAC5F,CAEA,IAAI,OAEJ,GAAI,CACF,OAAS,KAAK,MAAM,OAAO,MAAM,CACnC,OAAS,IAAK,CACZ,MAAM,IAAI,6BAAe,2CAA2C,CACtE,CAEA,GAAI,IAAC,uBAAAC,SAAc,MAAM,EAAG,CAC1B,MAAM,IAAI,6BAAe,0CAA0C,CACrE,CAEA,GAAI,OAAO,WAAa,QAAa,OAAO,WAAa,OAAW,CAClE,MAAM,IAAI,6BAAe,8DAA8D,CACzF,CAEA,GAAI,OAAO,WAAa,QAAa,IAAC,uBAAAA,SAAc,OAAO,QAAQ,EAAG,CACpE,MAAM,IAAI,6BAAe,qCAAqC,CAChE,CAEA,GAAI,OAAO,WAAa,QAAa,IAAC,uBAAAA,SAAc,OAAO,QAAQ,EAAG,CACpE,MAAM,IAAI,6BAAe,qCAAqC,CAChE,CAEA,GAAI,OAAO,UAAY,CAAC,SAAS,QAAS,CACxC,MAAM,IAAI,6BAAe,6EAA6E,CACxG,CAEA,GAAI,OAAO,gBAAkB,YAAc,OAAO,SAAU,CAC1D,MAAM,IAAI,6BAAe,kEAAkE,CAC7F,CACF,CACF,CAEA,OAAO,KAAK,CACd,CA9CwB","names":["instance","isPlainObject"],"ignoreList":[],"sources":["/home/etherpad/node_modules/.pnpm/oidc-provider@8.4.6/node_modules/oidc-provider/lib/actions/authorization/check_claims.js"],"sourcesContent":[null]}}

SAMX