forked from TrueCloudLab/frostfs-api-go
[#180] sdk/client: Implement methods that attach tokens to Client
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
805ad54f41
commit
b2ba0eef07
3 changed files with 23 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue