You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the issuer cannot be indirect (from NNS) because the token must be signed
by the user, the issuer must be a `OwnerID` type.
Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Copy file name to clipboardExpand all lines: proto-docs/session.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -317,7 +317,7 @@ Session Token body.
317
317
| ----- | ---- | ----- | ----------- |
318
318
| version |[uint32](#uint32)|| Token version. |
319
319
| nonce |[uint32](#uint32)|| Random nonce to prevent collisions. |
320
-
| issuer |[Target](#neo.fs.v2.session.Target)|| Account that issued this token (who signed it). |
320
+
| issuer |[neo.fs.v2.refs.OwnerID](#neo.fs.v2.refs.OwnerID)|| Account that issued this token (who signed it). |
321
321
| subjects |[Target](#neo.fs.v2.session.Target)| repeated | Accounts authorized by this token (who can use it). Maximum number of subjects: 8. |
322
322
| lifetime |[TokenLifetime](#neo.fs.v2.session.TokenLifetime)|| Lifetime of this token. |
323
323
| contexts |[SessionContextV2](#neo.fs.v2.session.SessionContextV2)| repeated | Unified session contexts for both object and container operations. Multiple contexts allow authorization for different combinations. Maximum number of contexts: 16. |
0 commit comments