func (t *Token) SetID(v []byte) {
	t.setBodyField(func(body *session.SessionTokenBody) {
		body.SetID(v)
	})
}
SetID sets Token identifier.
package session
import (
	"crypto/ecdsa"
	"github.com/nspcc-dev/neofs-api-go/pkg"
	"github.com/nspcc-dev/neofs-api-go/pkg/owner"
	"github.com/nspcc-dev/neofs-api-go/util/signature"
	"github.com/nspcc-dev/neofs-api-go/v2/refs"
	"github.com/nspcc-dev/neofs-api-go/v2/session"
	v2signature "github.com/nspcc-dev/neofs-api-go/v2/signature"
)
type Token session.SessionToken
func NewTokenFromV2(tV2 *session.SessionToken) *Token {
	return (*Token)(tV2)
}
func NewToken() *Token {
	return NewTokenFromV2(new(session.SessionToken))
}
func (t *Token) ToV2() *session.SessionToken {
	return (*session.SessionToken)(t)
}
func (t *Token) setBodyField(setter func(*session.SessionTokenBody)) {
	token := (*session.SessionToken)(t)
	body := token.GetBody()
	if body == nil {
		body = new(session.SessionTokenBody)
		token.SetBody(body)
	}
	setter(body)
}
func (t *Token) ID() []byte {
	return (*session.SessionToken)(t).
		GetBody().
		GetID()
}