Add 0000-ayb-example-auth-list.md
This commit is contained in:
parent
e9040d3c3f
commit
a4c05e6024
1 changed files with 32 additions and 0 deletions
32
0000-ayb-example-auth-list.md
Normal file
32
0000-ayb-example-auth-list.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
## Auth list
|
||||
|
||||
```json
|
||||
{
|
||||
"authentication_proof":
|
||||
[
|
||||
{
|
||||
"type": "fermet",
|
||||
"token": "ayb_fAy28Q4667q_4nTowidCyetNyYYtd2X2iA9ywFRLirrn9"
|
||||
},
|
||||
{
|
||||
"type": "jwt",
|
||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzb2ZpYXJpdHoiLCJ0b2tlbiI6ImF5Yl9mQXkyOFE0NjY3cV80blRvd2lkQ3lldE55WVl0ZDJYMmlBOXl3RlJMaXJybjkiLCJ1c2VyIjp7ImRpc3BsYXlOYW1lIjoiU29mw61hIEFyaXR6IiwiZGF0YWJhc2VzIjpbImV4YW1wbGUxLnNxbGl0ZSIsImV4YW1wbGUyLnNxbGl0ZSJdfSwiaWF0IjoxNTE2MjM5MDIyfQ.bRnWgO849ljqtaUu_VNLdHSqqFA6P6KqTcDps6lADi0"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Decoded JWT
|
||||
|
||||
The decoded payload of the example jwt:
|
||||
```json
|
||||
{
|
||||
"sub": "sofiaritz",
|
||||
"token": "ayb_fAy28Q4667q_4nTowidCyetNyYYtd2X2iA9ywFRLirrn9",
|
||||
"user": {
|
||||
"displayName": "Sofía Aritz",
|
||||
"databases": ["example1.sqlite", "example2.sqlite"]
|
||||
},
|
||||
"iat": 1516239022
|
||||
}
|
||||
```
|
Loading…
Reference in a new issue