UNPKG

ai-auth

Version:

Complete Auth-Agent SDK - Agent authentication for AI developers + OAuth client integration for website developers

32 lines 815 B
"use strict"; /** * Auth-Agent SDK * * Complete SDK with two distinct modules: * * 1. Agent SDK (`@auth-agent/sdk/agent`) - For AI agent developers * 2. Client SDK (`@auth-agent/sdk/client`) - For website developers * * @example Agent SDK (for AI agents) * ```typescript * import { AgentSDK } from '@auth-agent/sdk/agent'; * * const sdk = new AgentSDK({ * agentId: 'agent_abc123', * agentSecret: 'secret_xyz', * modelName: 'openai/gpt-4o' * }); * ``` * * @example Client SDK (for websites) * ```typescript * import { SignInWithAuthAgent } from '@auth-agent/sdk/client'; * * <SignInWithAuthAgent * clientId="client_abc123" * redirectUri="https://yourapp.com/callback" * /> * ``` */ Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=index.js.map