@archastro/sdk
    Preparing search index...

    Interface PlatformClientClass<TClient>

    interface PlatformClientClass<TClient extends PlatformClient = PlatformClient> {
        new PlatformClientClass(...args: any[]): TClient;
        extend<TExtended extends PlatformClientConstructor<PlatformClient>>(
            extension: PlatformClientExtension<
                PlatformClientClass<TClient>,
                TExtended,
            >,
        ): PlatformClientClass<InstanceType<TExtended>>;
        forApp(options: ForAppOptions): AppPlatformClient<TClient>;
        withCredentials(
            apiKey: string,
            email: string,
            password: string,
            baseUrl?: string,
        ): Promise<TClient>;
        withSecretKey(key: string, baseUrl?: string): TClient;
        withToken(apiKey: string, accessToken: string, baseUrl?: string): TClient;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Parameters

      • apiKey: string
      • email: string
      • password: string
      • OptionalbaseUrl: string

      Returns Promise<TClient>