import type * as ElevenLabs from "../index"; /** * Response model for OAuth2 JWT auth connections */ export interface OAuth2JwtResponse { name: string; provider: string; /** JWT signing algorithm */ algorithm?: ElevenLabs.OAuth2JwtResponseAlgorithm; /** Key ID (kid) for JWT header - useful for key rotation */ keyId?: string; /** JWT issuer (iss claim) */ issuer: string; /** JWT audience (aud claim) */ audience: string; /** JWT subject (sub claim) */ subject: string; /** Token expiration time in seconds */ expirationSeconds?: number; /** Additional custom claims to include in the JWT */ extraParams?: Record; /** Token endpoint URL for exchanging JWT for access token */ tokenUrl: string; /** OAuth2 scopes to request when exchanging JWT for access token */ scopes?: string[]; id: string; usedBy?: ElevenLabs.AuthConnectionDependencies; }