Type Definition
Below is the type definition for theLoginResponse type. This is the return type for the login() method from the useAuth hook. It contains authentication tokens after a successful login.
Response type for login method
LoginResponse type. This is the return type for the login() method from the useAuth hook. It contains authentication tokens after a successful login.
type LoginResponse = {
suki_token: string;
jwt_bearer: string;
};