# Functions
FromContext returns token from the incoming context metadata.
NewPerRPCCredentials creates credentials.PerRPCCredentials based on token generator func.
# Type aliases
GeneratorFunc - a function which takes the credentials.AuthInfo of the peer of the client or server
and returns a token as a string (example: JWT), a expireTime, and an error.