Versions in this module Expand all Collapse all v0 v0.0.24 Feb 26, 2021 Changes in this version + const SESSION_STATE_KEY + func Authorize(ctx *fiber.Ctx) error + func Callback(ctx *fiber.Ctx) error + func GenOAuthState(ctx *fiber.Ctx) (string, *common.Result) + func GetOAuthState(ctx *fiber.Ctx) (string, *common.Result) + func GetUser(token string) *common.Result + func Middleware(ctx *fiber.Ctx) error + type Config struct + AuthURL string + CallbackURL string + ClientID string + ClientSecret string + TokenURL string + UserURL string + type User struct + AccessToken string + ExpiresIn int + Raw struct{ ... } + RefreshToken string + Scope string