 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultFormRenderer = grantTemplateRenderer{}
    DefaultFormRenderer displays a page prompting the user to approve an OAuth grant. The requesting client id, requested scopes, and redirect URI are displayed to the user.
Functions ¶
This section is empty.
Types ¶
type Form ¶
type Form struct {
	Action string
	Error  string
	Values FormValues
}
    type FormRenderer ¶
type FormRenderer interface {
	Render(form Form, w http.ResponseWriter, req *http.Request)
}
    FormRenderer is responsible for rendering a Form to prompt the user to approve or reject a requested OAuth scope grant.
type FormValues ¶
type Grant ¶
type Grant struct {
	// contains filtered or unexported fields
}
    func NewGrant ¶
func NewGrant(csrf csrf.CSRF, auth authenticator.Request, render FormRenderer, clientregistry oauthclient.Registry, authregistry oauthclientauthorization.Registry) *Grant
 Click to show internal directories. 
   Click to hide internal directories.