controller

package
v0.0.0-...-c6dfff9 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

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

AuthController rest controller for authentication

func NewAuthController

func NewAuthController() *AuthController

func (*AuthController) Auth

func (a *AuthController) Auth(c *gin.Context)

Auth gin handler function

type PasswordlessServicesController

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

TODO v2 refactor passwordless architecture

func NewPasswordlessServicesController

func NewPasswordlessServicesController(c *config.Config) *PasswordlessServicesController

func (*PasswordlessServicesController) AuthQR

func (*PasswordlessServicesController) RegisterConfirmQR

func (pc *PasswordlessServicesController) RegisterConfirmQR(c *gin.Context)

func (*PasswordlessServicesController) RegisterGenerateQR

func (pc *PasswordlessServicesController) RegisterGenerateQR(c *gin.Context)

type QRProps

type QRProps struct {
	Secret string `json:"secret"`
}

type SessionController

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

func NewSessionController

func NewSessionController() *SessionController

func (*SessionController) SessionInfo

func (sc *SessionController) SessionInfo(c *gin.Context)

func (*SessionController) SessionJwt

func (sc *SessionController) SessionJwt(c *gin.Context)

Jump to

Keyboard shortcuts

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