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:
alexvanin 2020-01-17 12:37:04 +03:00
parent beb13d5a9f
commit e88a6ee028
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View file

@ -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;
}