/** * AuthProviderFactory * It is a factory class that creates the connection API object based on the provider. */ import { ProvidersEnum } from "../types/apis-related"; import AuthProvider from "./AbstractAuth"; export default class AuthProviderFactory { /** * Creates a connection API object based on the provider. * @param provider The provider to use. * @returns The connection API object. */ static createAuth(provider: ProvidersEnum, email?: string, pw?: string): AuthProvider | null; }