An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.2% on proxy.golang.org
Top 4.8% dependent repos on proxy.golang.org

proxy.golang.org : 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.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/posener/googleauth
License: Apache-2.0
Latest release: over 3 years ago
First release: about 4 years ago
Namespace: github.com/posener
Dependent repositories: 1
Last synced: 29 days ago

    Loading...
    Readme
    Loading...