drupflare/worker - v1.0.4
    Preparing search index...

    Function ownerTokenMatches

    • Whether a presented token is this site's owner token. Only the hash is stored, so the presented value is hashed and the two digests are compared in constant time.

      Parameters

      • store: SecretStore
      • presented: string | null | undefined

      Returns Promise<boolean>