Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyLoadError ¶
type KeyLoadError struct { // Op is the operation which caused the error, such as // "read", "parse" or "cast". Op string // Err is a description of the error that occurred during the operation. Err string }
KeyLoadError describes an error that can occur during key loading
func (*KeyLoadError) Error ¶
func (e *KeyLoadError) Error() string
type TokenError ¶
type TokenError struct { // Err is a description of the error that occurred. Desc string // From is optionally the original error from which this one was caused. From error }
TokenError describes an error that can occur during JWT generation
func ConvertPostToToken ¶
func ConvertPostToToken(postValues url.Values) (string, *TokenError)
ConvertPostToToken coverts a set of POST values into a JWT
func (*TokenError) Error ¶
func (e *TokenError) Error() string
Click to show internal directories.
Click to hide internal directories.