import { AuthleteApiFactory } from "https://deno.land/x/authlete_deno@v1.2.7/src/api/authlete_api_factory.ts";
Create an instance of a class that implements AuthleteApi
interface with configuration.
Parameters
config: AuthleteConfiguration
Configuration passed to the constructor of the target
implementation class specified by implInfo
.
optional
implInfo: ImplInfo = [UNSUPPORTED]The information about a class that implements AuthleteApi
interface. Defaults to the information about the standard
implementation. Note that an implementation class specified
by this must have a constructor that only takes one argument
of type AuthleteConfiguration
.
Returns
Promise<AuthleteApi>