@n8n/n8n-nodes-langchain
Version:
21 lines (20 loc) • 373 B
TypeScript
export type LoginMethod = {
type: 'none';
} | {
type: 'bearer';
token: string;
} | {
type: 'header';
name: string;
prefix: string;
key: string;
} | {
type: 'basic';
username: string;
password: string;
};
export interface EndpointCredential {
baseUrl: string;
login: LoginMethod;
gatewayHeaders: Record<string, string>;
}