add route get alias and person

This commit is contained in:
2023-06-07 07:32:23 +02:00
parent 41dbd92e4a
commit fd712a6d73
6 changed files with 77 additions and 38 deletions

View File

@@ -73,8 +73,7 @@
</code>
<hr>
<h3>Logout</h3>
<button type="button" class="btn btn-outline-success btn-sm"
onclick="pagans.logout();">
<button type="button" class="btn btn-outline-success btn-sm" onclick="pagans.logout();">
Remove headers</button>
<hr>
<h3>I prove that i own this alias</h3>
@@ -89,7 +88,8 @@
</div>
<textarea rows="5" id="privatekeyauth"></textarea>
<button class="btn btn-primary"
onclick="pagans.authentifyme(document.getElementById('inputaliasauth').value,document.getElementById('inputpassphraseauth').value,document.getElementById('privatekeyauth').value);alert('Click on Test it to check')">Sign my header</button>
onclick="pagans.authentifyme(document.getElementById('inputaliasauth').value,document.getElementById('inputpassphraseauth').value,document.getElementById('privatekeyauth').value);alert('Click on Test it to check')">Sign
my header</button>
<hr>
<h3>Create a decentralized Identity</h3>
<p>apXtrib allow you to create keys to identify yourself with a universal alias</p>
@@ -148,10 +148,10 @@
<div id="downloadkeys" class="btn-group d-none">
<p>Download your keys at least PrivateKey this have to save in a secret place</p>
<button id="privatekey" key="" class="btn btn-outline-primary"
onclick="app.downloadlink('tmp.privateKey',apx.data,apx.data.headers.xapp);">Download
onclick="app.downloadlink('tmp.privateKey',apx.data,apx.data.headers.xalias);">Download
PrivateKey</button>
<button id="publickey" key="" class="btn btn-outline-primary"
onclick="app.downloadlink('tmp.publicKey',apx.data,apx.data.headers.xapp);">Download
onclick="app.downloadlink('tmp.publicKey',apx.data,apx.data.headers.xalias);">Download
PublicKey</button>
</div>
<div id="createId" class="col-12 d-none">