Skip to main content

use_auth_state

Function use_auth_state 

Source
pub fn use_auth_state() -> Memo<AuthSession>
Expand description

Reactive memo for the current AuthSession.

Use this when a component needs to branch on anonymous vs authenticated state.