Package Usage: go: github.com/posener/googleauth
Package googleauth provides painless Google authentication for http handlers.
After creating an Auth object, the `RedirectHandler` should be mounted to answer the
cfg.OAuth2.RedirectURL http calls and the `Authenticate` method can be used to enforce
authentication on http handlers.
The `User` function can be used to get the logged in user in an authenticated http handler.
See simple usage example in ./example/main.go.
9 versions
Latest release: over 3 years ago
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/posener/googleauth
Dependent Repos 1
