Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • Export a PSQR Configuration.

    Parameters

    • options: ExportOptions

      DID and Network Data to fetch the full Configuration.

    Returns Promise<DataResponse>

    Success or Failure Message.

  • importPsqrConfig(config: { identity: { did: string; didDoc: { "@context": ("https://www.w3.org/ns/did/v1" | "https://vpsqr.com/ns/did-psqr/v1")[]; id: string; psqr: { publicIdentity: { name: string; description?: string | undefined; image?: string | undefined; url?: string | undefined; tagline?: string | undefined; bio?: string | undefined; }; publicKe...; name: string; network: { permissions: { url: string; domain: string; grants: { kid: string; grant: string[]; }[]; }[]; config: { name: string; domain: string; content: { search: { url: string; }; list: { url: string; }; feed: { url: string; }; link: { ...; }; beacon: { ...; }; }; services: { ...; }; }; } }, setDefault?: boolean, key?: string): Promise<DataResponse>
  • Import a PSQR Configuration.

    Parameters

    • config: { identity: { did: string; didDoc: { "@context": ("https://www.w3.org/ns/did/v1" | "https://vpsqr.com/ns/did-psqr/v1")[]; id: string; psqr: { publicIdentity: { name: string; description?: string | undefined; image?: string | undefined; url?: string | undefined; tagline?: string | undefined; bio?: string | undefined; }; publicKe...; name: string; network: { permissions: { url: string; domain: string; grants: { kid: string; grant: string[]; }[]; }[]; config: { name: string; domain: string; content: { search: { url: string; }; list: { url: string; }; feed: { url: string; }; link: { ...; }; beacon: { ...; }; }; services: { ...; }; }; } }

      PSQR configuration to import

      • identity: { did: string; didDoc: { "@context": ("https://www.w3.org/ns/did/v1" | "https://vpsqr.com/ns/did-psqr/v1")[]; id: string; psqr: { publicIdentity: { name: string; description?: string | undefined; image?: string | undefined; url?: string | undefined; tagline?: string | undefined; bio?: string | undefined; }; publicKe...
      • name: string
      • network: { permissions: { url: string; domain: string; grants: { kid: string; grant: string[]; }[]; }[]; config: { name: string; domain: string; content: { search: { url: string; }; list: { url: string; }; feed: { url: string; }; link: { ...; }; beacon: { ...; }; }; services: { ...; }; }; }
    • setDefault: boolean = false

      Set as Default Identity if True

    • key: string = ''

      Used to set Key as Default Identity if paired with setDefault

    Returns Promise<DataResponse>

    Success or Failure Message