UNPKG

@redocly/cli

Version:

[@Redocly](https://redocly.com) CLI is your all-in-one OpenAPI utility. It builds, manages, improves, and quality-checks your OpenAPI descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make API g

18 lines 650 B
export declare class RedoclyOAuthClient { readonly credentialsFolderPath: string; readonly credentialsFilePath: string; readonly credentialsFileName: string; private readonly key; private readonly iv; constructor(); login(baseUrl: string): Promise<void>; logout(): Promise<void>; isAuthorized(reuniteUrl: string, apiKey?: string): Promise<boolean>; getAccessToken: (reuniteUrl: string) => Promise<string | null>; private saveCredentials; private readCredentials; private removeCredentials; private encryptCredentials; private decryptCredentials; } //# sourceMappingURL=oauth-client.d.ts.map