/** * Linear OAuth Provider with PKCE Support * * Linear supports PKCE (Proof Key for Code Exchange) which allows * public clients (like CLI apps) to authenticate without a client secret. * * Linear's OAuth flow: * https://developers.linear.app/docs/oauth/authentication * * To configure ralph-starter's Linear OAuth app: * 1. Go to https://linear.app/settings/api/applications * 2. Create a new OAuth application * 3. Set redirect URI to http://127.0.0.1:52847/callback * 4. Copy the Client ID and set RALPH_LINEAR_CLIENT_ID env var */ import { BaseOAuthProvider } from '../../auth/providers/base.js'; export declare class LinearOAuthProvider extends BaseOAuthProvider { name: string; displayName: string; authorizationUrl: string; tokenUrl: string; supportsPKCE: boolean; scopes: string[]; clientId: string; clientSecret: string | undefined; authParams: { prompt: string; actor: string; }; /** * Check if Linear OAuth is configured * With PKCE, we only need the client_id (no secret required) */ isConfigured(): boolean; } export declare const linearProvider: LinearOAuthProvider; //# sourceMappingURL=auth.d.ts.map