MCPcopy Index your code
hub / github.com/coder/coder / writeClientNotFound

Method writeClientNotFound

coderd/httpmw/oauth2.go:300–302  ·  view source on GitHub ↗
(ctx context.Context, rw http.ResponseWriter)

Source from the content-addressed store, hash-verified

298}
299
300func (*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.

Callers

nothing calls this directly

Calls 1

WriteOAuth2ErrorFunction · 0.92

Tested by

no test coverage detected