Skip to content

Commit 007ff1d

Browse files
authored
Merge pull request #2502 from AzureAD/veena/NewPSSOError
Add new psso error
2 parents b08278c + ba9f512 commit 007ff1d

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

MSAL/src/MSALErrorConverter.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ + (void)initialize
116116
@(MSIDErrorPSSOBiometricPolicyMismatch) : @(MSALErrorPSSOBiometricPolicyMismatch),
117117
@(MSIDErrorPSSOInvalidPasskeyExtension) : @(MSALErrorPSSOInvalidPasskeyExtension),
118118
@(MSIDErrorPSSOSaveLoginConfigFailure) :@(MSALErrorPSSOSaveLoginConfigFailure),
119+
@(MSIDErrorPSSOPasskeyLAError) :@(MSALErrorPSSOPasskeyLAError),
120+
@(MSIDErrorPSSOBiometricsNotAvailable): @(MSALErrorPSSOBiometricsNotAvailable),
121+
@(MSIDErrorPSSOBiometricsNotEnrolled): @(MSALErrorPSSOBiometricsNotEnrolled),
122+
119123

120124
// Oauth2 errors
121125
@(MSIDErrorServerOauth) : @(MSALInternalErrorAuthorizationFailed),

MSAL/src/public/MSALError.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,4 +546,19 @@ typedef NS_ENUM(NSInteger, MSALInternalError)
546546
*/
547547

548548
MSALErrorPSSOSaveLoginConfigFailure = -42741,
549+
550+
/**
551+
Error thrown when uses tries to acces passkey without biometric when biometric policy configured
552+
*/
553+
MSALErrorPSSOPasskeyLAError = -42742,
554+
555+
/**
556+
Error is thrown when PSSO user registration attempted with no biometrics available and sekey biometric policy is configured
557+
*/
558+
MSALErrorPSSOBiometricsNotAvailable = -42743,
559+
560+
/**
561+
Error is thrown when PSSO user registration attempted with no biometrics configured and sekey biometric policy is configured
562+
*/
563+
MSALErrorPSSOBiometricsNotEnrolled = -42744,
549564
};

0 commit comments

Comments
 (0)