@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
5 lines (4 loc) • 339 B
TypeScript
import type { BasicAuthMessage } from './messages.js';
import type { AuthenticationState } from './types.js';
export declare function authenticateConnection(message: BasicAuthMessage & Record<string, any>): Promise<AuthenticationState>;
export declare function authenticationSuccess(uid?: string | number, refresh_token?: string): string;