Documentation
¶
Index ¶
- Variables
- func BeginAuthHandler(ctx *fiber.Ctx)
- func CompleteUserAuth(ctx *fiber.Ctx) (goth.User, error)
- func GetAuthURL(ctx *fiber.Ctx) (string, error)
- func GetContextWithProvider(ctx *fiber.Ctx, provider string) *fiber.Ctx
- func GetFromSession(key string, ctx *fiber.Ctx) (string, error)
- func GetProviderName(ctx *fiber.Ctx) (string, error)
- func GetState(ctx *fiber.Ctx) string
- func Logout(ctx *fiber.Ctx)
- func SetState(ctx *fiber.Ctx) string
- func StoreInSession(key string, value string, ctx *fiber.Ctx) error
- type Params
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Session is Fiber session Session *session.Session )
Functions ¶
func CompleteUserAuth ¶
CompleteUserAuth return User from Fiber Context
func GetAuthURL ¶
GetAuthURL return Auth URL from Fiber Context
func GetContextWithProvider ¶
GetContextWithProvider return new Context with provider
func GetFromSession ¶
GetFromSession read value by key from session
func GetProviderName ¶
GetProviderName return provider name from Fiber Context
Types ¶
Click to show internal directories.
Click to hide internal directories.