Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizeRoute ¶
func AuthorizeRoute(c *fiber.Ctx) bool
func NewJWTSignedToken ¶
func UnauthorizedResponse ¶
func UnauthorizedResponse(c *fiber.Ctx) error
Types ¶
type AuthInfo ¶
func GetAuthInfo ¶
func GetAuthInfo(c *fiber.Ctx) AuthInfo
type LoginClaims ¶
func ValidateJWTSignedToken ¶
func ValidateJWTSignedToken(token string) (bool, LoginClaims, error)
Click to show internal directories.
Click to hide internal directories.