UNPKG

piral-oauth2

Version:

Plugin to integrate OAuth 2.0 authentication in Piral.

7 lines (6 loc) 244 B
import { OAuth2Config, OAuth2Client } from './types'; /** * Sets up a new client wrapping the OAuth 2.0 API. * @param config The configuration for the client. */ export declare function setupOAuth2Client(config: OAuth2Config): OAuth2Client;