Skip to content

Add authentication sample using PAT #2

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

Merged
merged 2 commits into from
Nov 10, 2020

Conversation

inginheiiro
Copy link
Contributor

No description provided.

@inginheiiro inginheiiro self-assigned this Oct 29, 2020
@inginheiiro inginheiiro force-pushed the enhancement/add-auhentication-samples-PAT branch 2 times, most recently from d51cad9 to 10bf97e Compare October 29, 2020 11:56
@inginheiiro inginheiiro changed the title enhancement/add auhentication samples PAT Add authentication sample using PAT Nov 4, 2020
@waldyrious waldyrious force-pushed the enhancement/add-auhentication-samples-PAT branch from a7f1169 to 8b1f741 Compare November 10, 2020 17:53
Copy link
Contributor

@waldyrious waldyrious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebased this on the latest master branch, and applied a few improvements:

  • Renamed the directory from client-credential-pat to personal-access-token
  • Expanded the README and the code comments
  • Replaced the custom OTP code with the 000000 special value for Sandbox
  • Reworded some variables to avoid redundancy, e.g. OTPToken and PATToken
  • Added a .gitignore file
  • Removed the unnecessary content-type header for a request without body
  • Various other small adjustments

Overall, LGTM.

- Reword a passage in the README for improved clarity
- Adjust whitespace in various files
@waldyrious waldyrious merged commit 26e43dd into master Nov 10, 2020
@waldyrious waldyrious deleted the enhancement/add-auhentication-samples-PAT branch November 10, 2020 18:11
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

Successfully merging this pull request may close these issues.

2 participants