Skip to main content

restore

Function restore 

Source
pub(super) async fn restore(
    services: &Services,
    tokenexpires: &Arc<Map>,
) -> Result
Expand description

Restores the origin lifetime of each session an earlier release adopted with no provider to refresh it against.

The origin column still names every adopted device with the value stamped, so a token carrying exactly that value goes back to the foreign shape, for the adoption to carry again once a provider is configured.