You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This quickstart uses a code sample to demonstrate how an Android application can sign in personal, work, or school accounts using the Microsoft identity platform, and then get an access token and call the Microsoft Graph API.
21
21
22
-
Applications must be represented by an app object in Azure Active Directory so that the Microsoft identity platform can share tokens with your application.
22
+
Applications must be represented by an app object in Azure Active Directory so that the Microsoft identity platform can provide tokens to your application.
23
23
24
24
> [!div renderon="docs"]
25
25
> As a convenience, the code sample comes with a default `redirect_uri` preconfigured in the `AndroidManifest.xml` file so that you don't have to first register your own app object. A `redirect_uri` is partly based on your app's signing key. The sample project is preconfigured with a signing key so that the provided `redirect_uri` will work. To learn more about registering an app object and integrating it with your application, see the [Sign in users and call the Microsoft Graph from an Android app](tutorial-v2-android.md) tutorial.
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-versions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ A few features were removed, updated, or replaced after version 1.x. This sectio
54
54
55
55
In version 2.x, the following changes were made:
56
56
57
-
* Keys for calling HTTP endpoints are always stored encrypted in Azure Blob storage. In version 1.x, keys were stored in Azure File storage be default. When upgrading an app from version 1.x to version 2.x, existing secrets that are in file storage are reset.
57
+
* Keys for calling HTTP endpoints are always stored encrypted in Azure Blob storage. In version 1.x, keys were stored in Azure File storage by default. When upgrading an app from version 1.x to version 2.x, existing secrets that are in file storage are reset.
58
58
59
59
* The version 2.x runtime doesn't include built-in support for webhook providers. This change was made to improve performance. You can still use HTTP triggers as endpoints for webhooks.
1. In the **ConfigureServices** handler, add the following line:
207
+
1. Register the **CosmosDBService** implementation with the container.
208
+
209
+
The code in the previous step receives a `CosmosClient` as part of the constructor. In order to tell ASP.NET Core pipeline how to create that object, edit the project's *Startup.cs* file and add the following line to the **ConfigureServices** handler:
Thecodeinthepreviousstepreceivesa `CosmosClient` aspartoftheconstructor. FollowingASP.NETCorepipeline, weneedtogototheproject's *Startup.cs* file. The code in this step initializes the client based on the configuration as a singleton instance to be injected through [Dependency injection in ASP.NET Core](https://docs.microsoft.com/aspnet/core/fundamentals/dependency-injection).
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-upload-process-images.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ The sample uploads images to a blob container in an Azure Storage account. A sto
65
65
In the following command, replace your own globally unique name for the Blob storage account where you see the `<blob_storage_account>` placeholder.
66
66
67
67
```azurecli-interactive
68
-
$blobStorageAccount="<blob_storage_account>"
68
+
blobStorageAccount="<blob_storage_account>"
69
69
70
70
az storage account create --name $blobStorageAccount --location southeastasia --resource-group myResourceGroup --sku Standard_LRS --kind blobstorage --access-tier hot
71
71
@@ -80,7 +80,7 @@ Get the storage account key by using the [az storage account keys list](/cli/azu
80
80
The *images* container's public access is set to `off`. The *thumbnails* container's public access is set to `container`. The `container` public access setting permits users who visit the web page to view the thumbnails.
az storage container create -n images --account-name $blobStorageAccount --account-key $blobStorageAccountKey --public-access off
86
86
@@ -113,7 +113,7 @@ The web app provides a hosting space for the sample app code that's deployed fro
113
113
In the following command, replace `<web_app>` with a unique name. Valid characters are `a-z`, `0-9`, and `-`. If `<web_app>` is not unique, you get the error message: _Website with given name `<web_app>` already exists._ The default URL of the web app is `https://<web_app>.azurewebsites.net`.
114
114
115
115
```azurecli-interactive
116
-
$webapp="<web_app>"
116
+
webapp="<web_app>"
117
117
118
118
az webapp create --name $webapp --resource-group myResourceGroup --plan myAppServicePlan
119
119
@@ -128,7 +128,7 @@ App Service supports several ways to deploy content to a web app. In this tutori
128
128
The sample project contains an [ASP.NET MVC](https://www.asp.net/mvc) app. The app accepts an image, saves it to a storage account, and displays images from a thumbnail container. The web app uses the [Microsoft.Azure.Storage](/dotnet/api/overview/azure/storage), [Microsoft.Azure.Storage.Blob](/dotnet/api/microsoft.azure.storage.blob), and the Microsoft.Azure.Storage.Auth namespaces from the Azure Storage client library to interact with Azure storage.
@@ -166,7 +166,7 @@ az webapp config appsettings set --name $webapp --resource-group myResourceGroup
166
166
The sample web app uses the [Azure Storage Client Library](https://docs.microsoft.com/javascript/api/azure-storage) to request access tokens, which are used to upload images. The storage account credentials used by the Storage SDK are set in the app settings for the web app. Add app settings to the deployed app with the [az webapp config appsettings set](/cli/azure/webapp/config/appsettings) command.
0 commit comments