ginhandler

package
v0.0.0-...-d8e0d35 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinHandler

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

func New

func New(
	logger logger.Logger,
	usernameHash [32]byte,
	passwordHash [32]byte,
	authMethodsCallback callback.AuthMethods,
	passwordVerifyCallback callback.PasswordVerify,
) (*GinHandler, error)

New returns Gin handler which can be used in Gin Web Framework.

func (*GinHandler) Handle

func (g *GinHandler) Handle(c *gin.Context)

Handle handles the Corbado webhook request.

Jump to

Keyboard shortcuts

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