| 13 | type UserinfoExtractor func(client *http.Client, url string) (config.Claims, error) |
| 14 | |
| 15 | type OAuthService struct { |
| 16 | serviceCfg config.OAuthServiceConfig |
| 17 | config *oauth2.Config |
| 18 | ctx context.Context |
| 19 | userinfoExtractor UserinfoExtractor |
| 20 | id string |
| 21 | } |
| 22 | |
| 23 | func NewOAuthService(config config.OAuthServiceConfig, id string) *OAuthService { |
| 24 | httpClient := &http.Client{ |
nothing calls this directly
no outgoing calls
no test coverage detected