Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
17 lines
628 B
Plaintext
17 lines
628 B
Plaintext
import { DirectusClient } from "../types/client.js";
|
|
import { AuthenticationClient, AuthenticationConfig, AuthenticationMode } from "./types.js";
|
|
|
|
//#region src/auth/composable.d.ts
|
|
|
|
/**
|
|
* Creates a client to authenticate with Directus.
|
|
*
|
|
* @param mode AuthenticationMode
|
|
* @param config The optional configuration.
|
|
*
|
|
* @returns A Directus authentication client.
|
|
*/
|
|
declare const authentication: (mode?: AuthenticationMode, config?: Partial<AuthenticationConfig>) => <Schema>(client: DirectusClient<Schema>) => AuthenticationClient<Schema>;
|
|
//#endregion
|
|
export { authentication };
|
|
//# sourceMappingURL=composable.d.ts.map |