title: How to get login from GitHub with octokit?
body: <p>I tried to get login name by passing token in my application. But don't know how to do that properly. Please help with this issue.</p>
  <pre><code>Console.WriteLine(&quot;Input your token: &quot;);
  string? inputToken = Console.ReadLine();
  
  var gitHubClient = new GitHubClient(new ProductHeaderValue(&quot;MyCoolFilesManager&quot;));
      gitHubClient.Credentials = new Credentials(inputToken);
  
  var login = gitHubClient.User.Current();
  Console.WriteLine(login);
  </code></pre>