Skip to content

Commit 9570a11

Browse files
authored
Merge pull request #42601 from Potapy4/patch-18
Fix typo
2 parents a82adde + bb1d061 commit 9570a11

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/active-directory/develop/tutorial-v2-ios.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ let kScopes: [String] = ["https://graph.microsoft.com/user.read"] // request per
138138
let kAuthority = "https://login.microsoftonline.com/common" // this authority allows a personal Microsoft account and a work or school account in any organization’s Azure AD tenant to sign in
139139
var accessToken = String()
140140
var applicationContext : MSALPublicClientApplication?
141-
var webViewParamaters : MSALWebviewParameters?
141+
var webViewParameters : MSALWebviewParameters?
142142
```
143143

144144
The only value you need to modify above is the value assigned to `kClientID`to be your [Application ID](https://docs.microsoft.com/azure/active-directory/develop/developer-glossary#application-id-client-id). This value is part of the MSAL Configuration data that you saved during the step at the beginning of this tutorial to register the application in the Azure portal.
@@ -318,16 +318,16 @@ Add the following after `initMSAL` method to the `ViewController` class.
318318

319319
```swift
320320
func initWebViewParams() {
321-
self.webViewParamaters = MSALWebviewParameters(parentViewController: self)
321+
self.webViewParameters = MSALWebviewParameters(parentViewController: self)
322322
}
323323
```
324324

325325
### macOS code:
326326

327327
```swift
328328
func initWebViewParams() {
329-
self.webViewParamaters = MSALWebviewParameters()
330-
self.webViewParamaters?.webviewType = .wkWebView
329+
self.webViewParameters = MSALWebviewParameters()
330+
self.webViewParameters?.webviewType = .wkWebView
331331
}
332332
```
333333

@@ -421,7 +421,7 @@ Add the following code to the `ViewController` class.
421421
func acquireTokenInteractively() {
422422

423423
guard let applicationContext = self.applicationContext else { return }
424-
guard let webViewParameters = self.webViewParamaters else { return }
424+
guard let webViewParameters = self.webViewParameters else { return }
425425

426426
// #1
427427
let parameters = MSALInteractiveTokenParameters(scopes: kScopes, webviewParameters: webViewParameters)

0 commit comments

Comments
 (0)