Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

API Reference


This section provides a reference for the key TypeScript types and interfaces used as props in the DID Space React components. Understanding these data structures is essential for developers to correctly configure and interact with the components in a TypeScript environment.

Here, you will find an overview of the primary data models that define the state, connection information, and authentication options for a DID Space. For detailed property descriptions and usage, refer to the specific sub-sections.


Key Data Structures#

The following table summarizes the core data types you will encounter when working with the components.

Type/Interface

Description

DIDSpaceGateway

Represents the core connection and identity information for a specific DID Space, including its DID, URL, and API endpoint.

DIDSpaceStatus

An enum that defines the possible connection states of a DID Space, such as CONNECTED, DISCONNECTED, LOADING, or UNAVAILABLE.

AuthorizeConnect

Defines the configuration for the authentication modal, including display messages, callbacks, and connection parameters.

GatewayAuthOptions

Specifies the options required for authenticating with a particular DID Space gateway, extending BaseAuthOptions.

For a complete breakdown of each type and its properties, including all available fields and their definitions, please proceed to the next section.