iya-sts
    Preparing search index...

    Variable signatureOk

    signatureOk: (secret: string, params: any) => boolean = ...

    Type Declaration

      • (secret: string, params: any): boolean
      • Checks a YK-VAL signature in constant time.

        Parameters

        • secret: string

          the client key, base64

        • params: any

          the parameters, including h

        Returns boolean

        true when h matches