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

Fix main provider flow to try other bearer token providers if exchang… #42

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

zarenner
Copy link
Contributor

…ing for a session token fails.

Add exception handling to continue trying other bearer token providers if one throws.

@zarenner
Copy link
Contributor Author

#41

…ing for a session token fails.

Add exception handling to continue trying other bearer token providers if one throws.
@zarenner zarenner force-pushed the users/zarenner/fixFlow branch from 14b75a4 to aac0bc3 Compare November 20, 2018 16:40
ILogger logger,
IAuthUtil authUtil,
IBearerTokenProvidersFactory bearerTokenProvidersFactory,
IAzureDevOpsSessionTokenFromBearerTokenProvider vstsSessionTokenProvider)

Choose a reason for hiding this comment

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

nit: azureDevOpsSessionTokenProvider

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gonna leave this for now - was about to merge and there's still a few other VSTS's hanging around. Let's do a VSTS cleanup pass though as part of the next round of work here.

@zarenner zarenner merged commit c188c4e into microsoft:master Nov 20, 2018
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.

3 participants