Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client requestResource method did not contain PATCH method #368

Closed
ffilipus opened this issue May 25, 2021 · 1 comment · May be fixed by roma8389/GreenridgeApp#112 or roma8389/GreenridgeApp#118
Closed

Comments

@ffilipus
Copy link
Contributor

Hello,
I'm using openid-client version 4.7.3 with typescript and API I'm connecting needs http PATCH method. It's missing in index.d.ts.

 requestResource(
    resourceUrl: string | URL,
    accessToken: TokenSet | string,
    options?: {
      headers?: object;
      body?: string | Buffer;
      method?: "GET" | "POST" | "PUT" | "HEAD" | "DELETE" | "OPTIONS" | "TRACE";
      tokenType?: string;
      DPoP?: DPoPInput;
    }
  ): CancelableRequest<Response<Buffer>>;

Is it intentional? Thanks

@ffilipus ffilipus changed the title Client requestResource method did contain PATCH method Client requestResource method did not contain PATCH method May 25, 2021
@panva
Copy link
Owner

panva commented May 25, 2021

not intended, feel free to submit a PR.

@panva panva closed this as completed May 25, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2021
@panva panva removed the triage label Oct 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.