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
|
@ -62,6 +62,8 @@ func (c Client) defaultCallOptions() callOptions {
|
|||
return callOptions{
|
||||
ttl: 2,
|
||||
version: pkg.SDKVersion(),
|
||||
session: c.sessionToken,
|
||||
bearer: c.bearerToken,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue