auth

package
v0.0.0-...-8be382e Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Auth      *auth.Auth
	Authority *authority.Authority
)

修改密码 如何直接改默认管理员或者其他用户的密码 https://play.golang.org/p/fEefNQ48-L9

Functions

func Initialize

func Initialize()

Initialize changed init to Initialize

Types

type AdminAuth

type AdminAuth struct {
}

func (AdminAuth) GetCurrentUser

func (AdminAuth) GetCurrentUser(c *admin.Context) qor.CurrentUser

func (AdminAuth) LoginURL

func (AdminAuth) LoginURL(c *admin.Context) string

func (AdminAuth) LogoutURL

func (AdminAuth) LogoutURL(c *admin.Context) string

Jump to

Keyboard shortcuts

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