openauth

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 10 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