Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// Port is the port the server is listening on
Port int
// contains filtered or unexported fields
}
Server represents an auth callback endpoint
func (Server) AuthCode ¶
func (h Server) AuthCode() string
AuthCode returns the authorization code from the callback
func (Server) Error ¶
func (h Server) Error() string
Error returns any error that occurred during the OAuth flow
func (Server) ErrorDescription ¶
func (h Server) ErrorDescription() string
ErrorDescription returns the error description if an error occurred
Click to show internal directories.
Click to hide internal directories.