Skip to content

Commit cc41a3e

Browse files
committed
update comment
1 parent 42c784a commit cc41a3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IdentityCore/src/requests/sdk/adal/MSIDLegacySilentTokenRequest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ - (BOOL)shouldRemoveRefreshToken:(NSError *)serverError
102102

103103
- (BOOL)shouldRemoveAccountArtifacts:(NSError *)serverError
104104
{
105-
// MSAL removes Account artifacts on invalid_grant + bad token combination
105+
// Removing account artifacts on invalid_grant + user_deleted_account suberror combination
106106
MSIDErrorCode oauthError = MSIDErrorCodeForOAuthError(serverError.msidOauthError, MSIDErrorInternal);
107107
NSString *subError = serverError.msidSubError;
108108
return oauthError == MSIDErrorServerInvalidGrant && [subError isEqualToString:MSIDServerErrorUserAccountDeleted];

IdentityCore/src/requests/sdk/msal/MSIDDefaultSilentTokenRequest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ - (BOOL)shouldRemoveRefreshToken:(NSError *)serverError
228228

229229
- (BOOL)shouldRemoveAccountArtifacts:(NSError *)serverError
230230
{
231-
// MSAL removes Account artifacts on invalid_grant + bad token combination
231+
// Removing account artifacts on invalid_grant + user_deleted_account suberror combination
232232
MSIDErrorCode oauthError = MSIDErrorCodeForOAuthError(serverError.msidOauthError, MSIDErrorInternal);
233233
NSString *subError = serverError.msidSubError;
234234
return oauthError == MSIDErrorServerInvalidGrant && [subError isEqualToString:MSIDServerErrorUserAccountDeleted];

0 commit comments

Comments
 (0)