package
1.0.3
Repository: https://github.com/oxisto/go-httputil.git
Documentation: pkg.go.dev

# Functions

ExtractFromFirstAvailable extracts the token out of the specified extractors.
ExtractTokenFromCookie extracts a JWT out of an HTTP cookie.
ExtractTokenFromHeader extracts a JWT out of the authorization header of an HTTP request.
IssueToken is a little helper that issues tokens for a specified key, subject and expiry time.
NewHandler creates a new instance of the JWT handler.

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

ErrorHandlerFunc defines a function which is called if an error occured during the extraction of a token.
TokenExtractorFunc defines a function which extracts a token out of an HTTP request.