Versions in this module Expand all Collapse all v0 v0.1.0 Feb 13, 2026 Changes in this version + func RegisterGitHub(r *ProviderRegistry) + type ProviderRegistry struct + func NewProviderRegistry() *ProviderRegistry + func (r *ProviderRegistry) Endpoint(providerID string) (oauth2.Endpoint, bool) + func (r *ProviderRegistry) Register(providerID string, endpoint oauth2.Endpoint, fetcher UserInfoFetcher) + func (r *ProviderRegistry) UserInfo(ctx context.Context, providerID string, token *oauth2.Token) (providerUserID, email string, err error) + type UserInfoFetcher interface + FetchUser func(ctx context.Context, token *oauth2.Token) (providerUserID, email string, err error)