| 48 | } |
| 49 | |
| 50 | type AuthorizationCodeHandler struct { |
| 51 | config *oauth2.Config |
| 52 | serveURL func(url string) error |
| 53 | } |
| 54 | |
| 55 | func (r AuthorizationCodeHandler) HandlePendingSession(ctx context.Context, listener net.Listener) (*oauth2.Token, error) { |
| 56 | state := generateState() |
nothing calls this directly
no outgoing calls
no test coverage detected