UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

6 lines (5 loc) 445 B
import type { Accountability } from '@directus/types'; import type { BasicAuthMessage } from './messages.js'; import type { AuthenticationState } from './types.js'; export declare function authenticateConnection(message: BasicAuthMessage & Record<string, any>, accountabilityOverrides?: Partial<Accountability>): Promise<AuthenticationState>; export declare function authenticationSuccess(uid?: string | number, refresh_token?: string): string;