Documentation ¶
Index ¶
- Constants
- Variables
- func NewTeamVerifier(teams []Team, gitHubClient Client) verifier.Verifier
- func NewUserVerifier(users []string, gitHubClient Client) verifier.Verifier
- type Client
- type OAuthClient
- type OrganizationTeams
- type OrganizationVerifier
- type Provider
- type Team
- type TeamVerifier
- type UserVerifier
- type Verifier
Constants ¶
View Source
const DisplayName = "GitHub"
View Source
const ProviderName = "github"
Variables ¶
View Source
var Scopes = []string{"read:org"}
Functions ¶
Types ¶
type Client ¶
type OAuthClient ¶
type OrganizationTeams ¶
type OrganizationVerifier ¶
type OrganizationVerifier struct {
// contains filtered or unexported fields
}
func NewOrganizationVerifier ¶
func NewOrganizationVerifier( organizations []string, gitHubClient Client, ) OrganizationVerifier
type Provider ¶
type Provider interface { PreTokenClient() (*http.Client, error) OAuthClient Verifier }
func NewProvider ¶
func NewProvider( gitHubAuth *db.GitHubAuth, redirectURL string, ) Provider
type TeamVerifier ¶
type TeamVerifier struct {
// contains filtered or unexported fields
}
type UserVerifier ¶
type UserVerifier struct {
// contains filtered or unexported fields
}
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.