openauth

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppIdLen  = 16
	SecretLen = 32
)

Variables

View Source
var (
	// 无效的 OpenAuth 应用
	ErrAppNotFound = fmt.Errorf("open auth 应用未找到")
)
View Source
var (
	OpenAuthService *openAuthService
)

Functions

func GetAccessToken added in v0.3.0

func GetAccessToken(c echo.Context) (bool, db.AccessToken)

func Init

func Init(dbConn *gorm.DB)

Types

This section is empty.

Jump to

Keyboard shortcuts

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