Skip to content
Protect http endpoints with google_apps
Go
Find file
Latest commit e652d82 @tobi tobi Update README.md

README.md

GoogleAppsHandler "middleware".

Wraps the passed HandlerFunc with google apps authentication

Example:

import "github.com/shopify/google_apps"

http.HandleFunc("/", google_apps.ProtectionHandler("shopify.com", YourOwnHttpHandler))
Something went wrong with that request. Please try again.