Skip to content

Commit 7c60548

Browse files
committed
2 parents 3305bfc + 6b9a314 commit 7c60548

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-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
@@ -130,7 +130,8 @@ + (void)initialize
130130
@(MSIDErrorServerError) : @(MSALErrorServerError),
131131
@(MSIDErrorServerInvalidState) : @(MSALInternalErrorInvalidState),
132132
@(MSIDErrorServerProtectionPoliciesRequired) : @(MSALErrorServerProtectionPoliciesRequired),
133-
@(MSIDErrorServerUnhandledResponse) : @(MSALInternalErrorUnhandledResponse)
133+
@(MSIDErrorServerUnhandledResponse) : @(MSALInternalErrorUnhandledResponse),
134+
@(MSIDErrorUnexpectedHttpResponse) : @(MSALInternalErrorUnexpectedHttpResponse)
134135
}
135136
};
136137

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: 6 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
@@ -525,4 +530,5 @@ typedef NS_ENUM(NSInteger, MSALInternalError)
525530
JIT - Error Handling config invalid or not found
526531
*/
527532
MSALErrorJITErrorHandlingConfigNotFound = -42738,
533+
528534
};

0 commit comments

Comments
 (0)