dashpresshq/dashpress

View on GitHub
src/backend/users/portal/main.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import type { ISuccessfullAuthenticationResponse } from "@/shared/types/auth/portal";

export const getPortalAuthenticationResponse = async (
  username: string,
  getAuthToken: (
    username: string
  ) => Promise<ISuccessfullAuthenticationResponse>
) => {
  return await getAuthToken(username);
};