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
19 lines
723 B
Plaintext
19 lines
723 B
Plaintext
import { AuthenticationData, LDAPLoginPayload, LocalLoginPayload, LoginOptions } from "../../../auth/types.cjs";
|
|
import { RestCommand } from "../../types.cjs";
|
|
|
|
//#region src/rest/commands/auth/login.d.ts
|
|
|
|
/**
|
|
* Authenticate as a user.
|
|
*
|
|
* @param email Email address of the user.
|
|
* @param password Password of the user.
|
|
* @param options Optional login settings.
|
|
*
|
|
* @returns Authentication data.
|
|
*/
|
|
declare function login<Schema>(payload: LocalLoginPayload, options?: LoginOptions): RestCommand<AuthenticationData, Schema>;
|
|
declare function login<Schema>(payload: LDAPLoginPayload, options?: LoginOptions): RestCommand<AuthenticationData, Schema>;
|
|
//#endregion
|
|
export { login };
|
|
//# sourceMappingURL=login.d.cts.map |