Documentation ¶
Overview ¶
Present OAuth2 dialogs to the user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidRequest = errors.New("Invalid request") ErrAccessDenied = errors.New("Access denied") ErrUnsupportedResponseType = errors.New("Unsupported response type") ErrInvalidScope = errors.New("Invalid scope") ErrServerError = errors.New("Server error") )
OAuth2 errors defined in RFC 6749 section 4.1.2.1.
Functions ¶
Types ¶
type Dialog ¶
type Dialog struct { // If a value is sent to this channel, the dialog is cancelled. Cancel chan bool // HTTP handler called when user after user authorization. SuccessHandler http.HandlerFunc // contains filtered or unexported fields }
An OAuth2 dialog.
Click to show internal directories.
Click to hide internal directories.