Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Authorization Tokens #4

Open
chrpai opened this issue Jan 7, 2019 · 1 comment
Open

Support Authorization Tokens #4

chrpai opened this issue Jan 7, 2019 · 1 comment

Comments

@chrpai
Copy link

chrpai commented Jan 7, 2019

I don't see anything in these classes to support API authorization. I can submit a pull request to support bearer token auth if you will accept it.

@david-poindexter
Copy link

I added the following line to the GraphQL Query method...
request.Headers.Add("Authorization", "Bearer YOUR_PERSONAL_ACCESS_TOKEN");

In addition, I found I also needed...
request.UserAgent = "request";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants