Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMiddlewareFiber ¶
type AuthMiddlewareFiber struct { PublicKey string PrivateKey string AuthHeader string TokenHeader string }
func AuthMiddleware ¶
func AuthMiddleware(publicKey string, privateKey string, authHeader string, tokenHeader string) *AuthMiddlewareFiber
func (AuthMiddlewareFiber) GetAndDecodeToken ¶
func (auth AuthMiddlewareFiber) GetAndDecodeToken(ctx *fiber.Ctx) (err error)
Click to show internal directories.
Click to hide internal directories.