gin

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchAuthInfo

func FetchAuthInfo(c *gin.Context) (*auth.AuthInfo, bool)

func LoadAuthInfo

func LoadAuthInfo(ctx context.Context) (*auth.AuthInfo, bool)

Types

type GinAuth

type GinAuth struct {
	*auth.Auth
}

func NewGinAuth

func NewGinAuth(config *auth.AuthConfig) *GinAuth

func (*GinAuth) AuthMiddleware

func (a *GinAuth) AuthMiddleware(c *gin.Context)

Jump to

Keyboard shortcuts

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