Skip to main content

## auth_initialize

# Function auth_initialize

Source

    pub async fn auth_initialize(
        auth_manager: State<'_, AuthManagerWrapper>,
        database: State<'_, DatabaseWrapper>,
        credentials: State<'_, CredentialStoreWrapper>,
    ) -> Result<Option<Session>, String>

Expand description

Initialize the auth manager (call on app startup) Restores session from storage if available