auth

package
v0.0.0-...-0649046 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: OSL-3.0 Imports: 22 Imported by: 0

Documentation

Index

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 InitGoth

func InitGoth()

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"`
}

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL