Skip to content

Commit 46a76e7

Browse files
authored
Merge pull request #88236 from changeworld/patch-4
Fix typo
2 parents 6d156f0 + aa4f619 commit 46a76e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/applied-ai-services/immersive-reader/tutorial-ios-picture-immersive-reader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You need some values from the Azure AD authentication configuration prerequisite
6565
TenantId => Azure subscription TenantId
6666
ClientId => Azure AD ApplicationId
6767
ClientSecret => Azure AD Application Service Principal password
68-
Subdomain => Immersive Reader resource subdomain (resource 'Name' if the resource was created in the Azure portal, or 'CustomSubDomain' option if the resource was created with Azure CLI Powershell. Check the Azure portal for the subdomain on the Endpoint in the resource Overview page, for example, 'https://[SUBDOMAIN].cognitiveservices.azure.com/')
68+
Subdomain => Immersive Reader resource subdomain (resource 'Name' if the resource was created in the Azure portal, or 'CustomSubDomain' option if the resource was created with Azure CLI PowerShell. Check the Azure portal for the subdomain on the Endpoint in the resource Overview page, for example, 'https://[SUBDOMAIN].cognitiveservices.azure.com/')
6969
````
7070

7171
In the main project folder, which contains the ViewController.swift file, create a Swift class file called Constants.swift. Replace the class with the following code, adding in your values where applicable. Keep this file as a local file that only exists on your machine and be sure not to commit this file into source control, as it contains secrets that should not be made public. It is recommended that you do not keep secrets in your app. Instead, we recommend using a backend service to obtain the token, where the secrets can be kept outside of the app and off of the device. The backend API endpoint should be secured behind some form of authentication (for example, [OAuth](https://oauth.net/2/)) to prevent unauthorized users from obtaining tokens to use against your Immersive Reader service and billing; that work is beyond the scope of this tutorial.

0 commit comments

Comments
 (0)