authhandler

package
v0.0.0-...-9b36f3e Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLICobraHandler

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

func NewCLIHandler

func NewCLIHandler(authService ports.AuthService) *CLICobraHandler

func (*CLICobraHandler) RegistyCommands

func (handler *CLICobraHandler) RegistyCommands(parentCommand *cobra.Command)

type HTTPGinHandler

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

func NewHttpHandler

func NewHttpHandler(authService ports.AuthService) *HTTPGinHandler

func (*HTTPGinHandler) Login

func (handler *HTTPGinHandler) Login(c *gin.Context)

func (*HTTPGinHandler) Logout

func (handler *HTTPGinHandler) Logout(c *gin.Context)

func (*HTTPGinHandler) Me

func (handler *HTTPGinHandler) Me(c *gin.Context)

func (*HTTPGinHandler) Refresh

func (handler *HTTPGinHandler) Refresh(c *gin.Context)

func (*HTTPGinHandler) RegistryRoutes

func (handler *HTTPGinHandler) RegistryRoutes(router *gin.Engine)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳