Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateToken ¶
GenerateToken generates a new bearer token for the user
func InteractionMiddleware ¶
func InteractionMiddleware(config InteractionConfig) echo.MiddlewareFunc
InteractionMiddleware captures interactions with the server
func JWTAPIError ¶
func JWTRedirectError ¶
Types ¶
type InteractionConfig ¶
type InteractionConfig struct { Version string Polling *polling.PollingServer Skipper middleware.Skipper Marshaller *encoding.Marshal }
InteractionConfig configures the InteractionMiddleware
type JWTClaim ¶
type JWTClaim struct { Name string `json:"name"` jwt.StandardClaims }
JWTClaim is used to create a new JTW Claim
Click to show internal directories.
Click to hide internal directories.