UNPKG

fluid-oas

Version:

Build declarative OpenApiv3.* specifications.

19 lines (18 loc) 566 B
import { type BaseInterface } from "./base"; export interface OpenApiOAuthFlow extends BaseInterface { addAuthorizationUrl(url: string): this; addTokenUrl(url: string): this; addRefreshUrl(url: string): this; addScopes(mappings: Partial<{ [K in string]: string; }>): this; } export declare const OAuthFlow: { addAuthorizationUrl(authorizationUrl: string): { addTokenUrl(tokenUrl: string): { addScopes(mappings: Partial<{ [x: string]: string; }>): OpenApiOAuthFlow; }; }; };