UNPKG

react-oauth2-code-pkce

Version:

Provider agnostic react package for OAuth2 Authorization Code flow with PKCE

9 lines (8 loc) 283 B
import type { TTokenRequest } from './types'; interface PostWithXFormParams { url: string; request: TTokenRequest; credentials: RequestCredentials; } export declare function postWithXForm({ url, request, credentials }: PostWithXFormParams): Promise<Response>; export {};