For example for reading a UserSession key you need to link it into the Process keyring, this makes that code much simpler as you don't need to have a Keyring instance for the Process keyring:
let key = session_keyring.search_for_key::<User, _, _>(AUTH_TOKEN_KEY, SpecialKeyring::Process)?;
let auth_token = key.read()?;
For example for reading a
UserSession
key you need to link it into theProcess
keyring, this makes that code much simpler as you don't need to have aKeyring
instance for theProcess
keyring: