Documentation ¶
Index ¶
- func AuthHandler(router fiber.Router)
- func CallbackHandler(ctx *fiber.Ctx) error
- func DataHandler(ctx *fiber.Ctx) error
- func DeleteAccountHandler(ctx *fiber.Ctx) error
- func InitGoth()
- func LoginHandler(ctx *fiber.Ctx) error
- func LogoutHandler(ctx *fiber.Ctx) error
- func ProviderHandler(ctx *fiber.Ctx) error
- func ProvidersHandler(ctx *fiber.Ctx) error
- func SessionHandler(ctx *fiber.Ctx) error
- func StatusHandler(ctx *fiber.Ctx) error
- func UpdateProviderHandler(ctx *fiber.Ctx) error
- type StatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthHandler ¶
func AuthHandler(router fiber.Router)
func CallbackHandler ¶
func CallbackHandler(ctx *fiber.Ctx) error
func DataHandler ¶
func DataHandler(ctx *fiber.Ctx) error
gets all the user's data and returns it as an actual JSON file
func DeleteAccountHandler ¶
func DeleteAccountHandler(ctx *fiber.Ctx) error
func LoginHandler ¶
func LoginHandler(ctx *fiber.Ctx) error
func LogoutHandler ¶
func LogoutHandler(ctx *fiber.Ctx) error
func ProviderHandler ¶
func ProviderHandler(ctx *fiber.Ctx) error
func ProvidersHandler ¶
func ProvidersHandler(ctx *fiber.Ctx) error
func SessionHandler ¶
func SessionHandler(ctx *fiber.Ctx) error
func StatusHandler ¶
func StatusHandler(ctx *fiber.Ctx) error
func UpdateProviderHandler ¶
func UpdateProviderHandler(ctx *fiber.Ctx) error
Types ¶
type StatusResponse ¶
type StatusResponse struct { Authenticated bool `json:"authenticated"` Blacklist *utils.IBlacklist `json:"blacklist,omitempty"` }
Click to show internal directories.
Click to hide internal directories.