Skip to content

Commit 4e8d170

Browse files
committed
Content freshnes and correct topic type
1 parent f92d9f4 commit 4e8d170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/active-directory-b2c/enable-authentication-ios-app.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Review the prerequisites and integration instructions in [Configure authenticati
2525

2626
## Create an iOS Swift app project
2727

28-
If you don't already have an iOS Swift application, set up a new project by doing the following:
28+
If you don't already have an iOS Swift application, set up a new project by doing the following steps:
2929

3030
1. Open [Xcode](https://developer.apple.com/xcode/), and then select **File** > **New** > **Project**.
3131
1. For iOS apps, select **iOS** > **App**, and then select **Next**.
@@ -41,7 +41,7 @@ If you don't already have an iOS Swift application, set up a new project by doin
4141

4242
## Step 1: Install the MSAL library
4343

44-
1. Use [CocoaPods](https://cocoapods.org/) to install the MSAL library. In the same folder as your project's *.xcodeproj* file, if the *podfile* file doesn't exist, create an empty file called *podfile*. Add the following code to the *podfile* file:
44+
1. Use [CocoaPods](https://cocoapods.org/) to install the MSAL library. In the same folder as your project's *.xcodeproj* file, if the *podfile* file doesn't exist, create an empty file and name it *podfile*. Add the following code to the *podfile* file:
4545

4646
```
4747
use_frameworks!
@@ -90,7 +90,7 @@ The [sample code](configure-authentication-sample-ios-app.md#step-4-get-the-ios-
9090
- Contains information about your Azure AD B2C identity provider. The app uses this information to establish a trust relationship with Azure AD B2C.
9191
- Contains the authentication code to authenticate users, acquire tokens, and validate them.
9292

93-
Choose a `UIViewController` where users will authenticate. In your `UIViewController`, merge the code with the [code that's provided in GitHub](https://github.com/Azure-Samples/active-directory-b2c-ios-swift-native-msal/blob/vNext/MSALiOS/ViewController.swift).
93+
Choose a `UIViewController` where users authenticates. In your `UIViewController`, merge the code with the [code that's provided in GitHub](https://github.com/Azure-Samples/active-directory-b2c-ios-swift-native-msal/blob/vNext/MSALiOS/ViewController.swift).
9494

9595
## Step 4: Configure your iOS Swift app
9696

@@ -192,7 +192,7 @@ Authorization: Bearer <access-token>
192192

193193
When users [authenticate interactively](#step-62-start-an-interactive-authorization-request), the app gets an access token in the `acquireToken` closure. For subsequent web API calls, use the acquire token silent (`acquireTokenSilent`) method, as described in this section.
194194

195-
The `acquireTokenSilent` method does the following:
195+
The `acquireTokenSilent` method does the following actions:
196196

197197
1. It attempts to fetch an access token with the requested scopes from the token cache. If the token is present and hasn't expired, the token is returned.
198198
1. If the token isn't present in the token cache or it has expired, the MSAL library attempts to use the refresh token to acquire a new access token.

0 commit comments

Comments
 (0)