没有合适的资源?快使用搜索试试~ 我知道了~
gcp-iap-auth:Go中的简单服务器实现和程序包,可帮助您保护在Cloud IAP(身份识别代理)后面的GCP上运行的W...
共86个文件
go:54个
md:7个
pem:6个
需积分: 9 0 下载量 6 浏览量
2021-02-03
12:08:19
上传
评论
收藏 94KB ZIP 举报
温馨提示
gcp-iap-auth gcp-iap-auth是的简单服务器实现和软件包,可通过验证请求中的IAP签名标头,帮助您保护在GCP上运行的Web应用程序在。 为什么 验证签名的标头可帮助您保护应用程序免受以下几种风险: IAP意外禁用; 防火墙配置错误; 从项目内部访问。 如何将其作为包装使用 go get - u github . com / imkira / gcp - iap - auth / jwt 以下只是所提供的的摘录: // Here we validate the tokens in all requests going to // our server at http://127.0.0.1:12345/auth // For valid tokens we return 200, otherwise 401. func AuthHandler ( w http. ResponseWriter , req * http. Request ) { if err := jwt . ValidateRequestClaims ( req , cfg ); er
资源推荐
资源详情
资源评论
收起资源包目录
gcp-iap-auth-master.zip (86个子文件)
gcp-iap-auth-master
.travis.yml 1KB
vendor
github.com
namsral
flag
testdata
test.conf 139B
bad_test.conf 8B
flag_test.go 10KB
extras.go 4KB
example_test.go 3KB
LICENSE 1KB
extras_test.go 6KB
flag.go 32KB
examples
gopher.go 638B
gopher.conf 77B
export_test.go 543B
README.md 5KB
dgrijalva
jwt-go
.travis.yml 58B
rsa.go 2KB
cmd
jwt
app.go 6KB
README.md 413B
parser.go 4KB
doc.go 166B
http_example_test.go 5KB
rsa_utils.go 2KB
token.go 3KB
hmac_example_test.go 2KB
rsa_test.go 6KB
test
sample_key.pub 451B
ec512-private.pem 365B
hmacTestKey 64B
helpers.go 773B
ec256-public.pem 178B
ec384-public.pem 215B
ec384-private.pem 288B
ec256-private.pem 227B
ec512-public.pem 268B
sample_key 2KB
ecdsa_test.go 3KB
ecdsa_utils.go 1KB
ecdsa.go 3KB
signing_method.go 1KB
parser_test.go 8KB
example_test.go 4KB
errors.go 2KB
LICENSE 1KB
claims.go 4KB
request
oauth2.go 768B
extractor_example_test.go 633B
doc.go 247B
extractor.go 2KB
request_test.go 2KB
extractor_test.go 2KB
request.go 926B
hmac.go 2KB
VERSION_HISTORY.md 6KB
none.go 2KB
MIGRATION_GUIDE.md 5KB
.gitignore 16B
hmac_test.go 3KB
map_claims.go 3KB
rsa_pss.go 3KB
README.md 7KB
rsa_pss_test.go 4KB
none_test.go 2KB
Dockerfile 870B
glide.lock 313B
auth.go 859B
config.go 4KB
main.go 1KB
glide.yaml 175B
examples
nginx.conf 2KB
simple.go 1KB
hello.go 1KB
proxy.go 1KB
.gitignore 69B
CHANGELOG.md 207B
Makefile 843B
.dockerignore 38B
README.md 8KB
jwt
audience_test.go 1KB
doc.go 274B
token.go 998B
claims.go 660B
pubkey.go 1KB
config.go 618B
audience.go 2KB
request.go 891B
LICENSE.txt 1KB
healthz.go 230B
共 86 条
- 1
资源评论
阚发景
- 粉丝: 16
- 资源: 4614
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功