public void SaveAuthenticationInfo(IProtectedResource resource, IAuthenticationInfo authenticationInfo) => store[resource.SecurityId] = authenticationInfo;
public void RemoveAuthenticationInfo(IProtectedResource resource) => store.Remove(resource.SecurityId);
public IAuthenticationInfo GetAuthenticationInfo(IProtectedResource resource) => store.ContainsKey(resource.SecurityId) ? store[resource.SecurityId] : null;