oauth/types.ts

OpenCursor · src/agent/oauth/types.ts · typescript · MIT
auth

Copyright (c) 2026 Pawan Osman <https://github.com/PawanOsman> This file is part of OpenCursor — AI coding agent chat inside VS Code. https://github.com/PawanOsman/OpenCursor Licensed under the MIT License. See LICENSE file in the project root. /

// Source: https://github.com/PawanOsman/OpenCursor | License: MIT | Copyright 2026 Pawan Osman
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2026 Pawan Osman <https://github.com/PawanOsman>
 *
 * This file is part of OpenCursor — AI coding agent chat inside VS Code.
 * https://github.com/PawanOsman/OpenCursor
 *
 * Licensed under the MIT License. See LICENSE file in the project root.
 */

/** Public, token-free OAuth types shared across the OAuth subsystem and UI. */

/** OAuth provider kinds we support (login with an account, not an API key). */
export type OAuthKind = import("../../shared/oauthProviders").OAuthProviderKind;

export interface OAuthAccount {
  /** Unique id for this account (allows multiple accounts per kind). */
  id: string;
  kind

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key