middlewares

package
v0.0.0-...-4c15c94 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserInfoKey     = "UserInfoKey"
	UserInfoRoleKey = "UserInfoRoleKey"
	UserInfoIdKey   = "UserInfoIdKey"
	UserInfoToken   = "UserInfoToken"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

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

func NewAuth

func NewAuth(provider *providers.Provider, core *services.Core) *Auth

func (*Auth) Authentication

func (a *Auth) Authentication(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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