modif apxauth
This commit is contained in:
@@ -33,9 +33,10 @@ apx.apxauth.getdata = (id, ctx) => {
|
||||
data.xalias = apx.data.headers.xalias;
|
||||
data.xtribe = apx.data.headers.xtribe;
|
||||
|
||||
data.emailssuport = apx.data?.appdata?.emailsupport
|
||||
data.emailsupport = apx.data?.appdata?.emailsupport
|
||||
? apx.data.appdata.emailsupport
|
||||
: "";
|
||||
console.log("data:",data)
|
||||
switch (ctx.link) {
|
||||
case "myworld":
|
||||
if (!data.profils) data.profils = [];
|
||||
@@ -92,6 +93,8 @@ apx.apxauth.getdata = (id, ctx) => {
|
||||
console.log("ERROR, geting pagans itms not available",err)
|
||||
});
|
||||
break;
|
||||
case "information":
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@@ -1,22 +1,23 @@
|
||||
<div class="mx-3 my-auto text-justify">
|
||||
<h2>Qu'est-ce qu'une identité numérique décentralisée?</h2>
|
||||
<p>
|
||||
<h2 class="pb-5">Qu'est-ce qu'une identité numérique décentralisée?</h2>
|
||||
<p class="py-2">
|
||||
C'est <span class="text-secondary">un moyen de s'identifier en prouvant qu'on est le propriétaire
|
||||
d'un alias ou d'une clé publique</span>. Cette clé publique est accessible à tous et utilisée dans le
|
||||
d'un alias ou d'une clé publique</span> (= une suite unique de lettres et de chiffres).
|
||||
Cette clé publique est accessible à tous et utilisée dans le
|
||||
monde numérique pour informer, payer, échanger,... et porte une
|
||||
réputation publique.
|
||||
</p>
|
||||
<p>
|
||||
<p class="py-2">
|
||||
Concrètement, c'est une paire de fichiers texte appelée clé publique
|
||||
et clé privée. La clé publique ne porte pas d'information
|
||||
personnelle autre que celles que vous avez bien voulu y associer.
|
||||
</p>
|
||||
<p>
|
||||
<p class="py-2">
|
||||
Une fonction mathématique permet au propriétaire de la clé privée de
|
||||
signer un message. Le destinataire dispose d'une autre fonction qui
|
||||
permet de vérifier que la signature a été faite avec la clé privée.
|
||||
</p>
|
||||
<p>
|
||||
<p class="py-2">
|
||||
Cette interface permet de créer une identité et de l'utiliser pour
|
||||
s'authentifier pour 24 heures. Elle n'envoie que le couple alias/clé
|
||||
publique sur internet, la clé privée est
|
||||
@@ -26,16 +27,16 @@
|
||||
<span class="text-secondary">avez fait confiance à ce nom de domaine</span>, vous pourrez lui
|
||||
demander d'envoyer un email avec ces clés.
|
||||
</p>
|
||||
<p>
|
||||
<p class="py-2">
|
||||
Vous pouvez avoir autant d'identités que vous voulez, vous pouvez
|
||||
créer une identité pour des objets uniques. La seule limite est qu'à
|
||||
partir du moment où vous associez des informations personnelles à
|
||||
cette clé, le destinataire de ces informations peut les relier aux
|
||||
activités de cette identité inscrite dans la blockchain apxtri.
|
||||
</p>
|
||||
<p>
|
||||
<p class="py-2">
|
||||
Pour auditer le code js, utiliser l'outil de développement de votre
|
||||
navigateur. Pour toute remarque, question ou détection de failles :
|
||||
{{supportemail}}
|
||||
{{emailsupport}}
|
||||
</p>
|
||||
</div>
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<div class="p-2">
|
||||
<p class="text-center">
|
||||
Authentifié avec l'alias: <span class="text-success">{{xalias}}</span> dans <span class="text-success">{{town}}-{{nation}}</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="p-4 grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 justify-items-center">
|
||||
{{#optionlinks}}
|
||||
|
@@ -3546,6 +3546,9 @@
|
||||
.pb-4 {
|
||||
padding-bottom: calc(var(--spacing) * 4);
|
||||
}
|
||||
.pb-5 {
|
||||
padding-bottom: calc(var(--spacing) * 5);
|
||||
}
|
||||
.pl-8 {
|
||||
padding-left: calc(var(--spacing) * 8);
|
||||
}
|
||||
|
113
wwws/admin/src/tpldata/apxid_walletmanager_simplemobnav_fr.json
Normal file
113
wwws/admin/src/tpldata/apxid_walletmanager_simplemobnav_fr.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"contentwconame": "apxauth",
|
||||
"contentid": "signature",
|
||||
"logo": {
|
||||
"src": "/src/static/img/logo/logobgdark.png",
|
||||
"alt": "smatchit"
|
||||
},
|
||||
"claim": {
|
||||
"textContent": "Never miss an opportunity"
|
||||
},
|
||||
"textlist": true,
|
||||
"commentmenutype": "textlist: vertical list of menu with texte, buttonlist: horizontal btn",
|
||||
"profilmenu": [
|
||||
{
|
||||
"mainprofil": "persons",
|
||||
"link": "mytribes"
|
||||
},
|
||||
{
|
||||
"mainprofil": "pagans",
|
||||
"link": "logout"
|
||||
},
|
||||
{
|
||||
"mainprofil": "anonymous",
|
||||
"link": "signin"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"link": "signup",
|
||||
"label": "Pas encore d'identité apxtri ?",
|
||||
"textlink": "Créer mon identité",
|
||||
"tpl": "apxauthscreensignup",
|
||||
"allowedprofil": [
|
||||
"anonymous"
|
||||
],
|
||||
"next": [
|
||||
"signin",
|
||||
"forgetkey",
|
||||
"information"
|
||||
]
|
||||
},
|
||||
{
|
||||
"link": "signin",
|
||||
"label": "S'identifier ?",
|
||||
"textlink": "Accédez à vos données",
|
||||
"tpl": "apxauthscreensignin",
|
||||
"allowedprofil": [
|
||||
"anonymous"
|
||||
],
|
||||
"next": [
|
||||
"signup",
|
||||
"forgetkey",
|
||||
"information"
|
||||
]
|
||||
},
|
||||
{
|
||||
"link": "forgetkey",
|
||||
"label": "Clé oubliée ?",
|
||||
"textlink": "Récupérez par email",
|
||||
"tpl": "apxauthscreenforgetkey",
|
||||
"allowedprofil": [
|
||||
"anonymous"
|
||||
],
|
||||
"next": [
|
||||
"signin",
|
||||
"signup",
|
||||
"information"
|
||||
]
|
||||
},
|
||||
{
|
||||
"link": "information",
|
||||
"label": " C'est quoi une identité apxtri ?",
|
||||
"textlink": "En savoir plus",
|
||||
"allowedprofil": [
|
||||
"anonymous"
|
||||
],
|
||||
"tpl": "apxauthscreeninformation",
|
||||
"next": [
|
||||
"back"
|
||||
]
|
||||
},
|
||||
{
|
||||
"link": "back",
|
||||
"label": "Retour au menu ",
|
||||
"allowedprofil": [
|
||||
"anonymous"
|
||||
],
|
||||
"tpl": "sc",
|
||||
"textlink": "Retour",
|
||||
"next": []
|
||||
},
|
||||
{
|
||||
"link": "logout",
|
||||
"label": " ",
|
||||
"allowedprofil": [
|
||||
"pagans"
|
||||
],
|
||||
"tpl": "apxauthscreenlogout",
|
||||
"textlink": "",
|
||||
"next": []
|
||||
},
|
||||
{
|
||||
"link": "mytribes",
|
||||
"label": " ",
|
||||
"tpl": "apxauthscreenmytribes",
|
||||
"allowedprofil": [
|
||||
"persons"
|
||||
],
|
||||
"textlink": "",
|
||||
"next": []
|
||||
}
|
||||
]
|
||||
}
|
@@ -20,7 +20,9 @@
|
||||
},
|
||||
"tpldata": {
|
||||
"apxid_signature_apxauth": "apxtri/objects/wwws/admin/src/tpldata/apxid_signature_apxauth",
|
||||
"apxid_authentification_simplemobnav": "apxtri/objects/wwws/admin/src/tpldata/apxid_authentification_simplemobnav"
|
||||
"apxid_authentification_simplemobnav": "apxtri/objects/wwws/admin/src/tpldata/apxid_authentification_simplemobnav",
|
||||
"apxid_mydata_simplemobnav": "apxtri/objects/wwws/admin/src/tpldata/apxid_mydata_simplemobnav",
|
||||
"apxid_walletmanager_simplemobnav": "apxtri/objects/wwws/admin/src/tpldata/apxid_walletmanager_simplemobnav"
|
||||
},
|
||||
"schema": [
|
||||
"apxtri/objects/pagans",
|
||||
@@ -34,6 +36,58 @@
|
||||
"Pagans": "apxtri/models/tplstrings/Pagans",
|
||||
"Persons": "apxtri/models/tplstrings/Persons"
|
||||
}
|
||||
},
|
||||
"privatri": {
|
||||
"version": 1,
|
||||
"profils": [
|
||||
"anonymous"
|
||||
],
|
||||
"tpl": {
|
||||
"privatrimain": "apxtri/objects/wco/privatri/main.mustache",
|
||||
"privatriAlias": "apxtri/objects/wco/privatri/alias.mustache",
|
||||
"privatriCreateThread": "apxtri/objects/wco/privatri/createThread.mustache",
|
||||
"privatriEditMessage": "apxtri/objects/wco/privatri/editMessage.mustache",
|
||||
"privatriInviteAlias": "apxtri/objects/wco/privatri/inviteAlias.mustache",
|
||||
"privatriMessage": "apxtri/objects/wco/privatri/message.mustache",
|
||||
"privatriThread": "apxtri/objects/wco/privatri/thread.mustache",
|
||||
"privatriThreadAliasList": "apxtri/objects/wco/privatri/threadAliasList.mustache",
|
||||
"privatriThreadSettings": "apxtri/objects/wco/privatri/threadSettings.mustache",
|
||||
"privatriToastAlert": "apxtri/objects/wco/privatri/toastAlert.mustache"
|
||||
},
|
||||
"tpldata": {
|
||||
"privatri_main_privatri": "apxtri/objects/wwws/admin/src/tpldata/privatri_main_privatri"
|
||||
},
|
||||
"schema": [],
|
||||
"ref": {
|
||||
"Checkjson": "apxtri/models/tplstrings/Checkjson",
|
||||
"Notification": "apxtri/models/tplstrings/Notifications",
|
||||
"Middlewares": "apxtri/models/tplstrings/Middlewares"
|
||||
}
|
||||
},
|
||||
"admindata": {
|
||||
"version": 1,
|
||||
"profils": [
|
||||
"anonymous"
|
||||
],
|
||||
"tpl": {
|
||||
"adminskullverticalnav": "apxtri/objects/wco/adminskull/verticalnav",
|
||||
"adminskullresult": "apxtri/objects/wco/adminskull/result",
|
||||
"adminskullmain": "apxtri/objects/wco/adminskull/main",
|
||||
"adminskullheadnav": "apxtri/objects/wco/adminskull/headnav"
|
||||
},
|
||||
"tpldata": {},
|
||||
"schema": [
|
||||
"apxtri/objects/pagans",
|
||||
"apxtri/objects/persons"
|
||||
],
|
||||
"ref": {
|
||||
"Odmdb": "apxtri/models/tplstrings/Odmdb",
|
||||
"Pagans": "apxtri/models//tplstrings/Pagans",
|
||||
"Persons": "apxtri/models/tplstrings/Persons",
|
||||
"Checkjson": "apxtri/models/tplstrings/Checkjson",
|
||||
"Notification": "apxtri/models/tplstrings/Notifications",
|
||||
"Middlewares": "apxtri/models/tplstrings/Middlewares"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user