/// <summary> /// Returns the GitHub App associated with the authentication credentials used (requires GitHubApp auth). /// </summary> /// <remarks>https://developer.github.com/v3/apps/#get-the-authenticated-github-app</remarks> public IObservable <GitHubApp> GetCurrent() { return(_client.GetCurrent().ToObservable()); }
/// <summary> /// Returns the GitHub App associated with the authentication credentials used (requires GitHubApp JWT token auth). /// </summary> /// <remarks> /// https://developer.github.com/v3/apps/#get-the-authenticated-github-app /// </remarks> /// <returns></returns> public async Task <GitHubApp> GetCurrentAsync() { return(await _gitHubAppsClient.GetCurrent()); }