Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubDiscovery ¶
type GitHubDiscovery interface {
GetUsernameFromEmail(ctx context.Context, emails []string) ([]string, error)
GetEmailFromUsername(ctx context.Context, usernames []string) ([]string, error)
}
GitHubDiscovery is required because there are multiple ways to convert a GitHub email into a username. At OVO we use SAML, but other organisations may use public emails or another mechanism.
Click to show internal directories.
Click to hide internal directories.