Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proto-docs/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ Session Token body.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| version | [uint32](#uint32) | | Token version. |
| nonce | [uint32](#uint32) | | Random nonce to prevent collisions. |
| appdata | [bytes](#bytes) | | Application-specific data that can be used to store additional context. This field is optional and can contain any application-defined data. Maximum size: 1024 bytes. |
| issuer | [neo.fs.v2.refs.OwnerID](#neo.fs.v2.refs.OwnerID) | | Account that issued this token (who signed it). |
| subjects | [Target](#neo.fs.v2.session.Target) | repeated | Accounts authorized by this token (who can use it). Maximum number of subjects: 8. |
| lifetime | [TokenLifetime](#neo.fs.v2.session.TokenLifetime) | | Lifetime of this token. |
Expand Down
6 changes: 4 additions & 2 deletions session/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,10 @@ message SessionTokenV2 {
// Token version.
uint32 version = 1 [json_name = "version"];

// Random nonce to prevent collisions.
uint32 nonce = 2 [json_name = "nonce"];
// Application-specific data that can be used to store additional context.
// This field is optional and can contain any application-defined data.
// Maximum size: 1024 bytes.
bytes appdata = 2 [json_name = "appdata"];

// Account that issued this token (who signed it).
neo.fs.v2.refs.OwnerID issuer = 3 [json_name = "issuer"];
Expand Down
Loading