-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add Entra Id authentication support for installer download #5095
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines failed to run 1 pipeline(s). |
/azp run |
Azure Pipelines failed to run 1 pipeline(s). |
</data> | ||
<data name="InstallerDownloadAuthenticationNotSupported" xml:space="preserve"> | ||
<value>Failed to download installer. This winget version does not support the installer download authentication method. Try upgrade to latest winget version.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<value>Failed to download installer. This winget version does not support the installer download authentication method. Try upgrade to latest winget version.</value> | |
<value>Failed to download installer. This winget version does not support the installer download authentication method. Try upgrading to latest winget version.</value> | |
bool MicrosoftEntraIdAuthenticationInfo::operator<(const MicrosoftEntraIdAuthenticationInfo& other) const | ||
{ | ||
// std::tie implements tuple comparison, wherein it checks the first item in the tuple, | ||
// iff the first elements are equal, then the second element is used for comparison, and so on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// iff the first elements are equal, then the second element is used for comparison, and so on | |
// if the first elements are equal, then the second element is used for comparison, and so on | |
bool AuthenticationInfo::operator<(const AuthenticationInfo& other) const | ||
{ | ||
// std::tie implements tuple comparison, wherein it checks the first item in the tuple, | ||
// iff the first elements are equal, then the second element is used for comparison, and so on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// iff the first elements are equal, then the second element is used for comparison, and so on | |
// if the first elements are equal, then the second element is used for comparison, and so on | |
@@ -24,9 +26,9 @@ namespace AppInstaller::Authentication | |||
|
|||
AICLI_LOG(Core, Info, << "AuthenticationArguments values. Mode: " << AuthenticationModeToString(args.Mode) << ", Account: " << args.AuthenticationAccount); | |||
|
|||
if (info.Type == AuthenticationType::MicrosoftEntraId) | |||
if (info.Type == AuthenticationType::MicrosoftEntraId || info.Type == AuthenticationType::MicrosoftEntraIdForAzureBlobStorage) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Should we create a semantic function for this similar to what you did for WebAccountAuthenticator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello |
How are you |
Microsoft Reviewers: Open in CodeFlow