auth

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func (*Handler) Auth

func (h *Handler) Auth() gin.HandlerFunc

func (*Handler) Callback

func (h *Handler) Callback() gin.HandlerFunc

func (*Handler) Destroy

func (h *Handler) Destroy() gin.HandlerFunc

func (*Handler) SignIn

func (h *Handler) SignIn() gin.HandlerFunc

type Router

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

func NewAuthRouter

func NewAuthRouter(rg *gin.RouterGroup, config *config.AuthConfig, logger *zap.Logger, repo repos.IRepository) *Router

func (*Router) AddRouter

func (r *Router) AddRouter()

Jump to

Keyboard shortcuts

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