package
0.0.0-20241109201159-16952c6bb013
Repository: https://github.com/grokloc/grokloc-apiserver.git
Documentation: pkg.go.dev
# Functions
Decode takes the string returned by `Encode` and decodes the token.
EncodeTokenRequest creates a string used to make a token request.
No description provided by the author
NewToken returns a signed jwt.
SignedStringToHeaderValue produces the value for the Authorization header.
VerifyTokenRequest confirms that `tokenRequest` matches the user ID and api secret.
# Constants
AuthorizationType is a prefix for the signed JWT.
Expiration is offset from current time.
# Variables
No description provided by the author