AuthChangedFunction

type AuthChangedFunction = () => (
  event: AuthChangeEvent,
  session: NhostSession | null
) => void