Skip to content

Commit 330fcd8

Browse files
committed
typo on MSIDErrorSessionCanceledProgramatically
1 parent 9acc5b8 commit 330fcd8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

IdentityCore/src/MSIDError.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ typedef NS_ENUM(NSInteger, MSIDErrorCode)
117117
MSIDErrorUserCancel = -51611,
118118

119119
// The interactive flow was cancelled programmatically.
120-
MSIDErrorSessionCanceledProgramatically = -51612,
120+
MSIDErrorSessionCanceledProgrammatically = -51612,
121121

122122
// Interactive authentication session failed to start.
123123
MSIDErrorInteractiveSessionStartFailure = -51621,

IdentityCore/src/MSIDError.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ MSIDErrorCode MSIDErrorCodeForOAuthError(NSString *oauthError, MSIDErrorCode def
8888
// Interactive flow errors
8989
@(MSIDErrorAuthorizationFailed),
9090
@(MSIDErrorUserCancel),
91-
@(MSIDErrorSessionCanceledProgramatically),
91+
@(MSIDErrorSessionCanceledProgrammatically),
9292
@(MSIDErrorInteractiveSessionStartFailure),
9393
@(MSIDErrorInteractiveSessionAlreadyRunning),
9494
@(MSIDErrorNoMainViewController)

IdentityCore/src/webview/embeddedWebview/MSIDOAuth2EmbeddedWebviewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ - (void)cancel
114114
MSID_LOG_INFO(self.context, @"Cancel Web Auth...");
115115

116116
// End web auth with error
117-
NSError *error = MSIDCreateError(MSIDErrorDomain, MSIDErrorSessionCanceledProgramatically, @"Authorization session was cancelled programatically.", nil, nil, nil, self.context.correlationId, nil);
117+
NSError *error = MSIDCreateError(MSIDErrorDomain, MSIDErrorSessionCanceledProgrammatically, @"Authorization session was cancelled programatically.", nil, nil, nil, self.context.correlationId, nil);
118118
[self endWebAuthWithURL:nil error:error];
119119
}
120120

IdentityCore/src/webview/systemWebview/MSIDSFAuthenticationSession.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ - (void)cancel
112112
[_authSession cancel];
113113

114114
NSError *error = MSIDCreateError(MSIDErrorDomain,
115-
MSIDErrorSessionCanceledProgramatically,
115+
MSIDErrorSessionCanceledProgrammatically,
116116
@"Authorization session was cancelled programatically.", nil, nil, nil, _context.correlationId, nil);
117117
_completionHandler(nil, error);
118118
}

IdentityCore/src/webview/systemWebview/MSIDSafariViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ - (instancetype)initWithURL:(NSURL *)url
7272

7373
- (void)cancel
7474
{
75-
NSError *error = MSIDCreateError(MSIDErrorDomain, MSIDErrorSessionCanceledProgramatically, @"Authorization session was cancelled programatically", nil, nil, nil, _context.correlationId, nil);
75+
NSError *error = MSIDCreateError(MSIDErrorDomain, MSIDErrorSessionCanceledProgrammatically, @"Authorization session was cancelled programatically", nil, nil, nil, _context.correlationId, nil);
7676

7777
[self completeSessionWithResponse:nil context:_context error:error];
7878
}

0 commit comments

Comments
 (0)