From 35774d4ef760037c79e0225f0d2f9fa809581fc6 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 11 Aug 2020 11:42:12 +0300 Subject: [PATCH] [#40] service: Correct Token.Info.owner_id field description Remove mention of an object from the session token field. Signed-off-by: Leonard Lyubich --- proto-docs/service.md | 2 +- service/verify.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proto-docs/service.md b/proto-docs/service.md index 30e3275..a997f49 100644 --- a/proto-docs/service.md +++ b/proto-docs/service.md @@ -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 | diff --git a/service/verify.proto b/service/verify.proto index dd7348e..9e52a5d 100644 --- a/service/verify.proto +++ b/service/verify.proto @@ -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