diff --git a/source/import_documentation/Components/Solid-Auth.rst b/source/import_documentation/Components/Solid-Auth.rst index b42516b28f3407efc8fa32de2eceb75d3174af40..912614513112d243b5e73fe2ad4fa685d3c6eb4a 100644 --- a/source/import_documentation/Components/Solid-Auth.rst +++ b/source/import_documentation/Components/Solid-Auth.rst @@ -52,6 +52,7 @@ Here is an example to make you understand the logic: }); </script> +.. _bind-user: bind-user ---------- To associate the currently logged in user to a component, add the bind-user attribute to it. diff --git a/source/import_documentation/Components/Solid-Router.rst b/source/import_documentation/Components/Solid-Router.rst index 126654b11b3a752a902338388fe49348efa3f7d5..72a96697c00e0a6aee1d3aa51287eb2cde900fa6 100644 --- a/source/import_documentation/Components/Solid-Router.rst +++ b/source/import_documentation/Components/Solid-Router.rst @@ -134,6 +134,11 @@ will result in: bind-resources ></sib-conversation> +In the same way, the ``bind-user`` attribute can be used to associate the +currently logged in user to a component and set its ``data-src`` attribute +accordingly. +More informations about this in the :ref:`sib-auth documentation<bind-user>`. + Navigate with an event ~~~~~~~~~~~~~~~~~~~~~