Update IdentityModelActiveDirectoryVersion (#685)

This commit is contained in:
Pavel Krymets 2017-06-28 11:43:35 -07:00 коммит произвёл GitHub
Родитель 6b4f1f8634
Коммит 0518c83238
3 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

@ -3,7 +3,7 @@
<AspNetCoreVersion>2.0.0-*</AspNetCoreVersion>
<AzureKeyVaultVersion>2.2.1-preview</AzureKeyVaultVersion>
<CoreFxVersion>4.4.0-*</CoreFxVersion>
<IdentityModelActiveDirectoryVersion>3.13.9</IdentityModelActiveDirectoryVersion>
<IdentityModelActiveDirectoryVersion>3.14.0</IdentityModelActiveDirectoryVersion>
<InternalAspNetCoreSdkVersion>2.1.0-*</InternalAspNetCoreSdkVersion>
<JsonNetVersion>10.0.1</JsonNetVersion>
<MoqVersion>4.7.1</MoqVersion>

Просмотреть файл

@ -70,7 +70,6 @@ namespace Microsoft.Extensions.Configuration
return result.AccessToken;
}
#if NET461
/// <summary>
/// Adds an <see cref="IConfigurationProvider"/> that reads configuration values from the Azure KeyVault.
/// </summary>
@ -124,10 +123,6 @@ namespace Microsoft.Extensions.Configuration
var result = await authContext.AcquireTokenAsync(resource, new ClientAssertionCertificate(clientId, certificate));
return result.AccessToken;
}
#elif NETSTANDARD2_0
#else
#error Target frameworks need to be updated.
#endif
/// <summary>
/// Adds an <see cref="IConfigurationProvider"/> that reads configuration values from the Azure KeyVault.

Просмотреть файл

@ -4,7 +4,7 @@
<PropertyGroup>
<Description>Azure KeyVault configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageTags>configuration;azure;keyvault</PackageTags>
</PropertyGroup>