Skip to main content

IAuth

import { IAuth } from "sendlix";

The IAuth interface defines the structure for authentication-related methods in the Sendlix SDK. It includes methods for user login, logout, and password reset.

MethodDescriptionParametersReturns
getAuthHeaderRetrieves the authentication header for API requests.NonePromise<[string, string]>

info

The default implementation of the IAuth interface is the Auth class. This class handles the authentication process, including token management and API key validation.