[#180] sdk/client: Implement methods that attach tokens to Client

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-27 15:55:19 +03:00 committed by Alex Vanin
parent 805ad54f41
commit b2ba0eef07
3 changed files with 23 additions and 0 deletions

View file

@ -5,6 +5,7 @@ import (
"errors"
"github.com/nspcc-dev/neofs-api-go/pkg"
"github.com/nspcc-dev/neofs-api-go/pkg/token"
)
type (
@ -13,6 +14,10 @@ type (
remoteNode TransportInfo
opts *clientOptions
sessionToken *token.SessionToken
bearerToken *token.BearerToken
}
TransportProtocol uint32