Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow struct {
// contains filtered or unexported fields
}
Flow holds the state for the steps of our OAuth-like Web Application flow.
func (*Flow) BrowserURL ¶
BrowserURL appends GET query parameters to baseURL and returns the url that the user should navigate to in their web browser.
func (*Flow) StartServer ¶
StartServer starts the localhost server and blocks until it has received the web redirect. The writeSuccess function can be used to render a HTML page to the user upon completion.
type TokenResponse ¶
TokenResponse represents the token received by the local server's callback handler.
Click to show internal directories.
Click to hide internal directories.