没有合适的资源?快使用搜索试试~ 我知道了~
graphql-go-auth:简易的https身份验证包
共14个文件
go:9个
json:1个
yaml:1个
需积分: 5 0 下载量 162 浏览量
2021-05-15
17:22:27
上传
评论
收藏 13KB ZIP 举报
温馨提示
Graphql Go身份验证 使您可以使用轻松处理身份验证。 目前,该项目向Google提供Oauth2身份验证。 使用范例 # 1- go to example cd example # 2- get the required packages go get ./... # 3- use the script to start and watch ./start.sh # 4- edit example/_config/global.json # 5- visit localhost:8080 然后,您可以在GraphiQL中输入此内容。 确保您的Google客户端ID和密钥在global.json中正确无误。 变异将返回您应重定向到的URL。 但是该URL也可以在标头中传递 mutation { triggerOauth ( input : { username : "
资源推荐
资源详情
资源评论
收起资源包目录
graphql-go-auth-master.zip (14个子文件)
graphql-go-auth-master
example
_config
global.example.json 457B
main.go 7KB
start.sh 703B
.realize.yaml 335B
authGoogle
handler.go 2KB
fromto.go 543B
authCommon
login_test.go 857B
fromto.go 2KB
login.go 5KB
.gitignore 348B
README.md 1KB
authUtils
cookie.go 1KB
config.go 2KB
failures.go 1KB
共 14 条
- 1
资源评论
CodeWizardess
- 粉丝: 15
- 资源: 4691
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功