Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubProvider ¶
type GitHubProvider struct {
// contains filtered or unexported fields
}
GitHubProvider implements the OAuthProvider interface for GitHub OAuth2.
func New ¶
func New(config core.OAuthConfig) *GitHubProvider
New creates a new GitHubProvider with the given OAuth configuration.
func (*GitHubProvider) AuthURL ¶
func (p *GitHubProvider) AuthURL(state string) string
func (*GitHubProvider) Authenticate ¶
func (*GitHubProvider) HandleCallback ¶
func (*GitHubProvider) Name ¶
func (p *GitHubProvider) Name() string
func (*GitHubProvider) ProviderName ¶
func (p *GitHubProvider) ProviderName() string
Click to show internal directories.
Click to hide internal directories.