Skip to content

Fixing UsernamePasswordCredential constructor parameter missordering#8997

Merged
schaabs merged 9 commits intoAzure:masterfrom
schaabs:identity-userpassfix
Dec 6, 2019
Merged

Fixing UsernamePasswordCredential constructor parameter missordering#8997
schaabs merged 9 commits intoAzure:masterfrom
schaabs:identity-userpassfix

Conversation

@schaabs
Copy link

@schaabs schaabs commented Dec 4, 2019

Fixes #8965

@schaabs schaabs requested review from pakrym and tg-msft December 4, 2019 22:42
@schaabs schaabs requested a review from AlexGhiondea as a code owner December 4, 2019 22:42
Copy link
Member

@tg-msft tg-msft left a comment

Choose a reason for hiding this comment

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

It's definitely scary, but it looks good.

Copy link
Contributor

@pakrym pakrym left a comment

Choose a reason for hiding this comment

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

LGTM


public int StatusCode { get; set; }


Copy link
Contributor

Choose a reason for hiding this comment

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

nit:rem

public class RecordEntry
{
public string RequestUri { get; set; }
public class Message
Copy link
Contributor

Choose a reason for hiding this comment

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

let's pull this out.

ResponseBody = ReadToEnd(response),
Request =
{
Headers = new SortedDictionary<string, string[]>(StringComparer.OrdinalIgnoreCase),
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need this initialization.

@schaabs schaabs merged commit ebcf6ce into Azure:master Dec 6, 2019
@schaabs schaabs deleted the identity-userpassfix branch December 6, 2019 09:37
isra-fel pushed a commit that referenced this pull request Dec 13, 2019
* Generate 2019-09-01 policy operations (#8927)

* Generate 2019-09-01 policy operations

* Update generate and build artifacts

* Fixed generation metadata

* TextAnalytics API Refactoring (#8905)

* move errors to document result

* api updates per feedback

* Remove interface

* Include Statistics

* updates per API feedback

* shift to result collections

* TextAnalysisOptions

* reenable recognize entity single

* reenable recognize entity batch

* reenable key phrases

* reenable remaining

* API feedback

* bug fix

* pr feedback

* pr feedback

* Make the AzureServiceTokenProvider mockable (#8464)

* Update Smoke Tests for October GA release (#8639)

* update package versions to match published GA packages

* update to incorporate ga interface changes

* update KV interface

* remove pinned versions for packages that aren't targeted in smoke tests

* Bump to ApiApprover 10.0.1 (#8982)

Brings up to speed with PublicApiGenerator 10.0.1 which supports nullable reference types and has more stable member sorting

* Fixing UsernamePasswordCredential constructor parameter missordering (#8997)

* Fixing UsernamePasswordCredential constructor parameter misordering

* adding missed file

* exclude header x-client-OS from header matching

* excluding x-client-OS and x-client-SKU from header matching

* Refactoring RecordedTestSanitizer to enable higher level sanitiation

* updates to sanitize test recordings

* removing hard coded RecordedTestMode

* Fix to RecordEntry serialization

* addressing PR feedback'

* [Event Hubs Client] Track Two (Samples and Documentation) (#9011)

The focus of these changes is to revise the samples for the Event Processor
client, extend the set of samples with additional scenarios and flesh out the
README content for the samples in each package.

Also included are some small refinements to the Event Processor client that
were deferred from feedback for an earlier pull request, a fix for an empty
partition context when the maximum wait time elapses, and ignoring a
test that requires follow-up analysis.

* Update package index links in README.md (#9015)

Package index is now controlled centrally in the azure-sdk repo
https://github.com/Azure/azure-sdk/blob/master/_data/releases/latest/dotnet-packages.csv

* Text Analytics AAD Support (#9007)

* first try at aad

* un-update sample

* fix

* fix

* Update release notes (#9013)

* Update release notes

* Update CHANGELOG.md

Add link to the fixed bug

* Checkin Doc Index to Master (#8791)

* ensure UserDelegationKey test doesn't use UTC (#9024)

* remove reflection (#9021)

* Update GoogleAdWords and GoogleBigQuery clientId for fix issue (#9019)

* [DataFactory]Add SAP HANA partition settings (#9032)

* Releasing latest version of Microsoft.DataBoxEdge SDK (#9008)

* Releasing latest version of Microsoft.DataBoxEdge SDK

* Generated code through generate.cmd

* Update Microsoft.Azure.Management.DataBoxEdge.csproj

* Generate sdk using generate.ps1 command and address review comments

* Update Microsoft.Azure.Management.DataBoxEdge.csproj

* Regenerate CDN for API version 2019-06-15-preview.
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.

[BUG] UsernamePasswordCredentials constructors swapping tenantid, clientid params

3 participants