Skip to content

Commit 89adec0

Browse files
authored
Update x-client-xtra-sku format (#2202)
* Update platfrom sequence format. * Update core.
1 parent 6048f9b commit 89adec0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

MSAL/src/MSALPublicClientApplication.m

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -866,9 +866,9 @@ - (void)acquireTokenSilentWithParameters:(MSALSilentTokenParameters *)parameters
866866
[extraURLQueryParameters addEntriesFromDictionary:parameters.extraQueryParameters];
867867
msidParams.extraURLQueryParameters = extraURLQueryParameters;
868868

869-
msidParams.platformSequence = [NSString msidUpdatePlatformSequenceParamWithName:[MSIDVersion platformName]
870-
version:[MSIDVersion sdkVersion]
871-
toSequence:nil];
869+
msidParams.platformSequence = [NSString msidUpdatePlatformSequenceParamWithSrcName:[MSIDVersion platformName]
870+
srcVersion:[MSIDVersion sdkVersion]
871+
sequence:nil];
872872

873873
msidParams.tokenExpirationBuffer = self.internalConfig.tokenExpirationBuffer;
874874
msidParams.claimsRequest = parameters.claimsRequest.msidClaimsRequest;
@@ -1207,9 +1207,9 @@ - (void)acquireTokenWithParameters:(MSALInteractiveTokenParameters *)parameters
12071207
[extraURLQueryParameters addEntriesFromDictionary:parameters.extraQueryParameters];
12081208
msidParams.extraURLQueryParameters = extraURLQueryParameters;
12091209

1210-
msidParams.platformSequence = [NSString msidUpdatePlatformSequenceParamWithName:[MSIDVersion platformName]
1211-
version:[MSIDVersion sdkVersion]
1212-
toSequence:nil];
1210+
msidParams.platformSequence = [NSString msidUpdatePlatformSequenceParamWithSrcName:[MSIDVersion platformName]
1211+
srcVersion:[MSIDVersion sdkVersion]
1212+
sequence:nil];
12131213

12141214
msidParams.tokenExpirationBuffer = self.internalConfig.tokenExpirationBuffer;
12151215
msidParams.extendedLifetimeEnabled = self.internalConfig.extendedLifetimeEnabled;
@@ -1464,9 +1464,9 @@ - (void)signoutWithAccount:(nonnull MSALAccount *)account
14641464
msidParams.validateAuthority = [self shouldValidateAuthorityForRequestAuthority:requestAuthority];
14651465
msidParams.keychainAccessGroup = self.internalConfig.cacheConfig.keychainSharingGroup;
14661466
msidParams.providedAuthority = requestAuthority;
1467-
msidParams.platformSequence = [NSString msidUpdatePlatformSequenceParamWithName:[MSIDVersion platformName]
1468-
version:[MSIDVersion sdkVersion]
1469-
toSequence:nil];
1467+
msidParams.platformSequence = [NSString msidUpdatePlatformSequenceParamWithSrcName:[MSIDVersion platformName]
1468+
srcVersion:[MSIDVersion sdkVersion]
1469+
sequence:nil];
14701470
NSError *localError;
14711471
BOOL localRemovalResult = [self removeAccountImpl:account wipeAccount:signoutParameters.wipeAccount error:&localError];
14721472

0 commit comments

Comments
 (0)