# Functions
GenToken returns a 8 character random token.
GenTokenFile creates and returns the path to a temporary file containing a token generated by GenToken() with read & write permissions of the current processes.
StreamClientInterceptor returns a grpc.StreamClientInterceptor that adds the given auth token to outgoing RPC calls.
StreamServerInterceptor returns a grpc.StreamServerInterceptor that checks incoming RPC calls for the given auth token.
UnaryClientInterceptor returns a grpc.UnaryClientInterceptor that adds the given auth token to outgoing RPC calls.
UnaryServerInterceptor returns a grpc.UnaryServerInterceptor that checks incoming RPC calls for the given auth token.
Write writes the authorization token to s.
# Variables
ErrInvalidToken is returned by Check when the auth-token was not as expected.
NoAuth is the token used for authenticationless connections.
# Type aliases
Token is a secret password that must be sent on connection.