UNPKG

@hapic/oauth2

Version:

A oauth2 api client based on axios.

12 lines (11 loc) 386 B
import { Client } from 'hapic'; import type { ConfigInput, Options } from './config'; import { AuthorizeAPI, TokenAPI, UserInfoAPI } from './domains'; export declare class OAuth2Client extends Client { readonly '@instanceof': symbol; readonly options: Options; authorize: AuthorizeAPI; token: TokenAPI; userInfo: UserInfoAPI; constructor(input?: ConfigInput); }