Skip to content

Commit

Permalink
update mfa proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnonni committed Aug 16, 2024
1 parent 603db04 commit 6864194
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .well-known/examples/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
"manifest_id": "WA-DL-CLASS-A",
"format": {
"jwt_vc": {
"proof_type": [
"JsonWebSignature2020",
"EcdsaSecp256k1Signature2019"
"alg": [
"EdDSA"
]
}
},
Expand Down
61 changes: 61 additions & 0 deletions .well-known/protocol/mfa.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,69 @@
"structure": {
"mfa": {
"$actions": [
{
"who": "author",
"of": "mfa",
"can": [
"update",
"delete"
]
}
],
"phone": {
"$actions": [
{
"who": "author",
"of": "mfa",
"can": [
"create",
"update",
"read",
"delete"
]
},
{
"who": "recipient",
"of": "mfa",
"can": [
"read"
]
}
]
},
"email": {
"$actions": [
{
"who": "author",
"of": "mfa",
"can": [
"create",
"read",
"update",
"delete"
]
},
{
"who": "recipient",
"of": "mfa",
"can": [
"read"
]
}
]
},
"otp": {
"$actions": [
{
"who": "author",
"of": "mfa",
"can": [
"read"
]
},
{
"who": "recipient",
"of": "mfa",
"can": [
"create",
"read",
Expand All @@ -23,6 +83,7 @@
]
}
]
},
}
}
}

0 comments on commit 6864194

Please sign in to comment.