An open API service providing repository metadata for many open source software ecosystems.

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

posener/flarm

Size: 10.8 MB - Last synced: 7 months ago - Pushed: almost 4 years ago