Skip to content

Commit 9ef90be

Browse files
authored
Merge pull request #1399 from AzureAD/hotfix/1.7.37
Hotfix/1.7.37
2 parents 8231b7c + 8eac722 commit 9ef90be

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

IdentityCore/src/oauth2/account/MSIDAccountType.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ typedef NS_ENUM(NSInteger, MSIDAccountType)
2828
MSIDAccountTypeOther,
2929
MSIDAccountTypeAADV1,
3030
MSIDAccountTypeMSA,
31-
MSIDAccountTypeMSSTS
31+
MSIDAccountTypeMSSTS,
32+
MSIDAccountTypeADFS
3233
};
3334

3435
@interface MSIDAccountTypeHelpers : NSObject

IdentityCore/src/oauth2/account/MSIDAccountType.m

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ + (NSString *)accountTypeAsString:(MSIDAccountType)accountType
3737

3838
case MSIDAccountTypeMSSTS:
3939
return @"MSSTS";
40+
41+
case MSIDAccountTypeADFS:
42+
return @"ADFS";
4043

4144
default:
4245
return @"Other";
@@ -53,7 +56,8 @@ + (MSIDAccountType)accountTypeFromString:(NSString *)type
5356

5457
sAccountTypes = @{@"aad": @(MSIDAccountTypeAADV1),
5558
@"msa": @(MSIDAccountTypeMSA),
56-
@"mssts": @(MSIDAccountTypeMSSTS)};
59+
@"mssts": @(MSIDAccountTypeMSSTS),
60+
@"adfs": @(MSIDAccountTypeADFS)};
5761
});
5862

5963
NSNumber *accountType = sAccountTypes[type.lowercaseString];

changelog.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Version 1.7.37
2+
* Added new account type to handle On-prem ADFS scenarios. (#1397)
3+
14
Version 1.7.36
25
* Add platform sequence telemetry param. (#1378)
36
* Update broker automations lab API. (#1377)

0 commit comments

Comments
 (0)