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

Top 9.7% on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org

proxy.golang.org : github.com/kevinburke/google-oauth-handler

Package google_oauth_handler transparently handles OAuth authentication with Google. Create an Authenticator and then insert it as middleware in front of any resources you want to protect behind Google login, via authenticator.Handle. Handle will call the next middleware with (w, r, *Token), which you can use to make requests to the Google API. The Authenticator handles the OAuth workflow for you, redirecting users to Google, handling the callback and setting an encrypted cookie in the user's browser.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/kevinburke/google-oauth-handler
Keywords: golang , google , google-oauth-handler , middleware , oauth2
License: MIT
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/kevinburke
Dependent repositories: 2
Stars: 5 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...