Fetch public names
Last updated
Was this helpful?
Last updated
Was this helpful?
The plugin uses your list of public names to let you specify a name when you post a comment. You can also choose to post a comment as "Anonymous".
controller.js
The plugin verifies that the current user is the website owner by comparing the public name of the current webpage to the public names owned by the user. If the public name of the current webpage is not contained in the list of public names owned by the user, it means that the user is not the owner of that webpage.
controller.js
If you haven't blocked any user yet, that structured data won't exist.
The plugin fetches a cipher options handle for symmetric encryption. The structured data that contains the list of blocked users is encrypted using symmetric encryption because it only needs to be accessible by the website owner.
controller.js
The plugin fetches a data identifier handle for the structured data that contains the list of blocked users for the current page.
controller.js
The plugin fetches a structured data handle using the data identifier handle of the structured data for blocked users.
controller.js
The plugin drops the data identifier handle that represents the structured data for blocked users.
controller.js
The plugin fetches the content of the structured data (the list of blocked users for the current page).
controller.js
If your list of blocked users contains at least one blocked user, an "Unblock User" button will appear:
The plugin fetches your and adds them to the UI.
If you are the website owner, the plugin tries to fetch the structured data that contains the list of blocked users for the current page. This list contains the public name of each blocked users along with their signing key. That way, you can based on their public name.