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/ |
{"code":"(()=>{\nvar __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;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 __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var interaction_exports={};__export(interaction_exports,{default:()=>interaction_default});module.exports=__toCommonJS(interaction_exports);var interaction_default=`<div class=\"login-client-image\">\n <% if (client.logoUri) { %><img src=\"<%= client.logoUri %>\"><% } %>\n</div>\n\n<ul>\n<% if ([details.missingOIDCScope, details.missingOIDCClaims, details.missingResourceScopes].filter(Boolean).length === 0) { %>\n <li>the client is asking you to confirm previously given authorization</li>\n<% } %>\n\n<% missingOIDCScope = new Set(details.missingOIDCScope); missingOIDCScope.delete('openid'); missingOIDCScope.delete('offline_access') %>\n<% if (missingOIDCScope.size) { %>\n <li>scopes:</li>\n <ul>\n <% missingOIDCScope.forEach((scope) => { %>\n <li><%= scope %></li>\n <% }) %>\n </ul>\n<% } %>\n\n<% missingOIDCClaims = new Set(details.missingOIDCClaims); ['sub', 'sid', 'auth_time', 'acr', 'amr', 'iss'].forEach(Set.prototype.delete.bind(missingOIDCClaims)) %>\n<% if (missingOIDCClaims.size) { %>\n <li>claims:</li>\n <ul>\n <% missingOIDCClaims.forEach((claim) => { %>\n <li><%= claim %></li>\n <% }) %>\n </ul>\n<% } %>\n\n<% missingResourceScopes = details.missingResourceScopes %>\n<% if (missingResourceScopes) { %>\n <% for (const [indicator, scopes] of Object.entries(details.missingResourceScopes)) { %>\n <li><%= indicator %>:</li>\n <ul>\n <% scopes.forEach((scope) => { %>\n <li><%= scope %></li>\n <% }) %>\n </ul>\n <% } %>\n<% } %>\n\n<% if (params.scope && params.scope.includes('offline_access')) { %>\n <li>\n the client is asking to have offline access to this authorization\n <% if ((!details.missingOIDCScope) || !details.missingOIDCScope.includes('offline_access')) { %>\n (which you've previously granted)\n <% } %>\n </li>\n<% } %>\n\n</ul>\n\n<form autocomplete=\"off\" action=\"<%= submitUrl %>\" method=\"post\">\n <input type=\"hidden\" name=\"prompt\" value=\"consent\"/>\n <button autofocus type=\"submit\" class=\"login login-submit\">Continue</button>\n</form>\n`;\n})()\n","warnings":[],"map":{"version":3,"mappings":";wpBAAA,gJAAO,oBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","names":[],"ignoreList":[],"sources":["/home/etherpad/node_modules/.pnpm/oidc-provider@8.4.6/node_modules/oidc-provider/lib/views/interaction.js"],"sourcesContent":[null]}}