using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit.Reactive { public interface IObservableUsersClient { /// /// Returns the user specified by the login. /// /// The login name for the user [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")] [SuppressMessage("Microsoft.Naming", "CA1726:UsePreferredTerms", MessageId = "login")] IObservable Get(string login); /// /// Returns a for the current authenticated user. /// /// Thrown if the client is not authenticated. /// A IObservable Current(); /// /// Update the specified . /// /// /// Thrown if the client is not authenticated. /// A IObservable Update(UserUpdate user); } }