handler

package
v0.0.0-...-015e9e7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize(ctx *gin.Context)

Authorize: oauth获取授权码

func LoginCaptcha

func LoginCaptcha(ctx *gin.Context)

LoginCaptcha : 图形验证码

func Redirect

func Redirect(ctx *gin.Context)

Redirect: oauth跳转地址 完成将授权码和client信息重定向到获取令牌接口的工作

func Token

func Token(ctx *gin.Context)

Token: oauth获取令牌

Types

type Captcha

type Captcha struct {
	Id           string
	Type         string
	VerifyValue  string
	Base64String string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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