Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleID = "com.example.custom-jwt"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTModule ¶
JWTModule is a module that signs outgoing requests with a JWT token based on the authentication information of the received request
func (*JWTModule) Middleware ¶
func (m *JWTModule) Middleware(ctx core.RequestContext, next http.Handler)
func (*JWTModule) Module ¶
func (m *JWTModule) Module() core.ModuleInfo
func (*JWTModule) OnOriginRequest ¶
Click to show internal directories.
Click to hide internal directories.