iya-sts
    Preparing search index...
    didOf: (base: string, rid: string) => string = ...

    Type Declaration

      • (base: string, rid: string): string
      • The DID a random id has under a base URL: the base's host (its port's colon percent-encoded) and each path segment as a component, then users and the id (the did:web method's mapping).

        Parameters

        • base: string

          the realm's base URL, the realm prefix included

        • rid: string

          the random id

        Returns string

        the DID