@betha-plataforma/oauth
Version:
Biblioteca JavaScript para lidar com o fluxo do OAuth 2.0 em aplicações Web, com suporte a TypeScript.
14 lines (13 loc) • 449 B
TypeScript
import { PersistenceType } from './Persistence';
import { FlowType } from './Protocol';
import { OpenIDProvider } from './Provider';
export interface OAuthConfig {
readonly provider: OpenIDProvider;
readonly scope: string;
readonly clientId: string;
readonly clientSecret?: string;
readonly redirectUri: string;
readonly silentRedirectUri?: string;
readonly flow?: FlowType;
readonly persistence?: PersistenceType;
}