handlers

package
v0.0.0-...-5b645f0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
	// contains filtered or unexported fields
}

func NewAuthHandler

func NewAuthHandler(
	userInserter userInserter,
	userGetter userGetter,
	authorizer authorizer,
	googleConfig googleAuthorizer,
	clientURL string,
) AuthHandler

func (AuthHandler) GoogleCallback

func (a AuthHandler) GoogleCallback(c fiber.Ctx) error

func (AuthHandler) GoogleSignIn

func (a AuthHandler) GoogleSignIn(c fiber.Ctx) error

func (AuthHandler) SignIn

func (a AuthHandler) SignIn(c fiber.Ctx) error

func (AuthHandler) SignUp

func (a AuthHandler) SignUp(c fiber.Ctx) error

func (AuthHandler) Verify

func (a AuthHandler) Verify(c fiber.Ctx) error

type UserHandler

type UserHandler struct {
	// contains filtered or unexported fields
}

func NewUserHandler

func NewUserHandler(userGetterByLogin userGetterByLogin) UserHandler

func (UserHandler) GetUser

func (h UserHandler) GetUser(c fiber.Ctx) error

Jump to

Keyboard shortcuts

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