Documentation ¶
Index ¶
- Variables
- func AuthBuilder(authHandler func(c *fiber.Ctx) error) func(c *fiber.Ctx) error
- func GetGoogleOauthURL() string
- func GoogleCallbackBuilder(...) func(c *fiber.Ctx) error
- func HandleGoogleCallback(c *fiber.Ctx) error
- func HandleGoogleLogin(c *fiber.Ctx) error
- func InitializeStore(cookieExp time.Duration, cookieDomain string, cookieSecure bool, ...)
- func IsGoogleAuthenticated(c *fiber.Ctx) bool
- func RequireGoogleAuth(c *fiber.Ctx) error
- type ResponseHTTP
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Store *session.Store TokenStore *session.Store )
Functions ¶
func AuthBuilder ¶
func GetGoogleOauthURL ¶
func GetGoogleOauthURL() string
func GoogleCallbackBuilder ¶
func HandleGoogleCallback ¶
func HandleGoogleCallback(c *fiber.Ctx) error
func HandleGoogleLogin ¶
func HandleGoogleLogin(c *fiber.Ctx) error
func InitializeStore ¶
func IsGoogleAuthenticated ¶
func IsGoogleAuthenticated(c *fiber.Ctx) bool
func RequireGoogleAuth ¶
func RequireGoogleAuth(c *fiber.Ctx) error
Types ¶
type ResponseHTTP ¶
Click to show internal directories.
Click to hide internal directories.