Skip to content

Commit d674674

Browse files
committed
merge conflicts
2 parents bf7d22b + 379364e commit d674674

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

MSAL/src/MSALDeviceInformation.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ - (MSALPlatformSSOStatus)msalPlatformSSOStatusFromMSIDPlatformSSOStatus:(MSIDPla
116116
return MSALPlatformSSOEnabledNotRegistered;
117117
case MSIDPlatformSSOEnabledAndRegistered:
118118
return MSALPlatformSSOEnabledAndRegistered;
119+
case MSIDPlatformSSORegistrationNeedsRepair:
120+
return MSALPlatformSSORegistrationNeedsRepair;
119121

120122
default:
121123
return MSALPlatformSSONotEnabled;

MSAL/src/MSALErrorConverter.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ + (void)initialize
133133
@(MSIDErrorServerError) : @(MSALErrorServerError),
134134
@(MSIDErrorServerInvalidState) : @(MSALInternalErrorInvalidState),
135135
@(MSIDErrorServerProtectionPoliciesRequired) : @(MSALErrorServerProtectionPoliciesRequired),
136-
@(MSIDErrorServerUnhandledResponse) : @(MSALInternalErrorUnhandledResponse)
136+
@(MSIDErrorServerUnhandledResponse) : @(MSALInternalErrorUnhandledResponse),
137+
@(MSIDErrorUnexpectedHttpResponse) : @(MSALInternalErrorUnexpectedHttpResponse)
137138
}
138139
};
139140

MSAL/src/public/MSALDefinitions.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,11 @@ typedef NS_ENUM(NSUInteger, MSALPlatformSSOStatus)
175175
/*
176176
Administrator has configured Platform SSO in sso config and the device is registred with AAD via platform SSO
177177
*/
178-
MSALPlatformSSOEnabledAndRegistered
178+
MSALPlatformSSOEnabledAndRegistered,
179+
/*
180+
Platform SSO registration on device is not valid , needs repair
181+
*/
182+
MSALPlatformSSORegistrationNeedsRepair
179183
};
180184

181185
/**

MSAL/src/public/MSALError.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ typedef NS_ENUM(NSInteger, MSALInternalError)
262262
*/
263263
MSALInternalErrorUnexpected = -42008,
264264

265+
/**
266+
Un expected http response with status code 403 or 404
267+
*/
268+
MSALInternalErrorUnexpectedHttpResponse = -42009,
269+
265270
/**
266271
The passed in authority URL does not pass validation.
267272
If you're trying to use B2C, you must disable authority validation by

0 commit comments

Comments
 (0)