iya-sts
    Preparing search index...
    symmetricKeyFor: (secret: any, alg: string, enc: string) => Buffer = ...

    Type Declaration

      • (secret: any, alg: string, enc: string): Buffer
      • Derives, by HKDF-SHA256, the key one symmetric algorithm pair uses from the realm's secret.

        Parameters

        • secret: any

          the realm's refresh-token secret

        • alg: string

          the key-management algorithm

        • enc: string

          the content encryption

        Returns Buffer

        the derived key