Merge pull request #14 from nspcc-dev/service-token-owner-key
service: add OwnerKey byte field to TokenInfo message
This commit is contained in:
commit
ff41459497
2 changed files with 4 additions and 0 deletions
|
@ -126,6 +126,7 @@ User token granting rights for object manipulation
|
|||
| Address | [refs.Address](#refs.Address) | | Address is an object address for which token is issued |
|
||||
| Lifetime | [TokenLifetime](#service.TokenLifetime) | | Lifetime is a lifetime of the session |
|
||||
| SessionKey | [bytes](#bytes) | | SessionKey is a public key of session key |
|
||||
| OwnerKey | [bytes](#bytes) | | OwnerKey is a public key of the token owner |
|
||||
|
||||
|
||||
<a name="service.TokenLifetime"></a>
|
||||
|
|
|
@ -63,6 +63,9 @@ message Token {
|
|||
|
||||
// SessionKey is a public key of session key
|
||||
bytes SessionKey = 6;
|
||||
|
||||
// OwnerKey is a public key of the token owner
|
||||
bytes OwnerKey = 7;
|
||||
}
|
||||
|
||||
// TokenInfo is a grouped information about token
|
||||
|
|
Loading…
Reference in a new issue