(ctx context.Context, rw http.ResponseWriter)
| 298 | } |
| 299 | |
| 300 | func (*oauth2ErrorWriter) writeClientNotFound(ctx context.Context, rw http.ResponseWriter) { |
| 301 | httpapi.WriteOAuth2Error(ctx, rw, http.StatusUnauthorized, codersdk.OAuth2ErrorCodeInvalidClient, "The client credentials are invalid") |
| 302 | } |
| 303 | |
| 304 | // extractOAuth2ProviderAppBase is the internal implementation that uses the strategy pattern |
| 305 | // instead of a control flag to handle different error formats. |
nothing calls this directly
no test coverage detected