UNPKG

@hapic/oauth2

Version:

A oauth2 api client based on axios.

15 lines (14 loc) 508 B
import type { AuthorizeCodeChallengeMethod, AuthorizeResponseMode, AuthorizeResponseType } from './constants'; export type AuthorizeParameters = { client_id?: string; redirect_uri?: string; response_mode?: `${AuthorizeResponseMode}`; /** * default: code */ response_type?: `${AuthorizeResponseType}` | `${AuthorizeResponseType}`[]; scope?: string | string[]; state?: string; code_challenge?: string; code_challenge_method?: `${AuthorizeCodeChallengeMethod}`; };