From: microsoft-authentication-library-common-for-objc/MSIDError.h at master · AzureAD/microsoft-authentication-library-common-for-objc · GitHub
====================================================
General Errors (510xx, 511xx) - MSIDErrorDomain
====================================================
*/
// General internal errors that do not fall into one of the specific type
// of an error described below.
MSIDErrorInternal = -51100,
// Parameter errors
MSIDErrorInvalidInternalParameter = -51111,
MSIDErrorInvalidDeveloperParameter = -51112,
// Unsupported functionality
MSIDErrorUnsupportedFunctionality = -51199,
/*!
=========================================================
Cache Errors (512xx) - MSIDErrorDomain
=========================================================
*/
// Multiple users found in cache when one was intended
MSIDErrorCacheMultipleUsers = -51201,
MSIDErrorCacheBadFormat = -51302,
/*!
=========================================================
Server errors (514xx) - MSIDOAuthErrorDomain
=========================================================
*/
// Interaction Required
MSIDErrorInteractionRequired = -51411,
// Server returned a response indicating an OAuth error
MSIDErrorServerOauth = -51421,
// Server returned an invalid response
MSIDErrorServerInvalidResponse = -51422,
// Server returned a refresh token reject response
MSIDErrorServerRefreshTokenRejected = -51423,
// Other specific server response errors
MSIDErrorServerInvalidRequest = -51431,
MSIDErrorServerInvalidClient = -51432,
MSIDErrorServerInvalidGrant = -51433,
MSIDErrorServerInvalidScope = -51434,
MSIDErrorServerUnauthorizedClient = -51435,
MSIDErrorServerUnhandledResponse = -51436,
// State verification has failed
MSIDErrorServerInvalidState = -51441,
// Redirect to non HTTPS detected
MSIDErrorServerNonHttpsRedirect = -51451,
// Intune Protection Policies Required
MSIDErrorServerProtectionPoliciesRequired = -51461,
/*!
=========================================================
Authority Validation (515xx) - MSIDErrorDomain
=========================================================
*/
// Authority validation response failure
MSIDErrorAuthorityValidation = -51500,
MSIDErrorAuthorityValidationWebFinger = -51501,
/*!
=========================================================
Interactive flow errors (516xx) - MSIDOAuthErrorDomain
=========================================================
*/
// The user or application failed to authenticate in the interactive flow.
// Inspect MSALOAuthErrorKey and MSALErrorDescriptionKey in the userInfo
// dictionary for more detailed information about the specific error.
MSIDErrorAuthorizationFailed = -51600,
// User has cancelled the interactive flow.
MSIDErrorUserCancel = -51611,
// The interactive flow was cancelled programmatically.
MSIDErrorSessionCanceledProgrammatically = -51612,
// Interactive authentication session failed to start.
MSIDErrorInteractiveSessionStartFailure = -51621,
/*!
An interactive authentication session is already running.
Another authentication session can not be launched yet.
*/
MSIDErrorInteractiveSessionAlreadyRunning = -51622,
// Embedded webview has failed to find a view controller to display web contents
MSIDErrorNoMainViewController = - 51631,