useSignIn
useSignIn(
options?):SignIn
The one helper a sign-in screen needs. You write the markup, so it looks like the rest of your site; this does the call, the cooldown, and knowing when the visitor is in:
it uses the device’s visitor token and consent from the audience option, and signed-in is reported when, after the link was sent, the visitor’s audiences change (the content client
renews them when the tab becomes visible again after the link is followed, and, while the link is pending, every few seconds, so it also works when the link is opened on another device). The platform draws no sign-in screen of its own.
Parameters
Section titled “Parameters”options?
Section titled “options?”UseSignInOptions = {}