nspcc-dev / neofs-sdk-go

Go implementation of NeoFS SDK
Apache License 2.0
5 stars 14 forks source link

Add parameters API to pass bearer token as []byte #578

Open smallhive opened 3 months ago

smallhive commented 3 months ago

Is your feature request related to a problem? Please describe.

The task is Inspired by this comment.

Describe the solution you'd like

Append to SDK command parameters method like WithBearerTokenBinary(token []byte). It is similar to WithBearerToken(t bearer.Token), but the token is represented as a byte slice.