Discover Packages
github.com/ofree8/service
pkg
token
package
Version:
v0.0.0-...-05b7728
Opens a new window with list of versions in this module.
Published: Oct 11, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrMissingHeader = errors .New ("The length of the `Authorization` header is zero.")
)
Context is the context of the JSON web token.
Parse validates the token with the specified secret,
and returns the context if the token was valid.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.