@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
15 lines • 457 B
TypeScript
export declare class RedoclyOAuthClient {
private clientName;
private version;
private dir;
private cipher;
private decipher;
constructor(clientName: string, version: string);
login(baseUrl: string): Promise<void>;
logout(): Promise<void>;
isAuthorized(baseUrl: string, apiKey?: string): Promise<boolean>;
private saveToken;
private readToken;
private removeToken;
}
//# sourceMappingURL=oauth-client.d.ts.map