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

Samples #7

Merged
merged 4 commits into from
Dec 6, 2018
Merged

Samples #7

merged 4 commits into from
Dec 6, 2018

Conversation

rayluo
Copy link
Collaborator

@rayluo rayluo commented Dec 3, 2018

This PR contains the first 3 samples for MSAL Python.

Copy link
Contributor

@abhidnya13 abhidnya13 left a comment

Choose a reason for hiding this comment

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

Minor typos. Otherwise LGTM :shipit:


config = json.load(open(sys.argv[1]))

# Create a preferrably long-lived app instance which maintains a token cache.
Copy link
Contributor

Choose a reason for hiding this comment

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

preferably

print("Pick the account you want to use to proceed:")
for a in accounts:
print(a["username"])
# Assumeing the end user chose this one
Copy link
Contributor

Choose a reason for hiding this comment

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

assuming

@rayluo rayluo merged commit 92d094a into dev Dec 6, 2018
@rayluo rayluo deleted the samples branch December 6, 2018 22:15
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