[#24] Update examples and description in spec

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-07-20 18:16:30 +03:00 committed by Kirillov Denis
parent 8f4c94f134
commit b412af2e22
53 changed files with 685 additions and 207 deletions

View file

@ -43,17 +43,17 @@ type AuthParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*Token lifetime in epoch
/*Token lifetime in epoch.
In: header
Default: 100
*/
XBearerLifetime *int64
/*Owner Id (wallet address) that will sign the token
/*Owner Id (wallet address) that will sign the token.
Required: true
In: header
*/
XBearerOwnerID string
/*Bearer token
/*Bearer tokens to form.
Required: true
In: body
*/