[#40] service: Correct Token.Info.owner_id field description

Remove mention of an object from the session token field.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-11 11:42:12 +03:00 committed by Stanislav Bogatyrev
parent b088391294
commit 35774d4ef7
2 changed files with 2 additions and 2 deletions

View file

@ -145,7 +145,7 @@ Represents the NeoFS session token.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [bytes](#bytes) | | ID is a token identifier. valid UUIDv4 represented in bytes |
| owner_id | [refs.OwnerID](#refs.OwnerID) | | OwnerID carries identifier of the manipulation object owner. |
| owner_id | [refs.OwnerID](#refs.OwnerID) | | OwnerID carries identifier of the session author. |
| verb | [SessionToken.Info.Verb](#service.SessionToken.Info.Verb) | | Verb is a type of request for which the token is issued |
| lifetime | [TokenLifetime](#service.TokenLifetime) | | Lifetime is a lifetime of the session |
| session_key | [bytes](#bytes) | | SessionKey is a public key of session key |

View file

@ -34,7 +34,7 @@ message SessionToken {
// ID is a token identifier. valid UUIDv4 represented in bytes
bytes id = 1;
// OwnerID carries identifier of the manipulation object owner.
// OwnerID carries identifier of the session initiator.
refs.OwnerID owner_id = 2;
// Verb is an enumeration of session request types