integreat
Version:
Node.js integration layer
6 lines (5 loc) • 485 B
TypeScript
import Auth from '../Auth.js';
import type { Authenticator } from '../../types.js';
import type { AuthObject, AuthProp } from '../types.js';
export declare const resolveAuth: (authenticators: Record<string, Authenticator>, auths?: Record<string, Auth>) => (auth?: AuthObject | AuthProp) => Auth | undefined;
export declare const resolveIncomingAuth: (authenticators: Record<string, Authenticator>, auths?: Record<string, Auth>) => (auth?: AuthObject | AuthProp) => Auth[] | undefined;