Authentication state
To check if a user is authenticated, you can use theauthState variable from the useTurnkey hook.
onAuthenticationSuccess callback passed in through the TurnkeyProvider to handle post-authentication logic, such as redirecting.