Skip to main content

Type Definition

Below is the type definition for the 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;
};