iya-sts
    Preparing search index...

    Variable prepareKeySet

    prepareKeySet: (realmId: any, options: any) => any = prepareKeySet

    Type Declaration

      • (realmId: any, options: any): any
      • Makes a realm's key set in the background where it does not exist yet, so the read that follows does not generate synchronously. Never rejects.

        Where the set was made here, the promise also waits — bounded by CERTIFICATE_WAIT_MS — for its certification, so the request that follows signs with a certified key; options.awaitCertificate false skips that, for a caller that reads the set and signs nothing.

        Parameters

        • realmId: any

          the realm

        • options: any

          optionally { awaitCertificate }, true unless false

        Returns any

        a promise resolving once the set is held (false when there was nothing to prepare)