Documentation ¶
Index ¶
- func Authorize(ctx *gin.Context)
- func AuthorizePage(ctx *gin.Context)
- func DeviceActivate(ctx *gin.Context)
- func DeviceActivatePage(ctx *gin.Context)
- func DeviceCode(ctx *gin.Context)
- func DeviceConfirmation(ctx *gin.Context)
- func DeviceConfirmationPage(ctx *gin.Context)
- func DeviceErrorPage(ctx *gin.Context)
- func DeviceSuccessPage(ctx *gin.Context)
- func GeetestRegister(ctx *gin.Context)
- func GetErrorMessage(ctx *gin.Context) string
- func Init()
- func Login(ctx *gin.Context)
- func LoginPage(ctx *gin.Context)
- func RemoveRepeat(slc []string) (result []string)
- func SetErrorMessage(ctx *gin.Context, msg string) error
- func Token(ctx *gin.Context)
- func TokenIntrospection(ctx *gin.Context)
- func TokenRevoke(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeviceActivate ¶ added in v0.5.1
DeviceActivate device activate post
func DeviceActivatePage ¶ added in v0.5.1
DeviceActivatePage ...
func DeviceConfirmation ¶ added in v0.5.1
DeviceConfirmation ...
func DeviceConfirmationPage ¶ added in v0.5.1
DeviceConfirmationPage ...
func DeviceSuccessPage ¶ added in v0.5.1
DeviceSuccessPage ...
func GeetestRegister ¶ added in v0.4.3
GeetestRegister 验证初始化接口,GET请求
func GetErrorMessage ¶
GetErrorMessage return the first error message
func RemoveRepeat ¶ added in v0.3.0
RemoveRepeat 过滤重复元素
func SetErrorMessage ¶
SetErrorMessage set a error message
func TokenIntrospection ¶ added in v0.2.0
TokenIntrospection ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.