Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ContextKey = contextKey("key") ContextHost = contextKey("host") ReadonlyKey = contextKey("readonly") )
ContextKey for public key
View Source
var TokenAuth *jwtauth.JWTAuth
TokenAuth is a global authenticator interface
Functions ¶
func NotReadOnlyContext ¶
NotReadOnlyContext makes sure its not a "readonly" JWT
func PubKeyContext ¶
PubKeyContext parses JWT fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.