Skip to content
To validate an Google ID Token in Golang
Go
Branch: master
Clone or download
Latest commit f9aca29 Dec 20, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore init Jan 30, 2016
LICENSE Initial commit Jan 30, 2016
README.md 微調整 Dec 20, 2016
googletokenidverifire.go
googletokenidverifire_test.go 微調整 Dec 20, 2016

README.md

GoogleIdTokenVerifier

To validate an Google ID Token in Golang

Usage:

authToken := "XXXXXXXXXXX.XXXXXXXXXXXX.XXXXXXXXXX"

aud := "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com"

fmt.Println(Verify(authToken, aud))
You can’t perform that action at this time.