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
Closed

Client requestResource method did not contain PATCH method #368

ffilipus opened this issue May 25, 2021 · 1 comment
Labels

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants