Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + var DefaultFormRenderer = grantTemplateRenderer + type Form struct + Action string + Error string + GrantedScopes interface{} + Names GrantFormFields + ServiceAccountName string + ServiceAccountNamespace string + Values GrantFormFields + type FormRenderer interface + Render func(form Form, w http.ResponseWriter, req *http.Request) + type Grant struct + func NewGrant(csrf csrf.CSRF, auth authenticator.Request, render FormRenderer, ...) *Grant + func (l *Grant) Install(mux Mux, paths ...string) + func (l *Grant) ServeHTTP(w http.ResponseWriter, req *http.Request) + type GrantFormFields struct + Approve string + CSRF string + ClientID string + Deny string + RedirectURI string + Scopes interface{} + Then string + UserName string + type Mux interface + Handle func(pattern string, handler http.Handler) + HandleFunc func(pattern string, handler func(http.ResponseWriter, *http.Request)) + type Scope struct + Description string + Error string + Granted bool + Name string + Warning string