Documentation ¶
Index ¶
- func AuthorizationToToken(authorization string) string
- func ExtractToken(ctx context.Context) *identityd2_pb.Token
- func NewOutgoingContext(ctx context.Context, fns ...func(metadata.MD) metadata.MD) context.Context
- func TokenToAuthorization(token string) string
- func WithDeviceOp(dev string) func(metadata.MD) metadata.MD
- func WithSessionOp(sess int64) func(metadata.MD) metadata.MD
- func WithToken(ctx context.Context, token string) context.Context
- func WithTokenOp(token string) func(metadata.MD) metadata.MD
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizationToToken ¶ added in v1.1.26
func ExtractToken ¶
func ExtractToken(ctx context.Context) *identityd2_pb.Token
func NewOutgoingContext ¶
func TokenToAuthorization ¶ added in v1.1.26
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.