(ctx context.Context, rw http.ResponseWriter, _ error)
| 294 | } |
| 295 | |
| 296 | func (*oauth2ErrorWriter) writeInvalidClientID(ctx context.Context, rw http.ResponseWriter, _ error) { |
| 297 | httpapi.WriteOAuth2Error(ctx, rw, http.StatusUnauthorized, codersdk.OAuth2ErrorCodeInvalidClient, "The client credentials are invalid") |
| 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") |
nothing calls this directly
no test coverage detected