Documentation
¶
Overview ¶
Package github implements the GitHub social provider.
Index ¶
- type Provider
- func (p Provider) AuthCodeURL(_ context.Context, creds upstream.Credentials, params upstream.AuthParams) (upstream.AuthCodeRequest, error)
- func (Provider) DefaultScopes() []string
- func (Provider) Display() upstream.Display
- func (p Provider) Exchange(ctx context.Context, creds upstream.Credentials, ...) (upstream.Identity, error)
- func (Provider) Kind() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
AuthURL string
TokenURL string
UserURL string
EmailsURL string
HTTPClient *http.Client
}
func (Provider) AuthCodeURL ¶
func (p Provider) AuthCodeURL(_ context.Context, creds upstream.Credentials, params upstream.AuthParams) (upstream.AuthCodeRequest, error)
func (Provider) DefaultScopes ¶
Click to show internal directories.
Click to hide internal directories.