forked from TrueCloudLab/frostfs-api-go
session: Add owner's public key into session token
We want to remove all innner ring queries to authenticate owner by public keys. Therefore we put public keys into session token. Later public keys could be gathered with NeoID or other centre of authority.
This commit is contained in:
parent
beb13d5a9f
commit
e88a6ee028
2 changed files with 2 additions and 0 deletions
Binary file not shown.
|
@ -29,4 +29,6 @@ message Token {
|
|||
bytes Signature = 6;
|
||||
// ID is a token identifier. valid UUIDv4 represented in bytes
|
||||
bytes ID = 7 [(gogoproto.customtype) = "TokenID", (gogoproto.nullable) = false];
|
||||
// PublicKeys associated with owner
|
||||
repeated bytes PublicKeys = 8;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue