# Functions
No description provided by the author
StripCreds removes the credentials from the given TokenTransport and repackages it up as a string.
TokenDecode provides the ability to decode a waypoint token into the embedded protobuf.
TokenFromContext extracts a token (if any) from the given context.
TokenWithContext stores a token on the given context.
# Constants
No description provided by the author
TokenMagic is used as a byte sequence prepended to the encoded TokenTransport to identify the token as valid before attempting to decode it.
# Variables
No description provided by the author
# Structs
TokenAndAuth is a special version of PerRPCCredentials that lets us pass the authorization metadata as well as the waypoint token in a separate field.
# Type aliases
ContextToken implements grpc.WithPerRPCCredentials and extracts the token from the context or otherwise falls back to a default string value (which might be empty).
This is a weird type that only exists to satisify the interface required by grpc.WithPerRPCCredentials.