Skip to main content

storage_get_active_session

Function storage_get_active_session 

Source
pub async fn storage_get_active_session(
    db: State<'_, DatabaseWrapper>,
    creds: State<'_, CredentialStoreWrapper>,
) -> Result<Option<ActiveSession>, String>
Expand description

Get the active session (user + server + token) for session restoration