[#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

@ -62,6 +62,8 @@ func (c Client) defaultCallOptions() callOptions {
return callOptions{
ttl: 2,
version: pkg.SDKVersion(),
session: c.sessionToken,
bearer: c.bearerToken,
}
}