Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JwtMiddleware = jwtware.New(jwtware.Config{ SigningKey: jwtware.SigningKey{Key: []byte(config.JwtAccessTokenKey)}, TokenLookup: "header:Authorization,cookie:accessToken", AuthScheme: "Bearer", ErrorHandler: func(c *fiber.Ctx, err error) error { return fiber.NewError(fiber.StatusUnauthorized, err.Error()) }, })
Functions ¶
func NoteOwnership ¶
func NoteOwnership(c *fiber.Ctx) error
func SpaceOwnership ¶
func SpaceOwnership(c *fiber.Ctx) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.