Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResult ¶
type AuthenticationProvider ¶
type AuthenticationProvider interface { Verify(w http.ResponseWriter, r *http.Request) Callback(w http.ResponseWriter, r *http.Request) (*AuthResult, error) }
func NewGithubProvider ¶
func NewGithubProvider(clientID, clientSecret, organization string) AuthenticationProvider
func NewMockProvider ¶
func NewMockProvider() AuthenticationProvider
type UserOrg ¶
type UserOrg struct { Login string `json:"login"` ID int `json:"id"` NodeID string `json:"node_id"` URL string `json:"url"` ReposURL string `json:"repos_url"` EventsURL string `json:"events_url"` HooksURL string `json:"hooks_url"` IssuesURL string `json:"issues_url"` MembersURL string `json:"members_url"` PublicMembersURL string `json:"public_members_url"` AvatarURL string `json:"avatar_url"` Description string `json:"description"` }
Click to show internal directories.
Click to hide internal directories.