sessionAsFlow

Get the current UserSessionInfo object as a Flow. The flow will emit a new value whenever the session is updated. This allows observers to watch for changes to authentication or consent status.