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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.