frostfs-api-go/pkg/token
Leonard Lyubich 37b415347d [#283] pkg/token: Replace SessionToken into a session package
There is a need to add session token to `eacl.Table` structure. To do this,
we need to replace `token.SessionToken` type to another package since `eacl`
package imports `token` one (potential cross-import).

Create `pkg/session` package and replace session token implementation to it.
Related API in `container` package is deprecated from now.

Additionally implement test generator of random session tokens.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-26 12:24:58 +03:00
..
bearer.go [#199] sdk/token: Correct linter's remarks 2020-11-16 18:51:14 +03:00
bearer_test.go [#168] acl: Implement binary/JSON encoders/decoders on BearerToken 2020-11-13 18:07:26 +03:00
session.go [#283] pkg/token: Replace SessionToken into a session package 2021-05-26 12:24:58 +03:00
session_test.go [#168] session: Implement binary/JSON encoders/decoders on SessionToken 2020-11-13 18:07:26 +03:00