/// <inheritdoc /> public Task UpdateUserSessionAsync(string key, UserSessionUpdate session) { var item = _store[key].Clone(); session.CopyTo(item); _store[key] = item; return(Task.CompletedTask); }
/// <summary> /// Copies this instance into another /// </summary> /// <param name="other"></param> /// <returns></returns> public void CopyTo(UserSessionUpdate other) { other.SubjectId = SubjectId; other.SessionId = SessionId; other.Created = Created; other.Renewed = Renewed; other.Expires = Expires; other.Ticket = Ticket; }
/// <summary> /// Copies this instance into another /// </summary> /// <param name="other"></param> /// <returns></returns> public void CopyTo(UserSessionUpdate other) { other.Renewed = Renewed; other.Expires = Expires; other.Ticket = Ticket; }