import { AuthleteApiFactory } from "https://deno.land/x/authlete_deno@v1.2.7/src/api/authlete_api_factory.ts";
Get a promise object that returns the default AuthleteApi
instance.
When this method is first called, it creates a promise object
that loads configuration information from a property file named
authlete.json
(, which must be located directly under the execution
directory) and creates an instance of the standard implementation
class of AuthleteApi
interface with the configuration. And then,
the promise object is cached in this class. This means that subsequent
calls to this method return the cached promise object.
Returns
Promise<AuthleteApi>