feat(protocol): define native session credentials
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"username": "alice",
|
||||
"provider": "local",
|
||||
"roles": ["user"],
|
||||
"role": "user",
|
||||
"native_identity": {
|
||||
"client_device_id": "device-1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"username": "alice",
|
||||
"provider": "local",
|
||||
"roles": ["user"],
|
||||
"role": "user",
|
||||
"native_identity": {
|
||||
"client_device_id": "device-1",
|
||||
"device_key_id": "key-1"
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
"gateway": {
|
||||
"id": "gateway-1",
|
||||
"addresses": ["gateway.control.test:443"],
|
||||
"public_identity": "gateway-1"
|
||||
"public_identity": "gateway.control.test"
|
||||
},
|
||||
"tunnel": {
|
||||
"versions": ["verse-gateway-v1/1"],
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"username": "alice",
|
||||
"provider": "local",
|
||||
"roles": ["user"],
|
||||
"role": "user"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"client_device_id": "device-1",
|
||||
"device_key_id": "key-1",
|
||||
"pool_id": "pool-1",
|
||||
"idempotency_key": "request-1",
|
||||
"policy_snapshot": {}
|
||||
}
|
||||
Reference in New Issue
Block a user