Documentation ¶
Index ¶
- Constants
- type Github
- func (p Github) GetAuthorizationURL(ctx context.Context, deps oauthrelyingparty.Dependencies, ...) (string, error)
- func (Github) GetJSONSchema() map[string]interface{}
- func (p Github) GetUserProfile(ctx context.Context, deps oauthrelyingparty.Dependencies, ...) (authInfo oauthrelyingparty.UserProfile, err error)
- func (Github) ProviderID(cfg oauthrelyingparty.ProviderConfig) oauthrelyingparty.ProviderID
- func (Github) SetDefaults(cfg oauthrelyingparty.ProviderConfig)
Constants ¶
View Source
const Type = liboauthrelyingparty.TypeGithub
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Github ¶
type Github struct{}
func (Github) GetAuthorizationURL ¶
func (p Github) GetAuthorizationURL(ctx context.Context, deps oauthrelyingparty.Dependencies, param oauthrelyingparty.GetAuthorizationURLOptions) (string, error)
func (Github) GetJSONSchema ¶
func (Github) GetUserProfile ¶
func (p Github) GetUserProfile(ctx context.Context, deps oauthrelyingparty.Dependencies, param oauthrelyingparty.GetUserProfileOptions) (authInfo oauthrelyingparty.UserProfile, err error)
func (Github) ProviderID ¶
func (Github) ProviderID(cfg oauthrelyingparty.ProviderConfig) oauthrelyingparty.ProviderID
func (Github) SetDefaults ¶
func (Github) SetDefaults(cfg oauthrelyingparty.ProviderConfig)
Click to show internal directories.
Click to hide internal directories.