Upload hot garbage
This commit is contained in:
commit
2d751f9414
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test2/.vs/test2/v17/.suo
Normal file
BIN
test2/.vs/test2/v17/.suo
Normal file
Binary file not shown.
57
test2/.vs/test2/v17/DocumentLayout.backup.json
Normal file
57
test2/.vs/test2/v17/DocumentLayout.backup.json
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\Nikopol\\source\\repos\\test2\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|c:\\users\\nikopol\\source\\repos\\test2\\test2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|solutionrelative:test2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|solutionrelative:test2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 2,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "test2\\MainWindow.xaml",
|
||||
"ToolTip": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml*",
|
||||
"RelativeToolTip": "test2\\MainWindow.xaml*",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-11-25T16:14:35.026Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "MainWindow.xaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml.cs",
|
||||
"RelativeDocumentMoniker": "test2\\MainWindow.xaml.cs",
|
||||
"ToolTip": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml.cs*",
|
||||
"RelativeToolTip": "test2\\MainWindow.xaml.cs*",
|
||||
"ViewState": "AgIAAEwAAAAAAAAAAAAmwGIAAAATAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-25T16:14:34.987Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
57
test2/.vs/test2/v17/DocumentLayout.json
Normal file
57
test2/.vs/test2/v17/DocumentLayout.json
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\Nikopol\\source\\repos\\test2\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|c:\\users\\nikopol\\source\\repos\\test2\\test2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|solutionrelative:test2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{C77ABD0B-8307-47F4-ABCA-4E476157AE08}|test2\\test2.csproj|solutionrelative:test2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 2,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{cce594b6-0c39-4442-ba28-10c64ac7e89f}"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "test2\\MainWindow.xaml",
|
||||
"ToolTip": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml",
|
||||
"RelativeToolTip": "test2\\MainWindow.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-11-25T16:14:35.026Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "MainWindow.xaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml.cs",
|
||||
"RelativeDocumentMoniker": "test2\\MainWindow.xaml.cs",
|
||||
"ToolTip": "C:\\Users\\Nikopol\\source\\repos\\test2\\test2\\MainWindow.xaml.cs",
|
||||
"RelativeToolTip": "test2\\MainWindow.xaml.cs",
|
||||
"ViewState": "AgIAABIAAAAAAAAAAAAAAGIAAAATAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-11-25T16:14:34.987Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
BIN
test2/packages/Azure.Core.1.38.0/.signature.p7s
vendored
Normal file
BIN
test2/packages/Azure.Core.1.38.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Azure.Core.1.38.0/Azure.Core.1.38.0.nupkg
vendored
Normal file
BIN
test2/packages/Azure.Core.1.38.0/Azure.Core.1.38.0.nupkg
vendored
Normal file
Binary file not shown.
457
test2/packages/Azure.Core.1.38.0/CHANGELOG.md
vendored
Normal file
457
test2/packages/Azure.Core.1.38.0/CHANGELOG.md
vendored
Normal file
@ -0,0 +1,457 @@
|
||||
# Release History
|
||||
|
||||
## 1.38.0 (2024-02-26)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Add `GetRehydrationToken` to `Operation` for rehydration purpose.
|
||||
|
||||
### Other Changes
|
||||
|
||||
- Additional Azure data centers are now included in `AzureLocation`. The following were added:
|
||||
- China East 3
|
||||
- China North 3
|
||||
- Israel Central
|
||||
- Italy North
|
||||
- Poland Central
|
||||
- Sweden South
|
||||
|
||||
## 1.37.0 (2024-01-11)
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Fixed exponential retry behavior so that delay milliseconds greater than `Int32.MaxValue` do not trigger an exception.
|
||||
- Fixed `DelayStrategy` behavior to no longer shift the delay to be used over by one attempt. Previously, the first delay would be what should have been used for the second, and the second was what should have been used for the third, etc. Note, this would only be observed when using `DelayStrategy` outside of a `RetryPolicy` or `RetryOptions`.
|
||||
- Do not add the `error.type` attribute twice when tracing is enabled.
|
||||
- Do not suppress nested activities when they occur in the context of Consumer/Server activities (e.g. `BlobClient.Download` is no longer suppressed under `EventHubs.Process`).
|
||||
|
||||
### Other Changes
|
||||
- Remove targets for .NET Core 2.1 and .NET 5 since they are out of support. Azure.Core is no longer compatible with .NET Core 2.1 after removal of target. The remaining targets are unchanged.
|
||||
|
||||
## 1.36.0 (2023-11-10)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `RequiresUnreferencedCode` attribute to `RequestContent.Create(object)` overloads that use reflection to serialize the input object. This provides support for native AOT compilation when Azure.Core is used for diagnostics.
|
||||
- Use System.Text.Json source generation to deserialize the error response in `RequestFailedException` on `net6.0` and above targets.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Updated tracing attributes names to conform to OpenTelemetry semantic conventions version 1.23.0.
|
||||
- Suppress client activity creation by Azure clients if it happens in scope of another activity created by an Azure client.
|
||||
- Changed how `ActivitySource` name is constructed for clients that use single-worded activity names (without dot). We now append provided activity name as is to the client namespace name. Previously, the provided activity name was omitted and the `ActivitySource` name matched the provided client namespace.
|
||||
- Distributed tracing with `ActivitySource` for HTTP and REST-based client libraries is declared stable. [Experimental feature-flag](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md) is no longer required for most of the newly released libraries. Tracing for messaging libraries remains experimental.
|
||||
- Added nullable annotation to `ResourceIdentifier.TryParse` parameter `input`.
|
||||
|
||||
## 1.35.0 (2023-09-07)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Expand the set of supported `DynamicData` property types to included heterogeneous arrays of allowed types.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Added the nullability annotation to `NullableResponse<T>.Value` to indicate that it is a nullable type.
|
||||
|
||||
## 1.34.0 (2023-07-11)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `IsCaeEnabled` property to `TokenRequestContext` to enabled per-request support for Continuous Access Evaluation
|
||||
- Updated dependency on System.Diagnostics.DiagnosticSource
|
||||
- Added `ContentLengthLong` property to `ResponseHeaders`
|
||||
|
||||
## 1.33.0 (2023-06-16)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `BinaryData.ToDynamicFromJson()` extension method to enable dynamic access to JSON. See the [aka.ms/azsdk/net/dynamiccontent](https://aka.ms/azsdk/net/dynamiccontent) for further details.
|
||||
|
||||
### Other Changes
|
||||
|
||||
- Client redirects are now disabled by default and can be enabled by setting providing a custom transport in `ClientOptions'. Client Authors can also enable redirects by setting `HttpPipelineTransportOptions.IsClientRedirectEnabled` to `true` on the transport options passed to `HttpPipelineBuilder.Build`.
|
||||
|
||||
## 1.32.0 (2023-05-09)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added the `GetRawResponse` method to `RequestFailedException`.
|
||||
- Added overloads of `Operation<T>.WaitForCompletion` and `Operation.WaitForCompletionResponse` that take a `DelayStrategy`.
|
||||
|
||||
## 1.31.0 (2023-04-10)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added the `RetryPolicy` type which can be used to create a custom retry policy.
|
||||
- Added the `DelayStrategy` type which can be used to customize delays.
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Set the Activity status to `Error` on failed activity source activities.
|
||||
- Mark the `Azure.Core.Http.Request` span as failed if the request fails with an exception thrown in the pipeline.
|
||||
- Fixed equality comparison when comparing a `string` to a `ContentType` instance.
|
||||
- Jitter is added when using a `RetryMode` of `Fixed`.
|
||||
|
||||
## 1.30.0 (2023-03-09)
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Fixed the issue with empty header names and values, caused by `ArrayBackedPropertyBag` keeping reference to the array after returning it to array pool [in `Dispose` method](https://github.com/Azure/azure-sdk-for-net/pull/34800).
|
||||
|
||||
## 1.29.0 (2023-03-02)
|
||||
|
||||
### Features Added
|
||||
|
||||
- `ActivitySource` activities that are used when using the [experimental OpenTelemetry support](https://devblogs.microsoft.com/azure-sdk/introducing-experimental-opentelemetry-support-in-the-azure-sdk-for-net/) will include the `az.schema_url` tag indicating the OpenTelemetry schema version. They will also include the attribute names specified [here](https://github.com/Azure/azure-sdk/blob/main/docs/tracing/distributed-tracing-conventions.yml).
|
||||
- "West US 3", "Sweden Central" and "Qatar Central" locations are added to `Azure.Core.AzureLocation`
|
||||
|
||||
### Improvements
|
||||
|
||||
- `Azure.Core.ArrayBackedPropertyBag` is used to store request headers before `HttpRequestMessage` is created instead of `System.Net.Http.Headers.HttpContentHeaders`
|
||||
- `Azure.HttpRange.ToString` uses `string.Create` instead of `FormattableString.Invariant` in .NET 6.0+
|
||||
- `Azure.Core.Diagnostics.AzureCoreEventSource` checks `EventLevel` before formatting data for the events
|
||||
- `Azure.Core.Pipeline.HttpClientTransport.JoinHeaderValues` uses `System.Runtime.CompilerServices.DefaultInterpolatedStringHandler` to join header string values in .NET 6.0+
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- `ActivitySource` activities will no longer be stamped with the `kind` attribute as this is redundant with the OpenTelemetry `SpanKind` attribute.
|
||||
- The product information section of the UserAgent header is now validated for invalid parenthesis formatting and escaped, if necessary.
|
||||
|
||||
## 1.28.0 (2023-02-06)
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed an issue with `AzureSasCredential` which resulted in messages to fail authentication if the SAS signature was updated while a message was in a retry cycle.
|
||||
|
||||
## 1.27.0 (2023-01-10)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Made `RedirectPolicy` public to provide `SetAllowAutoRedirect()` method to library authors.
|
||||
- Added `RetryPolicy` property to `ClientOptions` to allow library authors to set a custom retry policy.
|
||||
- Added `MessageProcessingContext` type and `ProcessingContext` property to `HttpMessage` which contains information about the message as it traverses through the pipeline.
|
||||
- Added `SetProperty` and `TryGetProperty` overloads to `HttpMessage` to allow setting property values using a `Type` as the key.
|
||||
|
||||
## 1.26.0 (2022-11-08)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Introduced a new `NullableResponse<T>` type for scenarios where a service method may or may not return a value. One common example is `Get*IfExists` methods. `Response<T>` also now inherits from `NullableResponse<T>`.
|
||||
- Added `TryParse` method to the `ResourceIdentifier` type.
|
||||
- Added `AppendQuery` and `AppendPath` overloads to `RequestUriBuilder`.
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Fixed issue where fixed delay was applied when the `RetryMode` was set to `Exponential` when retrying a request that resulted in an exception.
|
||||
|
||||
### Other Changes
|
||||
|
||||
- Azure.Core now targets .NET 6 in addition to the existing targets.
|
||||
|
||||
## 1.25.0 (2022-06-23)
|
||||
|
||||
### Features Added
|
||||
- Added `RequestFailedDetailsParser` abstract class, which client libraries can implement to control customization of exception messages for failed responses.
|
||||
- Added `HttpPipelineOptions` type which is accepted in a new overload to `HttpPipelineBuilder.Build`. This type contains all the properties from other overloads and adds a property to specify a `RequestFailedDetailsParser`.
|
||||
- Added a property to `HttpPipelineTransportOptions` called `ClientCertificates` which is a collection of `X509Certificate2`. If populated, the certificates in the collection will be used by the client for TLS client certificate authentication.
|
||||
- Added the `MultipartResponse` type, which can be used by clients to parse the sub-responses for multi-part responses.
|
||||
|
||||
## 1.24.0 (2022-04-04)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added the `MessageContent` type which represents a message containing a content type and data.
|
||||
- Sub classes of `ClientOptions` are now able to create sub class implementations of `DiagnosticsOptions` and set it as the implementation for the `Diagnostics` property of `ClientOptions` via a new constructor overload.
|
||||
|
||||
## 1.23.0 (2022-03-21)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added the `TelemetryDetails` type which enables customization of UserAgent header values on a per-request basis based on a specified `Assembly` and an optional application Id string.
|
||||
- Added `AddClassifier` methods to `RequestContext`. These methods allow callers to change the response classification behavior for a given method invocation.
|
||||
- Added a new `StatusCodeClassifier` type that will be used as the default `ResponseClassifier` for some libraries.
|
||||
- Added an extension method to `BinaryData` called `ToObjectFromJson` which converts the json value represented by `BinaryData` to an object of a specific type.
|
||||
- Additional data center locations were added to `AzureLocation`.
|
||||
- Added `WaitUntil` enum to allow callers to set whether a method invoking a long running operation should return when the operation starts or once it has completed.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Cookies are no longer set on requests by default. Cookies can be re-enabled for `HttpClientTransport` by either setting an AppContext switch named "Azure.Core.Pipeline.HttpClientTransport.EnableCookies" to true or by setting the environment variable, "AZURE_CORE_HTTPCLIENT_ENABLE_COOKIES" to "true". Note: AppContext switches can also be configured via configuration like below:
|
||||
```xml
|
||||
<ItemGroup>
|
||||
<RuntimeHostConfigurationOption Include="Azure.Core.Pipeline.HttpClientTransport.EnableCookies" Value="true" />
|
||||
</ItemGroup>
|
||||
```
|
||||
|
||||
## 1.22.0 (2022-01-11)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `AddPolicies` method to `RequestContext`. This allows policies to be added to the pipeline when calling protocol methods.
|
||||
- Added `IsError` property to `Response`. This will indicate whether the message's `ResponseClassifier` considers the response to be an error.
|
||||
- Added `RequestFailedException` constructor that takes a `Response`.
|
||||
- Added `AzureLocation`. This class gives static references to known Azure regions.
|
||||
- Added `ResourceIdentifier`. This class allows users to load an Azure resource identifier string and parse out the pieces of that string such as which `SubscriptionId` does the resource belong to.
|
||||
- Added `ResourceType`. This class represents the ARM provider information for a given resource and is used by the `ResourceIdentifier` class.
|
||||
- Added `HttpPipelineTransportOptions` type. This type contains a `ServerCertificateCustomValidationCallback` property that allows callers to set a `Func<ServerCertificateCustomValidationArgs, bool>` delegate. If set, the delegate will be called to validate the server side TLS certificate.
|
||||
- Added a new static overload for `HttpPipelineBuilder.Build` that takes an `HttpPipelineTransportOptions` instance. This overload creates an `HttpPipeline` with the default transport configuration and the `HttpPipelineTransportOptions` applied. It returns a `DisposableHttpPipeline` that implements `IDisposable`. Note: The `HttpPipelineTransportOptions` will not be applied if a custom `Transport` has been set in the `ClientOptions`. In the case that transport options were provided but not applied, an event is logged `(PipelineTransportOptionsNotApplied`).
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Added logging of `api-version` query parameter by default. In order to redact this, you can do the following:
|
||||
```c#
|
||||
options.Diagnostics.LoggedQueryParameters.Remove("api-version");
|
||||
```
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Fixed a bug where requests were failing with `NotImplementedException` on Unity with .NET Framework scripting.
|
||||
|
||||
|
||||
## 1.21.0 (2021-11-03)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `RequestContext` and `ErrorOptions` types to aid in configuring requests.
|
||||
- Added `ContentType` strongly-typed string to allow operation callers to specify the content type of a request.
|
||||
|
||||
## 1.20.0 (2021-10-01)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added the static `DelegatedTokenCredential` type with a `Create` method, which returns an instance of `TokenCredential` that uses the supplied delgates to produce an `AccessToken`. This would most typically be used when an token has previously been obtained from some other source and that token needs to be returned by a `TokenCredential` instance.
|
||||
- Added `ResponseError` type to represent an Azure error type.
|
||||
- Added an experimental `ActivitySource` support.
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Fixed an exception during EventSource creation on Xamarin.
|
||||
|
||||
## 1.19.0 (2021-09-07)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `HttpAuthorization` to represent authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values.
|
||||
|
||||
## 1.18.0 (2021-08-18)
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Fixed a bug where a buffered error responses on .NET Framework were prematurely disposed
|
||||
- Fixed relative redirect support.
|
||||
|
||||
## 1.17.0 (2021-08-10)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `ClientOptions.Default` to configure defaults process-wide.
|
||||
- Added `HttpPipelinePosition.BeforeTransport` to be able to add policies at the end of the pipeline before the transport.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed `NotSupportedException` when running in Unity.
|
||||
|
||||
## 1.16.0 (2021-06-30)
|
||||
|
||||
### Changed
|
||||
|
||||
- Added `TenantId` to the properties on `TokenRequestContext` to enable multi-tenant support in Azure.Identity.
|
||||
|
||||
## 1.15.0 (2021-06-08)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Types to represent `GeoJson` primitives.
|
||||
|
||||
### Changed
|
||||
|
||||
- `Response.Content` no longer throws `InvalidOperationException` when the response is backed by a `MemoryStream` with a non publicly visible buffer.
|
||||
|
||||
## 1.14.0 (2021-05-11)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added additional methods to `BearerTokenAuthenticationPolicy`, which enables creation of authentication policies that can handle challenges.
|
||||
|
||||
## 1.13.0 (2021-04-07)
|
||||
|
||||
### Key Bug Fixes
|
||||
|
||||
- Fixed `NotSupportedException` when running using Blazor in the browser.
|
||||
- Disable the response caching and enable the streaming when running using Blazor in the browser.
|
||||
|
||||
## 1.12.0 (2021-04-06)
|
||||
|
||||
### Features Added
|
||||
|
||||
- Added `HttpPipeline.CreateHttpMessagePropertiesScope` that can be used to inject scoped properties into `HttpMessage`.
|
||||
|
||||
## 1.11.0 (2021-03-22)
|
||||
|
||||
### Features Added
|
||||
|
||||
- `Operation` base class for operations that do not return a value.
|
||||
- Added `Content` property to `Response` which returns the body of the response as a `BinaryData` if the body is buffered.
|
||||
- `AzureNamedKeyCredential` has been implemented to cover scenarios where services require that a shared key name and the key value be used as a component of the algorithm to form the authorization token.
|
||||
|
||||
### Key Bug Fixes
|
||||
|
||||
- Check the `JsonIgnoreAttribute.Condition` property added in .NET 5 when discovering members with `JsonObjectSerializer`.
|
||||
- `ETag` now returns `string.Empty` if it is constructed with a null value.
|
||||
- Keep-Alive connections are recycled every 300 seconds to observe DNS changes.
|
||||
|
||||
## 1.10.0 (2021-03-09)
|
||||
|
||||
## Features Added
|
||||
|
||||
- Added `CloudEvent` type based on the [CloudEvent spec](https://github.com/cloudevents/spec/).
|
||||
|
||||
## 1.9.0 (2021-02-09)
|
||||
|
||||
## Features Added
|
||||
- Added Serialize overloads on `ObjectSerializer` that serialize to `BinaryData`.
|
||||
- Added AzureCoreExtensions containing extensions methods for `BinaryData` that allow deserializing with an `ObjectSerializer`.
|
||||
|
||||
### Key Bug Fixes
|
||||
|
||||
- Avoid `ObjectDisposedException` when the request is cancelled during content upload over HTTPS.
|
||||
- Fix exception while setting `If-Modified-Since` header on .NET Framework.
|
||||
|
||||
## 1.8.1 (2021-01-11)
|
||||
|
||||
### Key Bug Fixes
|
||||
|
||||
- Include `Microsoft.Bcl.AsyncInterfaces` dependency on .NET 5 to avoid build issues in applications targeting .NET 5.
|
||||
|
||||
## 1.8.0 (2021-01-06)
|
||||
|
||||
### Features Added
|
||||
- `AzureSasCredential` and its respective policy.
|
||||
|
||||
### Key Bug Fixes
|
||||
- Avoid a causing and ignoring an exception when setting network stream timeout on .NET Core.
|
||||
|
||||
## 1.7.0 (2020-12-14)
|
||||
|
||||
### New Features
|
||||
- `System.Text.Json.JsonConverter` implementation for the `ETag`
|
||||
- Synchronous `HttpClient` support on .NET 5.
|
||||
|
||||
### Key Bug Fixes
|
||||
- System proxy settings are correctly applied on .NET Framework
|
||||
|
||||
## 1.6.0 (2020-10-28)
|
||||
|
||||
### Features Added
|
||||
- The `HttpClientTransport(HttpMessageHandler)` constructor overload.
|
||||
- The `JsonPatchDocument` type.
|
||||
|
||||
### Key Bugs Fixed
|
||||
- The race condition in `AzureEventSourceListener` class that sometimes resulted in a `NullReferenceException` in the `EventSource`.
|
||||
- The overflow exception when content length is larger than `int.MaxValue`.
|
||||
|
||||
## 1.5.1 (2020-10-01)
|
||||
|
||||
### Changed
|
||||
- `ServicePointManager` Connection limit is automatically increased to `50` for Azure endpoints.
|
||||
|
||||
|
||||
## 1.5.0 (2020-09-03)
|
||||
|
||||
### Changed
|
||||
- `ETag` now supports weak ETags and implements an overload for `ToString` that accepts a format string.
|
||||
|
||||
### Features Added
|
||||
- HttpWebRequest-based transport implementation. Enabled by-default on .NET Framework. Can be disabled using `AZURE_CORE_DISABLE_HTTPWEBREQUESTTRANSPORT` environment variable or `Azure.Core.Pipeline.DisableHttpWebRequestTransport` AppContext switch. To use the app context switch add the following snippet to your `.csproj`:
|
||||
|
||||
```xml
|
||||
<ItemGroup>
|
||||
<RuntimeHostConfigurationOption Include="Azure.Core.Pipeline.DisableHttpWebRequestTransport" Value="true" />
|
||||
</ItemGroup>
|
||||
```
|
||||
|
||||
When the environment variable or the switch are set the `HttpClientTransport` would be used by default instead.
|
||||
|
||||
## 1.4.1 (2020-08-18)
|
||||
|
||||
### Key Bugs Fixed
|
||||
- Bug in TaskExtensions.EnsureCompleted method that causes it to unconditionally throw an exception in the environments with synchronization context
|
||||
|
||||
## 1.4.0 (2020-08-06)
|
||||
|
||||
### Features Added
|
||||
- Added `ObjectSerializer` base class for serialization.
|
||||
- Added `IMemberNameConverter` for converting member names to serialized property names.
|
||||
- Added `JsonObjectSerializer` that implements `ObjectSerializer` for `System.Text.Json`.
|
||||
|
||||
### Key Bugs Fixed
|
||||
- Connection leak for retried non-buffered requests on .NET Framework.
|
||||
|
||||
## 1.3.0 (2020-07-02)
|
||||
|
||||
### Features Added
|
||||
- `HttpPipeline.CreateClientRequestIdScope` method to allow setting client request id on outgoing requests.
|
||||
|
||||
## 1.2.2 (2020-06-04)
|
||||
|
||||
### Key Bugs Fixed
|
||||
- Retry server timeouts on .NET Framework.
|
||||
|
||||
## 1.2.1 (2020-04-30)
|
||||
|
||||
### Changed
|
||||
- Read client request ID value used for logging and tracing off the initial request object if available.
|
||||
|
||||
### Key Bugs Fixed
|
||||
- Fixed a bug when using Azure.Core based libraries in Blazor WebAssembly apps.
|
||||
|
||||
## 1.2.0 (2020-04-03)
|
||||
|
||||
### Features Added
|
||||
- `AzureKeyCredential` and its respective policy.
|
||||
|
||||
### Changed
|
||||
- Response trace messages are properly identified.
|
||||
- Content type "application/x-www-form-urlencoded" is decoded in trace messages.
|
||||
|
||||
## 1.1.0 (2020-03-05)
|
||||
|
||||
### Fixes and improvements
|
||||
- Add OPTIONS and TRACE HTTP request methods.
|
||||
- Add `NetworkTimeout` property to `RetryOptions` and apply it to network operations like sending request or reading from the response stream.
|
||||
- Implement serialization for RequestFailedException.
|
||||
|
||||
## 1.0.2 (2020-01-10)
|
||||
|
||||
- Block bearer token authentication for non TLS protected endpoints.
|
||||
- Add support for retrying on request timeouts.
|
||||
- Add support for retrying on 408, 500, 502, 504 status codes.
|
||||
- Remove commit hash from User-Agent telemetry.
|
||||
|
||||
## 1.0.1
|
||||
|
||||
- Fix issues with log redaction where first query character was replaced with '?' character.
|
||||
- Exclude EventCounter events from AzureEventSourceListener.
|
||||
- Add `AZURE_TRACING_DISABLED` environment variable support.
|
||||
|
||||
## 1.0.0
|
||||
|
||||
- Updating versioning and packaging for general availability.
|
||||
- Make types and namespace names consistent.
|
||||
|
||||
## 1.0.0-preview.9
|
||||
|
||||
- Added console and trace logger listener.
|
||||
- Added additional content and header logging options.
|
||||
- Moved commonly used types to Azure namespace.
|
||||
|
||||
## 1.0.0-preview.8
|
||||
|
||||
- Minor improvements and bug fixes.
|
||||
|
||||
## 1.0.0-preview.7
|
||||
|
||||
- Support for distributed tracing added.
|
||||
- Support for TokenCredential in ASP.NET Core integration added.
|
||||
Shared types for long running operations and async collections added.
|
||||
- .NET Core dependencies updated to preview7.
|
||||
- Bug fixes.
|
267
test2/packages/Azure.Core.1.38.0/README.md
vendored
Normal file
267
test2/packages/Azure.Core.1.38.0/README.md
vendored
Normal file
@ -0,0 +1,267 @@
|
||||
# Azure Core shared client library for .NET
|
||||
|
||||
Azure.Core provides shared primitives, abstractions, and helpers for modern .NET Azure SDK client libraries.
|
||||
These libraries follow the [Azure SDK Design Guidelines for .NET](https://azure.github.io/azure-sdk/dotnet_introduction.html)
|
||||
and can be easily identified by package and namespaces names starting with 'Azure', e.g. `Azure.Storage.Blobs`.
|
||||
A more complete list of client libraries using Azure.Core can be found [here](https://github.com/Azure/azure-sdk-for-net#core-services).
|
||||
|
||||
Azure.Core allows client libraries to expose common functionality in a consistent fashion,
|
||||
so that once you learn how to use these APIs in one client library, you will know how to use them in other client libraries.
|
||||
|
||||
[Source code][source] | [Package (NuGet)][package] | [API reference documentation][docs]
|
||||
|
||||
## Getting started
|
||||
|
||||
Typically, you will not need to install Azure.Core;
|
||||
it will be installed for you when you install one of the client libraries using it.
|
||||
In case you want to install it explicitly (to implement your own client library, for example),
|
||||
you can find the NuGet package [here](https://www.nuget.org/packages/Azure.Core).
|
||||
|
||||
## Key concepts
|
||||
|
||||
The main shared concepts of Azure.Core (and so Azure SDK libraries using Azure.Core) include:
|
||||
|
||||
- Configuring service clients, e.g. configuring retries, logging (`ClientOptions`).
|
||||
- Accessing HTTP response details (`Response`, `Response<T>`).
|
||||
- Calling long-running operations (`Operation<T>`).
|
||||
- Paging and asynchronous streams (`AsyncPageable<T>`).
|
||||
- Exceptions for reporting errors from service requests in a consistent fashion. (`RequestFailedException`).
|
||||
- Customizing requests (`RequestContext`).
|
||||
- Abstractions for representing Azure SDK credentials. (`TokenCredentials`).
|
||||
|
||||
Below, you will find sections explaining these shared concepts in more detail.
|
||||
|
||||
### Thread safety
|
||||
|
||||
We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads.
|
||||
|
||||
### Additional concepts
|
||||
|
||||
[Client options](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions) |
|
||||
[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
|
||||
[Long-running operations](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt) |
|
||||
[Handling failures](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception) |
|
||||
[Diagnostics](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md) |
|
||||
[Mocking](https://learn.microsoft.com/dotnet/azure/sdk/unit-testing-mocking) |
|
||||
[Client lifetime](https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/)
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
**NOTE:** Samples in this file apply only to packages that follow [Azure SDK Design Guidelines](https://azure.github.io/azure-sdk/dotnet_introduction.html). Names of such packages usually start with `Azure`.
|
||||
|
||||
### Configuring Service Clients Using `ClientOptions`
|
||||
|
||||
Azure SDK client libraries typically expose one or more _service client_ types that
|
||||
are the main starting points for calling corresponding Azure services.
|
||||
You can easily find these client types as their names end with the word _Client_.
|
||||
For example, `BlockBlobClient` can be used to call blob storage service,
|
||||
and `KeyClient` can be used to access Key Vault service cryptographic keys.
|
||||
|
||||
These client types can be instantiated by calling a simple constructor,
|
||||
or its overload that takes various configuration options.
|
||||
These options are passed as a parameter that extends `ClientOptions` class exposed by Azure.Core.
|
||||
Various service specific options are usually added to its subclasses, but a set of SDK-wide options are
|
||||
available directly on `ClientOptions`.
|
||||
|
||||
```C# Snippet:ConfigurationHelloWorld
|
||||
SecretClientOptions options = new SecretClientOptions()
|
||||
{
|
||||
Retry =
|
||||
{
|
||||
Delay = TimeSpan.FromSeconds(2),
|
||||
MaxRetries = 10,
|
||||
Mode = RetryMode.Fixed
|
||||
},
|
||||
Diagnostics =
|
||||
{
|
||||
IsLoggingContentEnabled = true,
|
||||
ApplicationId = "myApplicationId"
|
||||
}
|
||||
};
|
||||
|
||||
SecretClient client = new SecretClient(new Uri("http://example.com"), new DefaultAzureCredential(), options);
|
||||
```
|
||||
|
||||
More on client configuration in [client configuration samples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Configuration.md).
|
||||
|
||||
### Accessing HTTP Response Details Using `Response<T>`
|
||||
|
||||
_Service clients_ have methods that can be used to call Azure services. We refer to these client methods _service methods_.
|
||||
_Service methods_ return a shared Azure.Core type `Response<T>` (in rare cases its non-generic sibling, a raw `Response`).
|
||||
This type provides access to both the deserialized result of the service call,
|
||||
and to the details of the HTTP response returned from the server.
|
||||
|
||||
```C# Snippet:ResponseTHelloWorld
|
||||
// create a client
|
||||
var client = new SecretClient(new Uri("http://example.com"), new DefaultAzureCredential());
|
||||
|
||||
// call a service method, which returns Response<T>
|
||||
Response<KeyVaultSecret> response = await client.GetSecretAsync("SecretName");
|
||||
|
||||
// Response<T> has two main accessors.
|
||||
// Value property for accessing the deserialized result of the call
|
||||
KeyVaultSecret secret = response.Value;
|
||||
|
||||
// .. and GetRawResponse method for accessing all the details of the HTTP response
|
||||
Response http = response.GetRawResponse();
|
||||
|
||||
// for example, you can access HTTP status
|
||||
int status = http.Status;
|
||||
|
||||
// or the headers
|
||||
foreach (HttpHeader header in http.Headers)
|
||||
{
|
||||
Console.WriteLine($"{header.Name} {header.Value}");
|
||||
}
|
||||
```
|
||||
|
||||
More on response types in [response samples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Response.md).
|
||||
|
||||
### Setting up console logging
|
||||
|
||||
To create an Azure SDK log listener that outputs messages to console use `AzureEventSourceListener.CreateConsoleLogger` method.
|
||||
|
||||
```C# Snippet:ConsoleLogging
|
||||
// Setup a listener to monitor logged events.
|
||||
using AzureEventSourceListener listener = AzureEventSourceListener.CreateConsoleLogger();
|
||||
```
|
||||
|
||||
More on logging in [diagnostics samples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md).
|
||||
|
||||
### Reporting Errors `RequestFailedException`
|
||||
|
||||
When a service call fails `Azure.RequestFailedException` would get thrown. The exception type provides a Status property with an HTTP status code and an ErrorCode property with a service-specific error code.
|
||||
|
||||
```C# Snippet:RequestFailedException
|
||||
try
|
||||
{
|
||||
KeyVaultSecret secret = client.GetSecret("NonexistentSecret");
|
||||
}
|
||||
// handle exception with status code 404
|
||||
catch (RequestFailedException e) when (e.Status == 404)
|
||||
{
|
||||
// handle not found error
|
||||
Console.WriteLine("ErrorCode " + e.ErrorCode);
|
||||
}
|
||||
```
|
||||
|
||||
More on handling responses in [response samples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Response.md).
|
||||
|
||||
### Consuming Service Methods Returning `AsyncPageable<T>`
|
||||
|
||||
If a service call returns multiple values in pages, it would return `Pageable<T>/AsyncPageable<T>` as a result. You can iterate over `AsyncPageable` directly or in pages.
|
||||
|
||||
```C# Snippet:AsyncPageable
|
||||
// call a service method, which returns AsyncPageable<T>
|
||||
AsyncPageable<SecretProperties> allSecretProperties = client.GetPropertiesOfSecretsAsync();
|
||||
|
||||
await foreach (SecretProperties secretProperties in allSecretProperties)
|
||||
{
|
||||
Console.WriteLine(secretProperties.Name);
|
||||
}
|
||||
```
|
||||
|
||||
For more information on paged responses, see [Pagination with the Azure SDK for .NET](https://docs.microsoft.com/dotnet/azure/sdk/pagination).
|
||||
|
||||
### Consuming Long-Running Operations Using `Operation<T>`
|
||||
|
||||
Some operations take long time to complete and require polling for their status. Methods starting long-running operations return `*Operation<T>` types.
|
||||
|
||||
The `WaitForCompletionAsync` method is an easy way to wait for operation completion and get the resulting value.
|
||||
|
||||
```C# Snippet:OperationCompletion
|
||||
// create a client
|
||||
SecretClient client = new SecretClient(new Uri("http://example.com"), new DefaultAzureCredential());
|
||||
|
||||
// Start the operation
|
||||
DeleteSecretOperation operation = await client.StartDeleteSecretAsync("SecretName");
|
||||
|
||||
Response<DeletedSecret> response = await operation.WaitForCompletionAsync();
|
||||
DeletedSecret value = response.Value;
|
||||
|
||||
Console.WriteLine(value.Name);
|
||||
Console.WriteLine(value.ScheduledPurgeDate);
|
||||
```
|
||||
|
||||
More on long-running operations in [long-running operation samples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/LongRunningOperations.md).
|
||||
|
||||
### Customizing Requests Using `RequestContext`
|
||||
|
||||
Besides general configuration of _service clients_ through `ClientOptions`, it is possible to customize the requests sent by _service clients_
|
||||
using protocol methods or convenience APIs that expose `RequestContext` as a parameter.
|
||||
|
||||
```C# Snippet:SetRequestContext
|
||||
var context = new RequestContext();
|
||||
context.AddClassifier(404, isError: false);
|
||||
|
||||
Response response = await client.GetPetAsync("pet1", context);
|
||||
```
|
||||
|
||||
More on request customization in [RequestContext samples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/RequestContext.md).
|
||||
|
||||
### Mocking
|
||||
|
||||
One of the most important cross-cutting features of our new client libraries using Azure.Core is that they are designed for mocking.
|
||||
Mocking is enabled by:
|
||||
|
||||
- providing a protected parameterless constructor on client types.
|
||||
- making service methods virtual.
|
||||
- providing APIs for constructing model types returned from virtual service methods. To find these factory methods look for types with the _ModelFactory_ suffix, e.g. `SecretModelFactory`.
|
||||
|
||||
For example, the ConfigurationClient.Get method can be mocked (with [Moq](https://github.com/moq/moq4)) as follows:
|
||||
|
||||
```C# Snippet:ClientMock
|
||||
// Create a mock response
|
||||
var mockResponse = new Mock<Response>();
|
||||
|
||||
// Create a mock value
|
||||
var mockValue = SecretModelFactory.KeyVaultSecret(
|
||||
SecretModelFactory.SecretProperties(new Uri("http://example.com"))
|
||||
);
|
||||
|
||||
// Create a client mock
|
||||
var mock = new Mock<SecretClient>();
|
||||
|
||||
// Setup client method
|
||||
mock.Setup(c => c.GetSecret("Name", null, default))
|
||||
.Returns(Response.FromValue(mockValue, mockResponse.Object));
|
||||
|
||||
// Use the client mock
|
||||
SecretClient client = mock.Object;
|
||||
KeyVaultSecret secret = client.GetSecret("Name");
|
||||
```
|
||||
|
||||
More on mocking in [Unit testing and mocking with the Azure SDK for .NET](https://learn.microsoft.com/dotnet/azure/sdk/unit-testing-mocking).
|
||||
|
||||
## Distributed tracing with OpenTelemetry
|
||||
|
||||
Azure SDKs are instrumented for distributed tracing using [OpenTelemetry](https://opentelemetry.io/). Distributed tracing allows to follow request through multiple services, record how long network or logical call take along with structured properties describing such operations.
|
||||
|
||||
More on diagnostics in [diagnostics samples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md).
|
||||
|
||||
To setup distributed tracing for your application follow your observability vendor documentation. If you use Azure Monitor, follow the [Start Monitoring Application](https://learn.microsoft.com/azure/azure-monitor/app/opentelemetry-enable?tabs=aspnetcore) guide.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Three main ways of troubleshooting failures are [inspecting exceptions](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Response.md#handling-exceptions), enabling [logging](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md#Logging), and [distributed tracing](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md#Distributed-tracing)
|
||||
|
||||
## Next steps
|
||||
|
||||
Explore and install [available Azure SDK libraries](https://azure.github.io/azure-sdk/releases/latest/dotnet.html).
|
||||
|
||||
## Contributing
|
||||
|
||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
|
||||
|
||||
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
|
||||
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][code_of_conduct_faq] or contact opencode@microsoft.com with any additional questions or comments.
|
||||
|
||||
|
||||
|
||||
[source]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/core/Azure.Core/src
|
||||
[package]: https://www.nuget.org/packages/Azure.Core/
|
||||
[docs]: https://docs.microsoft.com/dotnet/api/azure.core
|
||||
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct
|
||||
[code_of_conduct_faq]: https://opensource.microsoft.com/codeofconduct/faq/
|
BIN
test2/packages/Azure.Core.1.38.0/azureicon.png
vendored
Normal file
BIN
test2/packages/Azure.Core.1.38.0/azureicon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
test2/packages/Azure.Core.1.38.0/lib/net461/Azure.Core.dll
vendored
Normal file
BIN
test2/packages/Azure.Core.1.38.0/lib/net461/Azure.Core.dll
vendored
Normal file
Binary file not shown.
8208
test2/packages/Azure.Core.1.38.0/lib/net461/Azure.Core.xml
vendored
Normal file
8208
test2/packages/Azure.Core.1.38.0/lib/net461/Azure.Core.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Azure.Core.1.38.0/lib/net472/Azure.Core.dll
vendored
Normal file
BIN
test2/packages/Azure.Core.1.38.0/lib/net472/Azure.Core.dll
vendored
Normal file
Binary file not shown.
8208
test2/packages/Azure.Core.1.38.0/lib/net472/Azure.Core.xml
vendored
Normal file
8208
test2/packages/Azure.Core.1.38.0/lib/net472/Azure.Core.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Azure.Core.1.38.0/lib/net6.0/Azure.Core.dll
vendored
Normal file
BIN
test2/packages/Azure.Core.1.38.0/lib/net6.0/Azure.Core.dll
vendored
Normal file
Binary file not shown.
7786
test2/packages/Azure.Core.1.38.0/lib/net6.0/Azure.Core.xml
vendored
Normal file
7786
test2/packages/Azure.Core.1.38.0/lib/net6.0/Azure.Core.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Azure.Core.1.38.0/lib/netstandard2.0/Azure.Core.dll
vendored
Normal file
BIN
test2/packages/Azure.Core.1.38.0/lib/netstandard2.0/Azure.Core.dll
vendored
Normal file
Binary file not shown.
8179
test2/packages/Azure.Core.1.38.0/lib/netstandard2.0/Azure.Core.xml
vendored
Normal file
8179
test2/packages/Azure.Core.1.38.0/lib/netstandard2.0/Azure.Core.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Azure.Identity.1.11.4/.signature.p7s
vendored
Normal file
BIN
test2/packages/Azure.Identity.1.11.4/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Azure.Identity.1.11.4/Azure.Identity.1.11.4.nupkg
vendored
Normal file
BIN
test2/packages/Azure.Identity.1.11.4/Azure.Identity.1.11.4.nupkg
vendored
Normal file
Binary file not shown.
714
test2/packages/Azure.Identity.1.11.4/CHANGELOG.md
vendored
Normal file
714
test2/packages/Azure.Identity.1.11.4/CHANGELOG.md
vendored
Normal file
@ -0,0 +1,714 @@
|
||||
# Release History
|
||||
|
||||
## 1.11.4 (2024-06-10)
|
||||
|
||||
### Bugs Fixed
|
||||
- Managed identity bug fixes
|
||||
|
||||
## 1.11.3 (2024-05-07)
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed a regression in `DefaultAzureCredential` probe request behavior for IMDS managed identity environments. [#43796](https://github.com/Azure/azure-sdk-for-net/issues/43796)
|
||||
|
||||
## 1.11.2 (2024-04-19)
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed an issue which caused claims to be incorrectly added to confidential client credentials such as `DeviceCodeCredential` [#43468](https://github.com/Azure/azure-sdk-for-net/issues/43468)
|
||||
|
||||
## 1.11.1 (2024-04-16)
|
||||
|
||||
### Other Changes
|
||||
- Updated Microsoft.Identity.Client and related dependencies to version 4.60.3
|
||||
|
||||
## 1.11.0 (2024-04-09)
|
||||
|
||||
### Bugs Fixed
|
||||
- `AzurePowerShellCredential` now handles the case where it falls back to legacy PowerShell without relying on the error message string.
|
||||
|
||||
### Breaking Changes
|
||||
- `DefaultAzureCredential` now sends a probe request with no retries for IMDS managed identity environments to avoid excessive retry delays when the IMDS endpoint is not available. This should improve credential chain resolution for local development scenarios. See [BREAKING_CHANGES.md](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/BREAKING_CHANGES.md#1110).
|
||||
|
||||
## 1.11.0-beta.1 (2024-02-06)
|
||||
|
||||
### Bugs Fixed
|
||||
- Claims from the `TokenRequestContext` are now correctly sent through to MSAL in `ConfidentialClient` credentials. [#40451](https://github.com/Azure/azure-sdk-for-net/issues/40451).
|
||||
- `ManagedIdentityCredential` is more lenient with the error message it matches when falling through to the next credential in the chain in the case that Docker Desktop returns a 403 response when attempting to access the IMDS endpoint. [#38218](https://github.com/Azure/azure-sdk-for-net/issues/38218)
|
||||
|
||||
### Other Changes
|
||||
- `AzureCliCredential` utilizes the new `expires_on` property returned by `az account get-access-token` to determine token expiration.
|
||||
|
||||
## 1.10.4 (2023-11-13)
|
||||
|
||||
### Other Changes
|
||||
- Distributed tracing with `ActivitySource` is stable and no longer requires the [Experimental feature-flag](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md).
|
||||
|
||||
|
||||
## 1.10.3 (2023-10-18)
|
||||
|
||||
### Bugs Fixed
|
||||
- `ManagedIdentityCredential` will now correctly retry when the instance metadata endpoint returns a 410 response. [#28568](https://github.com/Azure/azure-sdk-for-net/issues/28568)
|
||||
|
||||
### Other Changes
|
||||
- Updated Microsoft.Identity.Client dependency to version 4.56.0
|
||||
|
||||
## 1.10.2 (2023-10-10)
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Bug fixes for development time credentials.
|
||||
|
||||
|
||||
## 1.10.1 (2023-09-12)
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- `ManagedIdentityCredential` will fall through to the next credential in the chain in the case that Docker Desktop returns a 403 response when attempting to access the IMDS endpoint. [#38218](https://github.com/Azure/azure-sdk-for-net/issues/38218)
|
||||
- Fixed an issue where interactive credentials would still prompt on the first GetToken request even when the cache is populated and an AuthenticationRecord is provided. [#38431](https://github.com/Azure/azure-sdk-for-net/issues/38431)
|
||||
|
||||
## 1.10.0 (2023-08-14)
|
||||
|
||||
### Features Added
|
||||
- Added `BrowserCustomization` property to `InteractiveBrowserCredential` to enable web view customization for interactive authentication.
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- ManagedIdentityCredential will no longer attempt to parse invalid json payloads on responses from the managed identity endpoint.
|
||||
- Fixed an issue where AzurePowerShellCredential fails to parse the token response from Azure PowerShell. [#22638](https://github.com/Azure/azure-sdk-for-net/issues/22638)
|
||||
|
||||
## 1.10.0-beta.1 (2023-07-17)
|
||||
|
||||
### Features Added
|
||||
- Continuous Access Evaluation (CAE) is now configurable per-request by setting the `IsCaeEnabled` property of `TokenRequestContext` via its constructor.
|
||||
- Added `IsUnsafeSupportLoggingEnabled` property to `TokenCredentialOptions` which equates to passing 'true' for the `enablePiiLogging` parameter to the 'WithLogging' method on the MSAL client builder.
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed an issue with `TokenCachePersistenceOptions` where credentials in the same process would share the same cache, even if they had different configured names.
|
||||
- ManagedIdentityCredential now ignores empty ClientId values. [#37100](https://github.com/Azure/azure-sdk-for-net/issues/37100)
|
||||
- ManagedIdentityCredential will no longer attempt to parse invalid json payloads on responses from the managed identity endpoint.
|
||||
- When utilizing `EnvironmentCredential` from `DefaultAzureCredential` the credential will now override the `TENANT_ID` environment value if the TenantId value is set in `DefaultAzureCredentialOptions`.
|
||||
|
||||
### Other Changes
|
||||
- All developer credentials in the `DefaultAzureCredential` credential chain will fall through to the next credential in the chain on any failure. Previously, some exceptions would throw `AuthenticationFailedException`, which stops further progress in the chain.
|
||||
|
||||
## 1.9.0 (2023-05-09)
|
||||
|
||||
### Breaking Changes
|
||||
- Changed visibility of all environment variable based properties on `EnvironmentCredentialOptions` to internal. These options are again only configurable via environment variables.
|
||||
|
||||
## 1.9.0-beta.3 (2023-04-12)
|
||||
|
||||
### Breaking Changes
|
||||
- Renamed the developer credential options timeout settings as follows:
|
||||
- `AzureCliCredential` to `AzureCliCredentialOptions.ProcessTimeout`
|
||||
- `AzurePowerShellCredential` to `AzurePowerShellCredentialOptions.ProcessTimeout`
|
||||
- `VisualStudioCredential` to `VisualStudioCredentialOptions.ProcessTimeout`
|
||||
- `AzureDeveloperCliCredential` to `AzureDeveloperCliCredentialOptions.ProcessTimeout`
|
||||
|
||||
### Bugs Fixed
|
||||
- Setting `DefaultAzureCredentialOptions.ExcludeWorkloadIdentityCredential` to `true` also excludes `TokenExchangeManagedIdentitySource` when using `DefaultAzureCredential` selects the `ManagedIdentityCredential`
|
||||
|
||||
## 1.9.0-beta.2 (2023-02-21)
|
||||
|
||||
### Features Added
|
||||
- Allow `VisualStudioCredential` on non-Windows platforms
|
||||
- Added `AzureDeveloperCliCredential` for Azure Developer CLI
|
||||
- Added `WorkloadIdentityCredential` to support Azure Workload Identity authentication
|
||||
- Added `WorkloadIdentityCredential` and `AzureDeveloperCliCredential` to the `DefaultAzureCredential` authentication flow.
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed `ManagedIdentityCredential` authentication in sovereign clouds for services specifying `TenantId` through authentication challenge [#34077](https://github.com/Azure/azure-sdk-for-net/issues/34077)
|
||||
|
||||
### Breaking Changes
|
||||
- Previously, if environment variables for username and password auth are set in addition to the AZURE_CLIENT_CERTIFICATE_PATH, EnvironmentCredential would select the `UsernamePasswordCredential`. After this change, `ClientCertificateCredential` will be selected, which is consistent with all other languages. This is potentially a behavioral breaking change.
|
||||
|
||||
## 1.8.2 (2023-02-08)
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed error message parsing in `AzurePowerShellCredential` which would misinterpret Microsoft Entra ID errors with the need to install PowerShell. [#31998](https://github.com/Azure/azure-sdk-for-net/issues/31998)
|
||||
- Fix regional endpoint validation error when using `ManagedIdentityCredential`. [#32498])(https://github.com/Azure/azure-sdk-for-net/issues/32498)
|
||||
|
||||
## 1.8.1 (2023-01-13)
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed an issue when using `ManagedIdentityCredential` in combination with authorities other than Azure public cloud that resulted in a incorrect instance metadata validation error. [#32498](https://github.com/Azure/azure-sdk-for-net/issues/32498)
|
||||
|
||||
## 1.8.0 (2022-11-08)
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed error message parsing in `AzureCliCredential` which would misinterpret Microsoft Entra ID errors with the need to login with `az login`. [#26894](https://github.com/Azure/azure-sdk-for-net/issues/26894), [#29109](https://github.com/Azure/azure-sdk-for-net/issues/29109)
|
||||
- `ManagedIdentityCredential` will no longer fail when a response received from the endpoint is invalid JSON. It now treats this scenario as if the credential is unavailable. [#30467](https://github.com/Azure/azure-sdk-for-net/issues/30467), [#32061](https://github.com/Azure/azure-sdk-for-net/issues/32061)
|
||||
|
||||
## 1.9.0-beta.1 (2022-10-13)
|
||||
|
||||
### Features Added
|
||||
- Credentials that are implemented via launching a sub-process to acquire tokens now have configurable timeouts. This addresses scenarios where these proceses can take longer than the current default timeout values. (A community contribution, courtesy of _[reynaldoburgos](https://github.com/reynaldoburgos)_). The affected credentials and their associated options are:
|
||||
- `AzureCliCredential` and `AzureCliCredentialOptions.CliProcessTimeout`
|
||||
- `AzurePowerShellCredential` and `AzurePowerShellCredentialOptions.PowerShellProcessTimeout`
|
||||
- `VisualStudioCredential` and `VisualStudioCredentialOptions.VisualStudioProcessTimeout`
|
||||
- `DefaultAzureCredential` and `DefaultAzureCredentialOptions.DeveloperCredentialTimeout` Note: this option applies to all developer credentials above when using `DefaultAzureCredential`.
|
||||
|
||||
### Acknowledgments
|
||||
Thank you to our developer community members who helped to make Azure Identity better with their contributions to this release:
|
||||
|
||||
- _[reynaldoburgos](https://github.com/reynaldoburgos)_
|
||||
|
||||
## 1.8.0-beta.1 (2022-10-13)
|
||||
|
||||
### Features Added
|
||||
- Reintroduced `ManagedIdentityCredential` token caching support from 1.7.0-beta.1
|
||||
- `EnvironmentCredential` updated to support specifying a certificate password via the `AZURE_CLIENT_CERTIFICATE_PASSWORD` environment variable
|
||||
|
||||
### Breaking Changes
|
||||
- Excluded `VisualStudioCodeCredential` from `DefaultAzureCredential` token chain by default as SDK authentication via Visual Studio Code is broken due to issue [#27263](https://github.com/Azure/azure-sdk-for-net/issues/27263). The `VisualStudioCodeCredential` will be re-enabled in the `DefaultAzureCredential` flow once a fix is in place. Issue [#30525](https://github.com/Azure/azure-sdk-for-net/issues/30525) tracks this. In the meantime Visual Studio Code users can authenticate their development environment using the [Azure CLI](https://learn.microsoft.com/cli/azure/).
|
||||
|
||||
## 1.7.0 (2022-09-19)
|
||||
|
||||
### Features Added
|
||||
- Added `AdditionallyAllowedTenants` to the following credential options to force explicit opt-in behavior for multi-tenant authentication:
|
||||
- `AuthorizationCodeCredentialOptions`
|
||||
- `AzureCliCredentialOptions`
|
||||
- `AzurePowerShellCredentialOptions`
|
||||
- `ClientAssertionCredentialOptions`
|
||||
- `ClientCertificateCredentialOptions`
|
||||
- `ClientSecretCredentialOptions`
|
||||
- `DefaultAzureCredentialOptions`
|
||||
- `OnBehalfOfCredentialOptions`
|
||||
- `UsernamePasswordCredentialOptions`
|
||||
- `VisualStudioCodeCredentialOptions`
|
||||
- `VisualStudioCredentialOptions`
|
||||
- Added `TenantId` to `DefaultAzureCredentialOptions` to avoid having to set `InteractiveBrowserTenantId`, `SharedTokenCacheTenantId`, `VisualStudioCodeTenantId`, and `VisualStudioTenantId` individually.
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed overly restrictive scope validation to allow the '_' character, for common scopes such as `user_impersonation` [#30647](https://github.com/Azure/azure-sdk-for-net/issues/30647)
|
||||
|
||||
### Breaking Changes
|
||||
- Credential types supporting multi-tenant authentication will now throw `AuthenticationFailedException` if the requested tenant ID doesn't match the credential's tenant ID, and is not included in the `AdditionallyAllowedTenants` option. Applications must now explicitly add additional tenants to the `AdditionallyAllowedTenants` list, or add '*' to list, to enable acquiring tokens from tenants other than the originally specified tenant ID. See [BREAKING_CHANGES.md](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/BREAKING_CHANGES.md#170).
|
||||
- `ManagedIdentityCredential` token caching added in 1.7.0-beta.1 has been removed from this release and will be added back in 1.8.0-beta.1
|
||||
|
||||
## 1.7.0-beta.1 (2022-08-09)
|
||||
|
||||
### Features Added
|
||||
- `ManagedIdentityCredential` will now internally cache tokens. Apps can call `GetToken` or `GetTokenAsync` directly without needing to cache to avoid throttling.
|
||||
|
||||
## 1.6.1 (2022-08-08)
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed `AZURE_REGIONAL_AUTHORITY_NAME` support in `ClientCertificateCredential` [#29112](https://github.com/Azure/azure-sdk-for-net/issues/29112)
|
||||
- Fixed regression in `SharedTokenCacheCredential` default behavior [#28029](https://github.com/Azure/azure-sdk-for-net/issues/28029)
|
||||
- Fixed legacy PowerShell discovery failures [#28030](https://github.com/Azure/azure-sdk-for-net/issues/28030) (A community contribution, courtesy of _[nerddtvg](https://github.com/nerddtvg)_)
|
||||
|
||||
### Other Changes
|
||||
- Documentation improvements to `TokenCacheRefreshArgs` and `EnvironmentCredential` (Community contributions, courtesy of _[pmaytak](https://github.com/pmaytak)_ and _[goenning](https://github.com/goenning)_)
|
||||
|
||||
### Acknowledgments
|
||||
|
||||
Thank you to our developer community members who helped to make Azure Identity better with their contributions to this release:
|
||||
|
||||
- _[nerddtvg](https://github.com/nerddtvg)_
|
||||
- _[pmaytak](https://github.com/pmaytak)_
|
||||
- _[goenning](https://github.com/goenning)_
|
||||
|
||||
## 1.6.0 (2022-04-05)
|
||||
|
||||
### Features Added
|
||||
- Added a new property under the `Diagnostics` options available on `TokenCredentialOptions` and all sub-types. If set to `true`, we try to log the account identifiers by parsing the received access token. The account identifiers we try to log are the:
|
||||
- Application or Client Identifier
|
||||
- User Principal Name
|
||||
- Tenant Identifier
|
||||
- Object Identifier of the authenticated user or app
|
||||
- `ManagedIdentityCredential` now attempts to use the newest "2019-08-01" api version for App Service Managed Identity sources. The newer API version will be used if the `IDENTITY_ENDPOINT` and `IDENTITY_HEADER` environment variables are set.
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed an issue where the x5c header is not sent for `OnBehalfOfCredential` when the `SendCertificateChain` option is set. [#27679](https://github.com/Azure/azure-sdk-for-net/issues/27679)
|
||||
|
||||
## 1.6.0-beta.1 (2022-02-11)
|
||||
|
||||
### Features Added
|
||||
- `EnvironmentCredential` now supports certificate subject name / issuer based authentication with `AZURE_CLIENT_SEND_CERTIFICATE_CHAIN` environment variable (A community contribution, courtesy of _[trevorlacey-msft](https://github.com/trevorlacey-msft))_.
|
||||
- `ManagedIdentityCredential` now supports accepting a `ResourceIdentifier` argument to specify a User Assigned Managed Identity by resource Id rather than client Id. `DefaultAzureCredential` also supports this via the `ManagedIdentityResourceId` property of `DefaultAzureCredentialOptions`.
|
||||
- Added `ClientAssertionCredential` for authenticating service principals with a presigned client assertion.
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed `AuthenticationFailedException` from `AzurePowerSheellCredential` when not logged in on non-windows platforms [#23498](https://github.com/Azure/azure-sdk-for-net/issues/23498)
|
||||
- Fixed `ManagedIdentityCredential` response parsing to handle non-json responses [#24158](https://github.com/Azure/azure-sdk-for-net/issues/24158)
|
||||
|
||||
### Other Changes
|
||||
- Upgraded MSAL dependency to version 4.39.0
|
||||
|
||||
### Acknowledgments
|
||||
|
||||
Thank you to our developer community members who helped to make Azure Identity better with their contributions to this release:
|
||||
|
||||
- Trevor Lacey _([GitHub](https://github.com/trevorlacey-msft))_
|
||||
|
||||
## 1.5.0 (2021-10-14)
|
||||
|
||||
### Breaking Changes from 1.5.0-beta.4
|
||||
- The `AllowMultiTenantAuthentication` option has been removed and the default behavior is now as if it were true. The multi-tenant discovery feature can be totally disabled by either setting an `AppContext` switch named "Azure.Identity.DisableTenantDiscovery" to `true` or by setting the environment variable "AZURE_IDENTITY_DISABLE_MULTITENANTAUTH" to "true".
|
||||
- Removed the `IsPIILoggingEnabled` property from `TokenCredentialOptions`, similar functionality is planned to be added to `TokenCredentialOptions.Diagnostics` in a later release.
|
||||
- Removed `RegionalAuthority` from `ClientCertificateCredentialOptions` and `ClientSecretCredentialOptions`, along with the `RegionalAuthority` type.
|
||||
- Renamed struct `TokenCacheDetails` to `TokenCacheData`.
|
||||
- Renamed class `TokenCacheNotificationDetails` to `TokenCacheRefreshArgs`.
|
||||
- Updated `CacheBytes` property on `TokenCacheData` to be readonly and a required constructor parameter.
|
||||
|
||||
### Bugs Fixed
|
||||
- Fixed issue with `AuthorizationCodeCredential` not specifying correct redirectUrl (Issue [#24183](https://github.com/Azure/azure-sdk-for-net/issues/24183))
|
||||
|
||||
### Other Changes
|
||||
- Updated error messages to include links to the Azure.Identity troubleshooting guide.
|
||||
|
||||
## 1.5.0-beta.4 (2021-09-08)
|
||||
|
||||
### Features Added
|
||||
|
||||
- `DefaultAzureCredentialOptions` now has a `InteractiveBrowserClientId` property which allows passing a ClientId value to the `InteractiveBrowserCredential` when constructing a `DefaultAzureCredential`.
|
||||
- Implement `OnBehalfOfCredential` which enables authentication to Microsoft Entra ID using an On-Behalf-Of flow.
|
||||
- Added support to `ManagedIdentityCredential` for Azure hosts using federated token exchange for managed identity.
|
||||
|
||||
### Bugs Fixed
|
||||
- Refactored IMDS discovery to remove socket probing and caching of failures to improve `ManagedIdentityCredential` resiliency. [#23028](https://github.com/Azure/azure-sdk-for-net/issues/23028)
|
||||
- Updated `UsernamePasswordCredential` to use cached tokens when available [#23324](https://github.com/Azure/azure-sdk-for-net/issues/23324)
|
||||
|
||||
### Other Changes
|
||||
|
||||
- Updated credentials using `MsalConfidentialClient` to include MSAL log output in logs
|
||||
- Added additional logging to `AzureCliCredential`, `AzurePowerShellCredential`, `VisualStudioCredential`, and `VisualStudioCodeCredential` when `IsPIILoggingEnabled` is set to true.
|
||||
|
||||
## 1.5.0-beta.3 (2021-08-10)
|
||||
|
||||
### Acknowledgments
|
||||
|
||||
Thank you to our developer community members who helped to make Azure Identity better with their contributions to this release:
|
||||
|
||||
- Tomas Pajurek _([tpajurek-dtml](https://github.com/tomas-pajurek))_
|
||||
|
||||
### Features Added
|
||||
|
||||
- A new trace event is now logged when `DefaultAzureCredential` selects a credential during initialization.
|
||||
- Added `AzureApplicationCredential`
|
||||
- Added `IsPIILoggingEnabled` property to `TokenCredentialOptions`, which controls whether MSAL PII logging is enabled, and other sensitive credential related logging content.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Renamed `AZURE_POD_IDENTITY_TOKEN_URL` to `AZURE_POD_IDENTITY_AUTHORITY_HOST`. The value should now be a host, for example "http://169.254.169.254" (the default).
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
- Stopped loading `$PROFILE` and checking for updates when using `AzurePowerShellCredential`.
|
||||
- Fixed unrecognized argument issue in `AzureCliCredential` when specifying the `TenantId` option. [#23158](https://github.com/Azure/azure-sdk-for-net/issues/23158) (A community contribution, courtesy of _[tomas-pajurek](https://github.com/tomas-pajurek))_.
|
||||
- Handled an additional error scenario for AzureCliCredential that prompts developers to run `az login` when needed. [#21758](https://github.com/Azure/azure-sdk-for-net/issues/21758)
|
||||
- Fixed an issue in `EnvironmentCredential` where the supplied `options` were not getting properly applied. [#22787](https://github.com/Azure/azure-sdk-for-net/issues/22787)
|
||||
- Fixed DateTime parsing to use the current culture in AzurePowerShellCredential. [#22638](https://github.com/Azure/azure-sdk-for-net/issues/22638)
|
||||
|
||||
## 1.4.1 (2021-08-04)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fixed issue resulting in duplicate event source names when executing in Azure Functions
|
||||
|
||||
## 1.5.0-beta.2 (2021-07-12)
|
||||
|
||||
### New Features
|
||||
|
||||
- Added regional STS support to client credential types
|
||||
- Added `RegionalAuthority` extensible enum
|
||||
- Added `RegionalAuthority` property to `ClientSecretCredentialOptions` and `ClientCertificateCredentialOptions`
|
||||
- Added support to `ManagedIdentityCredential` for Bridge to Kubernetes local development authentication.
|
||||
- TenantId values returned from service challenge responses can now be used to request tokens from the correct tenantId. To support this feature, there is a new `AllowMultiTenantAuthentication` option on `TokenCredentialOptions`.
|
||||
- By default, `AllowMultiTenantAuthentication` is false. When this option property is false and the tenant Id configured in the credential options differs from the tenant Id set in the `TokenRequestContext` sent to a credential, an `AuthorizationFailedException` will be thrown. This is potentially breaking change as it could be a different exception than what was thrown previously. This exception behavior can be overridden by either setting an `AppContext` switch named "Azure.Identity.EnableLegacyTenantSelection" to `true` or by setting the environment variable "AZURE_IDENTITY_ENABLE_LEGACY_TENANT_SELECTION" to "true". Note: AppContext switches can also be configured via configuration like below:
|
||||
- Added `OnBehalfOfFlowCredential` which enables support for Microsoft Entra On-Behalf-Of (OBO) flow. See the [Microsoft Entra ID documentation](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-on-behalf-of-flow) to learn more about OBO flow scenarios.
|
||||
|
||||
```xml
|
||||
<ItemGroup>
|
||||
<RuntimeHostConfigurationOption Include="Azure.Identity.EnableLegacyTenantSelection" Value="true" />
|
||||
</ItemGroup>
|
||||
```
|
||||
|
||||
## 1.5.0-beta.1 (2021-06-08)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Added `LoginHint` property to `InteractiveBrowserCredentialOptions` which allows a user name to be pre-selected for interactive logins. Setting this option skips the account selection prompt and immediately attempts to login with the specified account.
|
||||
- Added `AuthorizationCodeCredentialOptions` which allows for configuration of a ReplyUri.
|
||||
|
||||
## 1.4.0 (2021-05-12)
|
||||
|
||||
### New Features
|
||||
|
||||
- By default, the MSAL Public Client Client Capabilities are populated with "CP1" to enable support for [Continuous Access Evaluation (CAE)](https://learn.microsoft.com/entra/identity-platform/app-resilience-continuous-access-evaluation).
|
||||
This indicates to Microsoft Entra ID that your application is CAE ready and can handle the CAE claim challenge. This capability can be disabled, if necessary, by either setting an `AppContext` switch named "Azure.Identity.DisableCP1" to `true` or by setting the environment variable;
|
||||
"AZURE_IDENTITY_DISABLE_CP1" to "true". Note: AppContext switches can also be configured via configuration like below:
|
||||
|
||||
```xml
|
||||
<ItemGroup>
|
||||
<RuntimeHostConfigurationOption Include="Azure.Identity.DisableCP1" Value="true" />
|
||||
</ItemGroup>
|
||||
```
|
||||
### Fixes and improvements
|
||||
|
||||
- The Microsoft Authentication Library (MSAL) dependency versions have been updated to the latest
|
||||
- Microsoft.Identity.Client version 4.30.1, Microsoft.Identity.Client.Extensions.Msal version 2.18.4.
|
||||
|
||||
## 1.4.0-beta.5 (2021-04-06)
|
||||
|
||||
### Acknowledgments
|
||||
|
||||
Thank you to our developer community members who helped to make Azure Identity better with their contributions to this release:
|
||||
|
||||
- Marco Mansi _([GitHub](https://github.com/olandese))_
|
||||
|
||||
### New Features
|
||||
|
||||
- Added `AzurePowerShellCredential` to `DefaultAzureCredential` (A community contribution, courtesy of _[olandese](https://github.com/olandese))_
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- When logging is enabled, the log output from Microsoft Authentication Library (MSAL) is also logged.
|
||||
- Fixed an issue where an account credential fails to load from the cache when EnableGuestTenantAuthentication is true and the account found in the cache has multiple matching tenantIds ([#18276](https://github.com/Azure/azure-sdk-for-net/issues/18276)).
|
||||
- Fixed deadlock issue in `InteractiveBrowserCredential` when running in a UI application ([#18418](https://github.com/Azure/azure-sdk-for-net/issues/18418)).
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- `TokenCache` class is moved removed from the public API surface and has been replaced by `TokenCachePersistenceOptions` for configuration of disk based persistence of the token cache.
|
||||
|
||||
## 1.4.0-beta.4 (2021-03-09)
|
||||
|
||||
### Fixes and Improvements
|
||||
|
||||
- Added the `[Serializable]` attribute to all custom exception types.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Update the default value of `ExcludeSharedTokenCacheCredential` on `DefaultAzureCredentialsOptions` to true, to exclude the `SharedTokenCacheCredential` from the `DefaultAzureCredential` by default. See [BREAKING_CHANGES.md](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/BREAKING_CHANGES.md#140)
|
||||
|
||||
## 1.4.0-beta.3 (2021-02-09)
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- The `IDisposable` interface has been removed from `TokenCache`.
|
||||
|
||||
### New Features
|
||||
|
||||
- All credentials added support to handle the `Claims` property on `TokenRequestContext`
|
||||
|
||||
## 1.4.0-beta.2 (2021-01-29)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fixed issue in `HttpExtensions` causing the omission of content headers on requests ([#17448](https://github.com/Azure/azure-sdk-for-net/issues/17448))
|
||||
- Made `EnvironmentCredential` to account for both null and empty string when checking for the presense of the environment variables ([#18031](https://github.com/Azure/azure-sdk-for-net/issues/18031))
|
||||
|
||||
## 1.3.0 (2020-11-12)
|
||||
|
||||
### New Features
|
||||
|
||||
- Added support for Service Fabric managed identity authentication to `ManagedIdentityCredential`.
|
||||
- Added support for Azure Arc managed identity authentication to `ManagedIdentityCredential`.
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fix race condition in `ProcessRunner` causing `VisualStudioCredential` and `AzureCliCredential` to fail intermittently ([#16211](https://github.com/Azure/azure-sdk-for-net/issues/16211))
|
||||
- Fix `VisualStudioCodeCredential` to raise `CredentialUnavailableException` when reading from VS Code's stored secret ([#16795](https://github.com/Azure/azure-sdk-for-net/issues/16795))
|
||||
- Prevent `VisualStudioCodeCredential` using invalid authentication data when no user is signed in to Visual Studio Code ([#15870](https://github.com/Azure/azure-sdk-for-net/issues/15870))
|
||||
- Fix deadlock in `ProcessRunner` causing `AzureCliCredential` and `VisualStudioCredential` to fail due to timeout ([#14691](https://github.com/Azure/azure-sdk-for-net/issues/14691), [14207](https://github.com/Azure/azure-sdk-for-net/issues/14207))
|
||||
- Fix issue with `AzureCliCredential` incorrectly parsing expires on property returned from `az account get-access-token` ([#15801](https://github.com/Azure/azure-sdk-for-net/issues/15801))
|
||||
- Fix issue causing `DeviceCodeCredential` and `InteractiveBrowserCredential` to improperly authenticate to the home tenant for silent authentication calls after initial authentication ([#13801](https://github.com/Azure/azure-sdk-for-net/issues/13801))
|
||||
- Fix cache loading issue in `SharedTokenCacheCredential` on Linux ([#12939](https://github.com/Azure/azure-sdk-for-net/issues/12939))
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Rename property `IncludeX5CCliamHeader` on `ClientCertificateCredentialOptions` to `SendCertificateChain`
|
||||
- Removing Application Authentication APIs for GA release. These will be reintroduced in 1.4.0-beta.1.
|
||||
- Removed class `AuthenticationRecord`
|
||||
- Removed class `AuthenticationRequiredException`
|
||||
- Removed class `ClientSecretCredentialOptions` and `ClientSecretCredential` constructor overloads accepting this type
|
||||
- Removed class `UsernamePasswordCredentialOptions` and `UsernamePasswordCredential` constructor overloads accepting this type
|
||||
- Removed properties `EnablePersistentCache` and `AllowUnprotectedCache` from `ClientCertificateCredentialOptions`, `DeviceCodeCredentialOptions` and `InteractiveBrowserCredentialOptions`
|
||||
- Removed properties `AuthenticationRecord` and `DisableAutomaticAuthentication` from `DeviceCodeCredentialOptions` and `InteractiveBrowserCredentialOptions`
|
||||
- Removed properties `AllowUnencryptedCache`and `AuthenticationRecord` from `SharedTokenCacheCredentialOptions`
|
||||
- Removed methods `Authenticate` and `AuthenticateAsync` from `DeviceCodeCredential`, `InteractiveBrowserCredential` and `UsernamePasswordCredential`
|
||||
|
||||
## 1.4.0-beta.1 (2020-10-15)
|
||||
|
||||
### New Features
|
||||
|
||||
- Redesigned Application Authentication APIs
|
||||
- Adds `TokenCache` and `TokenCache` classes to give more user control over how the tokens are cached and how the cache is persisted.
|
||||
- Adds `TokenCache` property to options for credentials supporting token cache configuration.
|
||||
|
||||
## 1.3.0-beta.2 (2020-10-07)
|
||||
|
||||
### New Features
|
||||
|
||||
- Update `DeviceCodeCredential` to output device code information and authentication instructions in the console, in the case no `deviceCodeCallback` is specified.
|
||||
- Added `DeviceCodeCallback` to `DeviceCodeCredentialOptions`
|
||||
- Added default constructor to `DeviceCodeCredential`
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Replaced `DeviceCodeCredential` constructor overload taking `deviceCodeCallback` and `DeviceCodeCredentialOptions` with constructor taking only `DeviceCodeCredentialOptions`
|
||||
|
||||
## 1.3.0-beta.1 (2020-09-11)
|
||||
|
||||
### New Features
|
||||
|
||||
- Restoring Application Authentication APIs from 1.2.0-preview.6
|
||||
- Added support for App Service Managed Identity API version `2019-08-01` ([#13687](https://github.com/Azure/azure-sdk-for-net/issues/13687))
|
||||
- Added `IncludeX5CClaimHeader` to `ClientCertificateCredentialOptions` to enable subject name / issuer authentication with the `ClientCertificateCredential`.
|
||||
- Added `RedirectUri` to `InteractiveBrowserCredentialOptions` to enable authentication with user specified application with a custom redirect url.
|
||||
- Added `IdentityModelFactory` to enable constructing models from the Azure.Identity library for mocking.
|
||||
- Unify exception handling between `DefaultAzureCredential` and `ChainedTokenCredential` ([#14408](https://github.com/Azure/azure-sdk-for-net/issues/14408))
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Updated `MsalPublicClient` and `MsalConfidentialClient` to respect `CancellationToken` during initialization ([#13201](https://github.com/Azure/azure-sdk-for-net/issues/13201))
|
||||
- Fixed `VisualStudioCodeCredential` crashes on macOS (Issue [#14362](https://github.com/Azure/azure-sdk-for-net/issues/14362))
|
||||
- Fixed issue with non GUID Client Ids (Issue [#14585](https://github.com/Azure/azure-sdk-for-net/issues/14585))
|
||||
- Update `VisualStudioCredential` and `VisualStudioCodeCredential` to throw `CredentialUnavailableException` for ADFS tenant (Issue [#14639](https://github.com/Azure/azure-sdk-for-net/issues/14639))
|
||||
|
||||
## 1.2.3 (2020-09-11)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fixed issue with `DefaultAzureCredential` incorrectly catching `AuthenticationFailedException` (Issue [#14974](https://github.com/Azure/azure-sdk-for-net/issues/14974))
|
||||
- Fixed issue with `DefaultAzureCredential` throwing exceptions during concurrent calls (Issue [#15013](https://github.com/Azure/azure-sdk-for-net/issues/15013))
|
||||
|
||||
## 1.2.2 (2020-08-20)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fixed issue with `InteractiveBrowserCredential` not specifying correct redirectUrl (Issue [#13940](https://github.com/Azure/azure-sdk-for-net/issues/13940))
|
||||
|
||||
## 1.2.1 (2020-08-18)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Bug in TaskExtensions.EnsureCompleted method that causes it to unconditionally throw an exception in the environments with synchronization context
|
||||
|
||||
## 1.2.0 (2020-08-10)
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Removing Application Authentication APIs for GA release. These will be reintroduced in 1.3.0-preview.
|
||||
- Removed class `AuthenticationRecord`
|
||||
- Removed class `AuthenticationRequiredException`
|
||||
- Removed class `ClientCertificateCredentialOptions` and `ClientCertificateCredential` constructor overloads accepting this type
|
||||
- Removed class `ClientSecretCredentialOptions` and `ClientSecretCredential` constructor overloads accepting this type
|
||||
- Removed class `DeviceCodeCredentialOptions` and `DeviceCodeCredential` constructor overloads accepting this type
|
||||
- Removed class `InteractiveBrowserCredentialOptions` and `InteractiveBrowserCredential` constructor overloads accepting this type
|
||||
- Removed class `UsernamePasswordCredentialOptions` and `UsernamePasswordCredential` constructor overloads accepting this type
|
||||
- Removed methods `Authenticate` and `AuthenticateAsync` from `DeviceCodeCredential`
|
||||
- Removed methods `Authenticate` and `AuthenticateAsync` from `InteractiveBrowserCredential`
|
||||
- Removed methods `Authenticate` and `AuthenticateAsync` from `UsernamePasswordCredential`
|
||||
- Removed properties `AllowUnencryptedCache`and `AuthenticationRecord` from `SharedTokenCacheCredentialOptions`
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fixed excess errors in `DefaultAzureCredential` tracing (Issue [#10659](https://github.com/Azure/azure-sdk-for-net/issues/10659))
|
||||
- Fixed concurrency issue in `DefaultAzureCredential` (Issue [#13044](https://github.com/Azure/azure-sdk-for-net/issues/13044))
|
||||
|
||||
## 1.2.0-preview.6 (2020-07-22)
|
||||
|
||||
### New Features
|
||||
|
||||
- Added the read only property `ClientId` to `AuthenticationRecord`.
|
||||
- Added the property `AllowUnencryptedCache` to the option classes `ClientCertificateCredentialOptions`, `ClientSecretCredentialOptions`, `DeviceCodeCredentialOptions`, `InteractiveBrowserCredentialOptions` and `SharedTokenCacheCredentialOptions` which when set to true allows the credential to fall back to storing tokens in an unencrypted file if no OS level user encryption is available when `EnablePersistentCache` is set to true.
|
||||
- Added the property `AuthenticationRecord` to the option class `SharedTokenCacheCredentialOptions` to support silent authentication for accounts previously authenticated with an interactive credential.
|
||||
- Added option class `UsernamePasswordCredentialOptions` which supports the options `EnablePersistentCache` and `AllowUnencryptedCache`.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Rename type `KnownAuthorityHosts` to `AzureAuthorityHosts`
|
||||
- Rename property `AzureChinaCloud` to `AzureChina`
|
||||
- Rename property `AzureGermanCloud` to `AzureGermany`
|
||||
- Rename property `AzureUSGovernment` to `AzureGovernment`
|
||||
- Rename property `AzureCloud` to `AzurePublicCloud`
|
||||
|
||||
## 1.2.0-preview.5 (2020-07-08)
|
||||
|
||||
### New Features
|
||||
|
||||
- Added options classes `ClientCertificateCredentialOptions` and `ClientSecretCredentialOptions` which support the following new option
|
||||
- `EnablePersistentCache` configures these credentials to use a persistent cache shared between credentials which set this option. By default the cache is per credential and in memory only.
|
||||
|
||||
## 1.2.0-preview.4 (2020-06-10)
|
||||
|
||||
### New Features
|
||||
|
||||
- Makes `AzureCliCredential`, `VisualStudioCredential` and `VisualStudioCodeCredential` public to allow direct usage.
|
||||
- Added `Authenticate` methods to `UsernamePasswordCredential`
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fix `SharedTokenCacheCredential` account filter to be case-insensitive (Issue [#10816](https://github.com/Azure/azure-sdk-for-net/issues/10816))
|
||||
- Update `VisualStudioCodeCredential` to properly throw `CredentialUnavailableException` when re-authentication is needed. (Issue [#11595](https://github.com/Azure/azure-sdk-for-net/issues/11595))
|
||||
|
||||
## 1.2.0-preview.3 (2020-05-05)
|
||||
|
||||
### New Features
|
||||
|
||||
- First preview of new API for authenticating users with `DeviceCodeCredential` and `InteractiveBrowserCredential`
|
||||
- Added method `Authenticate` which pro-actively interacts with the user to authenticate if necessary and returns a serializable `AuthenticationRecord`
|
||||
- Added Options classes `DeviceCodeCredentialOptions` and `InteractiveBrowserCredentialOptions` which support the following new options
|
||||
- `AuthenticationRecord` enables initializing a credential with an `AuthenticationRecord` returned from a prior call to `Authenticate`
|
||||
- `DisableAutomaticAuthentication` disables automatic user interaction causing the credential to throw an `AuthenticationRequiredException` when interactive authentication is necessary.
|
||||
- `EnablePersistentCache` configures these credentials to use a persistent cache shared between credentials which set this option. By default the cache is per credential and in memory only.
|
||||
|
||||
## 1.2.0-preview.2 (2020-04-06)
|
||||
|
||||
### New Features
|
||||
|
||||
- Updates `DefaultAzureCredential` to enable authenticating through Visual Studio
|
||||
- Updates `DefaultAzureCredential` to enable authentication through Visual Studio Code
|
||||
|
||||
## 1.2.0-preview.1 (2020-03-10)
|
||||
|
||||
### New Features
|
||||
|
||||
- Updating `DefaultAzureCredential` to enable authenticating through the Azure CLI
|
||||
- `ClientCertificateCredential` now supports being constructed with a path to an unencrypted certificate (in either PFX or PEM format)
|
||||
- `EnvironmentCredential` now supports reading a certificate path from `AZURE_CLIENT_CERTIFICATE_PATH`
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fix an issue where `EnvironmentCredential` did not behave correctly when `AZURE_USERNAME` and `AZURE_PASSWORD` where set
|
||||
- Added `KnownAuthorityHosts` class to aid in sovereign cloud configuration.
|
||||
|
||||
## 1.1.1 (2020-02-10)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fixed `UsernamePasswordCredential` constructor parameter mishandling
|
||||
- Updated `ManagedIdentityCredential` endpoint discovery to avoid throwing
|
||||
- Fixed `ManagedIdentityCredential` to raise `CredentialUnavailableException` on 400 return from the service where no identity has been assigned
|
||||
- Updated error messaging from `DefaultAzureCredential` to more easily root cause failures
|
||||
|
||||
## 1.1.0 (2019-11-25)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Update `SharedTokenCacheCredential` to filter accounts by tenant id
|
||||
- Added `SharedTokenCacheCredentialOptions` class with properties `TenantId` and `Username`
|
||||
- Added constructor overload to `SharedTokenCacheCredential` which accepts `SharedTokenCacheCredentialOptions`
|
||||
- Added property `SharedTokenCacheTenantId` to `DefaultAzureCredentialOptions`
|
||||
- Support for personal account authentication in `DefaultAzureCredential`, `InteractiveBrowserCredential`, and `SharedTokenCacheCredential`
|
||||
- Added `InteractiveBrowserTenantId` to `DefaultAzureCredentialOptions`
|
||||
- Fixed issue with `ManagedIdentityCredential` authentication with user assigned identities
|
||||
|
||||
## 1.0.0 (2019-10-29)
|
||||
|
||||
- First stable release of Azure.Identity package.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Rename `AzureCredentialOptions` -> `TokenCredentialOptions`
|
||||
- Renamed property `VerificationUrl` -> `VerificationUri` and changed type from `string` to `Uri`
|
||||
- Updated `ClientSecretCredential` class
|
||||
- Removed property `ClientId`
|
||||
- Removed property `ClientSecret`
|
||||
- Removed property `TenantId`
|
||||
- Updated `ClientCertificateCredential` class
|
||||
- Removed property `ClientId`
|
||||
- Removed property `ClientCertificate`
|
||||
- Removed property `TenantId`
|
||||
- Updated `DefaultAzureCredential` class to derive directly from `TokenCredential` rather than `ChainedTokenCredential`
|
||||
- Updated `DefaultAzureCredentialOptions` class
|
||||
- Renamed property `PreferredAccountUsername` -> `SharedTokenCacheUsername`
|
||||
- Renamed property `IncludeEnvironmentCredential` -> `ExcludeEnvironmentCredential`
|
||||
- Renamed property `IncludeManagedIdentityCredential` -> `ExcludeManagedIdentityCredential`
|
||||
- Renamed property `IncludeSharedTokenCacheCredential` -> `ExcludeSharedTokenCacheCredential`
|
||||
- Renamed property `IncludeInteractiveBrowserCredential` -> `ExcludeInteractiveBrowserCredential`
|
||||
- Updated `DeviceCodeInfo` class
|
||||
- Removed property `Interval`
|
||||
- Renamed property `VerificationUrl` -> `VerificationUri` and changed type from `string` to `Uri`
|
||||
- Updated `InteractiveBrowserCredential` class
|
||||
- Reordered constructor parameters `tenantId` and `clientId` to be consistent with other credential types
|
||||
- Updated `SharedTokenCacheCredential` class
|
||||
- Updated constructor to take `TokenCredentialOptions`
|
||||
- Removed `clientId` constructor parameter
|
||||
- Removed class `SharedTokenCacheCredentialOptions`
|
||||
- Updated exception model across the Azure.Identity library.
|
||||
- `TokenCredential` implementations in the Azure.Identity library now throw exceptions rather than returning `default`(`AccessToken`) when no token is obtained
|
||||
- Added the `CredentialUnavailableExcpetion` exception type to distinguish cases when failure to obtain an `AccessToken` was expected
|
||||
|
||||
### Dependency Changes
|
||||
|
||||
- Adopted Azure.Core 1.0.0
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Update `ManagedIdentityCredential` IMDS availability check to handle immediate network failures
|
||||
- Added a `DefaultAzureCredential` constructor overload to enable interactive credential types by default
|
||||
|
||||
## 1.0.0-preview.5 (2019-10-07)
|
||||
|
||||
### Dependency Changes
|
||||
|
||||
- Adopted Azure.Core 1.0.0-preview.9
|
||||
|
||||
### New Features
|
||||
|
||||
- Added `DefaultAzureCredentialOptions` for configuring the `DefaultAzureCredential` authentication flow
|
||||
- Added `InteractiveBrowserCredential` to the `DefaultAzureCredential` authentication flow, but excluded by default
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Updated `InteractiveBrowserCredential` and `DeviceCodeCredential` to optionally accept a tenantId to support non-multitenant applications
|
||||
|
||||
## 1.0.0-preview.4 (2019-09-10)
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Modified GetToken abstraction to accept `TokenRequest` structure rather than `string[]` for forwards compatibility
|
||||
|
||||
### Dependency Changes
|
||||
|
||||
- Adopted Azure.Core 1.0.0-preview.8
|
||||
|
||||
### New Features
|
||||
|
||||
- Added `SharedTokenCacheCredential` to support Single Sign On with developer tooling
|
||||
- Updated `DefaultAzureCredential`authentication flow to include the `SharedTokenCacheCredential`
|
||||
|
||||
## 1.0.0-preview.3 (2019-08-06)
|
||||
|
||||
### Dependency Changes
|
||||
|
||||
- Adopted Azure.Core 1.0.0-preview.7
|
||||
- Adopted Microsoft.Identity.Client 4.1.0
|
||||
|
||||
### New Features
|
||||
|
||||
- User Principal Authentication
|
||||
- Added `DeviceCodeCredential` class
|
||||
- Added `InteractiveBrowserCredential` class
|
||||
- Added `UsernamePasswordCredential` class
|
||||
- Support for Azure SDK ASP .NET Core integration
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Added identity client distributed tracing support
|
||||
|
||||
## 1.0.0-preview.2 (2019-07-02)
|
||||
|
||||
### Fixes and improvements
|
||||
|
||||
- Fix to ManagedIdentityCredential to properly parse expires_on from response
|
||||
|
||||
## 1.0.0-preview.1 (2019-06-27)
|
||||
|
||||
Version 1.0.0-preview.1 is the first preview of our efforts to create a user-friendly authentication API for Azure SDK client libraries. For more
|
||||
information about preview releases of other Azure SDK libraries, please visit https://aka.ms/azure-sdk-preview1-net.
|
||||
|
||||
### New Features
|
||||
|
||||
- Azure Service Authentication
|
||||
- Added `DefaultAzureCredential` class
|
||||
- Added `ChainedTokenCredential` class
|
||||
- Service Principal Authentication
|
||||
- Added `ClientSecretCredential` class
|
||||
- Added `ClientCertificateCredential` class
|
||||
- Managed Identity Authentication
|
||||
- Added `ManagedIdentityCredential` class
|
||||
|
||||
See the [documentation](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md) for more details. User authentication will be added in an upcoming preview release.
|
435
test2/packages/Azure.Identity.1.11.4/README.md
vendored
Normal file
435
test2/packages/Azure.Identity.1.11.4/README.md
vendored
Normal file
@ -0,0 +1,435 @@
|
||||
# Azure Identity client library for .NET
|
||||
|
||||
The Azure Identity library provides [Microsoft Entra ID](https://learn.microsoft.com/entra/fundamentals/whatis) ([formerly Azure Active Directory](https://learn.microsoft.com/entra/fundamentals/new-name)) token authentication support across the Azure SDK. It provides a set of [`TokenCredential`](https://learn.microsoft.com/dotnet/api/azure.core.tokencredential?view=azure-dotnet) implementations which can be used to construct Azure SDK clients which support Microsoft Entra token authentication.
|
||||
|
||||
[Source code][source] | [Package (NuGet)][package] | [API reference documentation][identity_api_docs] | [Microsoft Entra ID documentation][entraid_doc]
|
||||
|
||||
## Getting started
|
||||
|
||||
### Install the package
|
||||
|
||||
Install the Azure Identity client library for .NET with [NuGet][nuget]:
|
||||
|
||||
```dotnetcli
|
||||
dotnet add package Azure.Identity
|
||||
```
|
||||
|
||||
### Prerequisites
|
||||
|
||||
* An [Azure subscription][azure_sub].
|
||||
* The [Azure CLI][azure_cli] can also be useful for authenticating in a development environment, creating accounts, and managing account roles.
|
||||
|
||||
### Authenticate the client
|
||||
|
||||
When debugging and executing code locally it is typical for a developer to use their own account for authenticating calls to Azure services. There are several developer tools which can be used to perform this authentication in your development environment.
|
||||
|
||||
#### Authenticate via Visual Studio
|
||||
|
||||
Developers using Visual Studio 2017 or later can authenticate a Microsoft Entra account through the IDE. Applications using the `DefaultAzureCredential` or the `VisualStudioCredential` can then use this account to authenticate calls in their application when running locally.
|
||||
|
||||
To authenticate in Visual Studio, select the **Tools** > **Options** menu to launch the Options dialog. Then navigate to the `Azure Service Authentication` options to sign in with your Microsoft Entra account.
|
||||
|
||||
![Visual Studio Account Selection][vs_login_image]
|
||||
|
||||
#### Authenticate via Visual Studio Code
|
||||
|
||||
Developers using Visual Studio Code can use the [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) to authenticate via the editor. Applications using the `DefaultAzureCredential` or the `VisualStudioCodeCredential` can then use this account to authenticate calls in their application when running locally.
|
||||
|
||||
It's a [known issue](https://github.com/Azure/azure-sdk-for-net/issues/30525) that `VisualStudioCodeCredential` doesn't work with [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) versions newer than **0.9.11**. A long-term fix to this problem is in progress. In the meantime, consider [authenticating via the Azure CLI](#authenticating-via-the-azure-cli).
|
||||
|
||||
#### Authenticate via the Azure CLI
|
||||
|
||||
Developers coding outside of an IDE can also use the [Azure CLI][azure_cli] to authenticate. Applications using the `DefaultAzureCredential` or the `AzureCliCredential` can then use this account to authenticate calls in their application when running locally.
|
||||
|
||||
To authenticate with the [Azure CLI][azure_cli], users can run the command `az login`. For users running on a system with a default web browser, the Azure CLI will launch the browser to authenticate the user.
|
||||
|
||||
![Azure CLI Account Sign In][azure_cli_login_image]
|
||||
|
||||
For systems without a default web browser, the `az login` command will use the device code authentication flow. The user can also force the Azure CLI to use the device code flow rather than launching a browser by specifying the `--use-device-code` argument.
|
||||
|
||||
![Azure CLI Account Device Code Sign In][azure_cli_login_device_code_image]
|
||||
|
||||
#### Authenticate via the Azure Developer CLI
|
||||
|
||||
Developers coding outside of an IDE can also use the [Azure Developer CLI][azure_developer_cli] to authenticate. Applications using the `DefaultAzureCredential` or the `AzureDeveloperCliCredential` can then use this account to authenticate calls in their application when running locally.
|
||||
|
||||
To authenticate with the [Azure Developer CLI][azure_developer_cli], users can run the command `azd auth login`. For users running on a system with a default web browser, the Azure Developer CLI will launch the browser to authenticate the user.
|
||||
|
||||
For systems without a default web browser, the `azd auth login --use-device-code` command will use the device code authentication flow.
|
||||
|
||||
#### Authenticate via Azure PowerShell
|
||||
|
||||
Developers coding outside of an IDE can also use [Azure PowerShell][azure_powerShell] to authenticate. Applications using the `DefaultAzureCredential` or the `AzurePowerShellCredential` can then use this account to authenticate calls in their application when running locally.
|
||||
|
||||
To authenticate with [Azure PowerShell][azure_powerShell], users can run the command `Connect-AzAccount`. For users running on a system with a default web browser and version 5.0.0 or later of azure PowerShell, it will launch the browser to authenticate the user.
|
||||
|
||||
For systems without a default web browser, the `Connect-AzAccount` command will use the device code authentication flow. The user can also force Azure PowerShell to use the device code flow rather than launching a browser by specifying the `UseDeviceAuthentication` argument.
|
||||
|
||||
## Key concepts
|
||||
|
||||
### Credentials
|
||||
|
||||
A credential is a class which contains or can obtain the data needed for a service client to authenticate requests. Service clients across the Azure SDK accept credentials when they're constructed. Service clients use those credentials to authenticate requests to the service.
|
||||
|
||||
The Azure Identity library focuses on OAuth authentication with Microsoft Entra ID, and it offers a variety of credential classes capable of acquiring a Microsoft Entra token to authenticate service requests. All of the credential classes in this library are implementations of the `TokenCredential` abstract class in [Azure.Core][azure_core_library], and any of them can be used to construct service clients capable of authenticating with a `TokenCredential`.
|
||||
|
||||
See [Credential Classes](#credential-classes) for a complete listing of available credential types.
|
||||
|
||||
### DefaultAzureCredential
|
||||
|
||||
The `DefaultAzureCredential` is appropriate for most scenarios where the application is intended to ultimately be run in Azure. This is because the `DefaultAzureCredential` combines credentials commonly used to authenticate when deployed, with credentials used to authenticate in a development environment.
|
||||
|
||||
> Note: `DefaultAzureCredential` is intended to simplify getting started with the SDK by handling common scenarios with reasonable default behaviors. Developers who want more control or whose scenario isn't served by the default settings should use other credential types.
|
||||
|
||||
The `DefaultAzureCredential` attempts to authenticate via the following mechanisms, in this order, stopping when one succeeds:
|
||||
|
||||
![DefaultAzureCredential authentication flow][default_azure_credential_authflow_image]
|
||||
|
||||
1. **Environment** - The `DefaultAzureCredential` will read account information specified via [environment variables](#environment-variables) and use it to authenticate.
|
||||
1. **Workload Identity** - If the application is deployed to an Azure host with Workload Identity enabled, the `DefaultAzureCredential` will authenticate with that account.
|
||||
1. **Managed Identity** - If the application is deployed to an Azure host with Managed Identity enabled, the `DefaultAzureCredential` will authenticate with that account.
|
||||
1. **Visual Studio** - If the developer has authenticated via Visual Studio, the `DefaultAzureCredential` will authenticate with that account.
|
||||
1. **Visual Studio Code** - Currently excluded by default as SDK authentication via Visual Studio Code is broken due to issue [#27263](https://github.com/Azure/azure-sdk-for-net/issues/27263). The `VisualStudioCodeCredential` will be re-enabled in the `DefaultAzureCredential` flow once a fix is in place. Issue [#30525](https://github.com/Azure/azure-sdk-for-net/issues/30525) tracks this. In the meantime Visual Studio Code users can authenticate their development environment using the [Azure CLI](https://learn.microsoft.com/cli/azure/).
|
||||
1. **Azure CLI** - If the developer has authenticated an account via the Azure CLI `az login` command, the `DefaultAzureCredential` will authenticate with that account.
|
||||
1. **Azure PowerShell** - If the developer has authenticated an account via the Azure PowerShell `Connect-AzAccount` command, the `DefaultAzureCredential` will authenticate with that account.
|
||||
1. **Azure Developer CLI** - If the developer has authenticated via the Azure Developer CLI `azd auth login` command, the `DefaultAzureCredential` will authenticate with that account.
|
||||
1. **Interactive browser** - If enabled, the `DefaultAzureCredential` will interactively authenticate the developer via the current system's default browser. By default, this credential type is disabled.
|
||||
|
||||
#### Continuation policy
|
||||
|
||||
As of version 1.10.1, `DefaultAzureCredential` will attempt to authenticate with all developer credentials until one succeeds, regardless of any errors previous developer credentials experienced. For example, a developer credential may attempt to get a token and fail, so `DefaultAzureCredential` will continue to the next credential in the flow. Deployed service credentials will stop the flow with a thrown exception if they're able to attempt token retrieval, but don't receive one. Prior to version 1.10.1, developer credentials would similarly stop the authentication flow if token retrieval failed.
|
||||
|
||||
This behavior allows for trying all of the developer credentials on your machine while having predictable deployed behavior.
|
||||
|
||||
## Examples
|
||||
|
||||
### Authenticate with `DefaultAzureCredential`
|
||||
|
||||
This example demonstrates authenticating the `SecretClient` from the [Azure.Security.KeyVault.Secrets][secrets_client_library] client library using the `DefaultAzureCredential`.
|
||||
|
||||
```C# Snippet:AuthenticatingWithDefaultAzureCredential
|
||||
// Create a secret client using the DefaultAzureCredential
|
||||
var client = new SecretClient(new Uri("https://myvault.vault.azure.net/"), new DefaultAzureCredential());
|
||||
```
|
||||
|
||||
### Enable interactive authentication with `DefaultAzureCredential`
|
||||
|
||||
Interactive authentication is disabled in the `DefaultAzureCredential` by default. This example demonstrates two ways of enabling the interactive authentication portion of the `DefaultAzureCredential`. When enabled the `DefaultAzureCredential` will fall back to interactively authenticating the developer via the system's default browser if when no other credentials are available. This example then authenticates an `EventHubProducerClient` from the [Azure.Messaging.EventHubs][eventhubs_client_library] client library using the `DefaultAzureCredential` with interactive authentication enabled.
|
||||
|
||||
```C# Snippet:EnableInteractiveAuthentication
|
||||
// the includeInteractiveCredentials constructor parameter can be used to enable interactive authentication
|
||||
var credential = new DefaultAzureCredential(includeInteractiveCredentials: true);
|
||||
|
||||
var eventHubClient = new EventHubProducerClient("myeventhub.eventhubs.windows.net", "myhubpath", credential);
|
||||
```
|
||||
|
||||
### Specify a user-assigned managed identity with `DefaultAzureCredential`
|
||||
|
||||
Many Azure hosts allow the assignment of a user-assigned managed identity. This example demonstrates configuring the `DefaultAzureCredential` to authenticate a user-assigned identity when deployed to an Azure host. It then authenticates a `BlobClient` from the [Azure.Storage.Blobs][blobs_client_library] client library with credential.
|
||||
|
||||
```C# Snippet:UserAssignedManagedIdentity
|
||||
// When deployed to an azure host, the default azure credential will authenticate the specified user assigned managed identity.
|
||||
|
||||
string userAssignedClientId = "<your managed identity client Id>";
|
||||
var credential = new DefaultAzureCredential(new DefaultAzureCredentialOptions { ManagedIdentityClientId = userAssignedClientId });
|
||||
|
||||
var blobClient = new BlobClient(new Uri("https://myaccount.blob.core.windows.net/mycontainer/myblob"), credential);
|
||||
```
|
||||
|
||||
In addition to configuring the `ManagedIdentityClientId` via code, it can also be set using the `AZURE_CLIENT_ID` environment variable. These two approaches are equivalent when using the `DefaultAzureCredential`.
|
||||
|
||||
### Define a custom authentication flow with `ChainedTokenCredential`
|
||||
|
||||
While the `DefaultAzureCredential` is generally the quickest way to get started developing applications for Azure, more advanced users may want to customize the credentials considered when authenticating. The `ChainedTokenCredential` enables users to combine multiple credential instances to define a customized chain of credentials. This example demonstrates creating a `ChainedTokenCredential` which will attempt to authenticate using managed identity, and fall back to authenticating via the Azure CLI if managed identity is unavailable in the current environment. The credential is then used to authenticate an `EventHubProducerClient` from the [Azure.Messaging.EventHubs][eventhubs_client_library] client library.
|
||||
|
||||
```C# Snippet:CustomChainedTokenCredential
|
||||
// Authenticate using managed identity if it is available; otherwise use the Azure CLI to authenticate.
|
||||
|
||||
var credential = new ChainedTokenCredential(new ManagedIdentityCredential(), new AzureCliCredential());
|
||||
|
||||
var eventHubProducerClient = new EventHubProducerClient("myeventhub.eventhubs.windows.net", "myhubpath", credential);
|
||||
```
|
||||
|
||||
## Managed identity support
|
||||
|
||||
[Managed identity authentication](https://learn.microsoft.com/entra/identity/managed-identities-azure-resources/overview) is supported via either the `DefaultAzureCredential` or the `ManagedIdentityCredential` directly for the following Azure services:
|
||||
|
||||
* [Azure App Service and Azure Functions](https://learn.microsoft.com/azure/app-service/overview-managed-identity?tabs=dotnet)
|
||||
* [Azure Arc](https://learn.microsoft.com/azure/azure-arc/servers/managed-identity-authentication)
|
||||
* [Azure Cloud Shell](https://learn.microsoft.com/azure/cloud-shell/msi-authorization)
|
||||
* [Azure Kubernetes Service](https://learn.microsoft.com/azure/aks/use-managed-identity)
|
||||
* [Azure Service Fabric](https://learn.microsoft.com/azure/service-fabric/concepts-managed-identity)
|
||||
* [Azure Virtual Machines](https://learn.microsoft.com/entra/identity/managed-identities-azure-resources/how-to-use-vm-token)
|
||||
* [Azure Virtual Machines Scale Sets](https://learn.microsoft.com/entra/identity/managed-identities-azure-resources/qs-configure-powershell-windows-vmss)
|
||||
|
||||
### Examples
|
||||
|
||||
These examples demonstrate authenticating the `SecretClient` from the [Azure.Security.KeyVault.Secrets][secrets_client_library] client library using the `ManagedIdentityCredential`.
|
||||
|
||||
#### Authenticate with a user-assigned managed identity
|
||||
|
||||
```C# Snippet:AuthenticatingWithManagedIdentityCredentialUserAssigned
|
||||
var credential = new ManagedIdentityCredential(clientId: userAssignedClientId);
|
||||
var client = new SecretClient(new Uri("https://myvault.vault.azure.net/"), credential);
|
||||
```
|
||||
|
||||
#### Authenticate with a system-assigned managed identity
|
||||
|
||||
```C# Snippet:AuthenticatingWithManagedIdentityCredentialSystemAssigned
|
||||
var credential = new ManagedIdentityCredential();
|
||||
var client = new SecretClient(new Uri("https://myvault.vault.azure.net/"), credential);
|
||||
```
|
||||
|
||||
## Cloud configuration
|
||||
|
||||
Credentials default to authenticating to the Microsoft Entra endpoint for the Azure public cloud. To access resources in other clouds, such as Azure Government or a private cloud, configure credentials with the `AuthorityHost` argument. [AzureAuthorityHosts](https://learn.microsoft.com/dotnet/api/azure.identity.azureauthorityhosts?view=azure-dotnet) defines authorities for well-known clouds:
|
||||
|
||||
```C# Snippet:AuthenticatingWithAuthorityHost
|
||||
var credential = new DefaultAzureCredential(new DefaultAzureCredentialOptions { AuthorityHost = AzureAuthorityHosts.AzureGovernment });
|
||||
```
|
||||
|
||||
Not all credentials require this configuration. Credentials which authenticate through a development tool, such as `AzureCliCredential`, use that tool's configuration.
|
||||
|
||||
## Credential classes
|
||||
|
||||
### Authenticate Azure-hosted applications
|
||||
|
||||
|Credential | Usage
|
||||
|-|-
|
||||
|[`DefaultAzureCredential`][ref_DefaultAzureCredential]|Provides a simplified authentication experience to quickly start developing applications run in Azure.
|
||||
|[`ChainedTokenCredential`][ref_ChainedTokenCredential]|Allows users to define custom authentication flows composing multiple credentials.
|
||||
|[`EnvironmentCredential`][ref_EnvironmentCredential]|Authenticates a service principal or user via credential information specified in environment variables.
|
||||
|[`ManagedIdentityCredential`][ref_ManagedIdentityCredential]|Authenticates the managed identity of an Azure resource.
|
||||
|[`WorkloadIdentityCredential`][ref_WorkloadIdentityCredential]|Supports [Microsoft Entra Workload ID](https://learn.microsoft.com/azure/aks/workload-identity-overview) on Kubernetes.
|
||||
|
||||
### Authenticate service principals
|
||||
|
||||
|Credential | Usage | Reference
|
||||
|-|-|-
|
||||
|[`ClientAssertionCredential`][ref_ClientAssertionCredential]|Authenticates a service principal using a signed client assertion. |
|
||||
|[`ClientCertificateCredential`][ref_ClientCertificateCredential]|Authenticates a service principal using a certificate. | [Service principal authentication](https://learn.microsoft.com/entra/identity-platform/app-objects-and-service-principals)
|
||||
|[`ClientSecretCredential`][ref_ClientSecretCredential]|Authenticates a service principal using a secret. | [Service principal authentication](https://learn.microsoft.com/entra/identity-platform/app-objects-and-service-principals)
|
||||
|
||||
### Authenticate users
|
||||
|
||||
|Credential | Usage | Reference
|
||||
|-|-|-
|
||||
|[`AuthorizationCodeCredential`][ref_AuthorizationCodeCredential]|Authenticates a user with a previously obtained authorization code. | [OAuth2 authentication code](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-auth-code-flow)
|
||||
|[`DeviceCodeCredential`][ref_DeviceCodeCredential]|Interactively authenticates a user on devices with limited UI. | [Device code authentication](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-device-code)
|
||||
|[`InteractiveBrowserCredential`][ref_InteractiveBrowserCredential]|Interactively authenticates a user with the default system browser. | [OAuth2 authentication code](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-auth-code-flow)
|
||||
|[`OnBehalfOfCredential`][ref_OnBehalfOfCredential]|Propagates the delegated user identity and permissions through the request chain. | [On-behalf-of authentication](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-on-behalf-of-flow)
|
||||
|[`UsernamePasswordCredential`][ref_UsernamePasswordCredential]|Authenticates a user with a username and password. | [Username + password authentication](https://learn.microsoft.com/entra/identity-platform/v2-oauth-ropc)
|
||||
|
||||
### Authenticate via development tools
|
||||
|
||||
|Credential | Usage | Reference
|
||||
|-|-|-
|
||||
|[`AzureCliCredential`][ref_AzureCliCredential]|Authenticates in a development environment with the Azure CLI. | [Azure CLI authentication](https://learn.microsoft.com/cli/azure/authenticate-azure-cli)
|
||||
|[`AzureDeveloperCliCredential`][ref_AzureDeveloperCliCredential]|Authenticates in a development environment with the Azure Developer CLI. | [Azure Developer CLI Reference](https://learn.microsoft.com/azure/developer/azure-developer-cli/reference)
|
||||
|[`AzurePowerShellCredential`][ref_AzurePowerShellCredential]|Authenticates in a development environment with the Azure PowerShell. | [Azure PowerShell authentication](https://learn.microsoft.com/powershell/azure/authenticate-azureps)
|
||||
|[`VisualStudioCredential`][ref_VisualStudioCredential]|Authenticates in a development environment with Visual Studio. | [Visual Studio configuration](https://learn.microsoft.com/dotnet/azure/configure-visual-studio)
|
||||
|[`VisualStudioCodeCredential`][ref_VisualStudioCodeCredential]| Authenticates as the user signed in to the Visual Studio Code Azure Account extension. | [VS Code Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account)
|
||||
|
||||
> __Note:__ All credential implementations in the Azure Identity library are threadsafe, and a single credential instance can be used by multiple service clients.
|
||||
|
||||
## Environment variables
|
||||
|
||||
[`DefaultAzureCredential`][ref_DefaultAzureCredential] and [`EnvironmentCredential`][ref_EnvironmentCredential] can be configured with environment variables. Each type of authentication requires values for specific variables:
|
||||
|
||||
### Service principal with secret
|
||||
|
||||
|Variable name|Value
|
||||
|-|-
|
||||
|`AZURE_CLIENT_ID`|ID of a Microsoft Entra application
|
||||
|`AZURE_TENANT_ID`|ID of the application's Microsoft Entra tenant
|
||||
|`AZURE_CLIENT_SECRET`|one of the application's client secrets
|
||||
|
||||
### Service principal with certificate
|
||||
|
||||
|variable name|Value
|
||||
|-|-
|
||||
|`AZURE_CLIENT_ID`|ID of a Microsoft Entra application
|
||||
|`AZURE_TENANT_ID`|ID of the application's Microsoft Entra tenant
|
||||
|`AZURE_CLIENT_CERTIFICATE_PATH`|path to a PFX or PEM-encoded certificate file including private key
|
||||
|`AZURE_CLIENT_CERTIFICATE_PASSWORD`|(optional) the password protecting the certificate file (currently only supported for PFX (PKCS12) certificates)
|
||||
|`AZURE_CLIENT_SEND_CERTIFICATE_CHAIN`|(optional) send certificate chain in x5c header to support subject name / issuer based authentication
|
||||
|
||||
### Username and password
|
||||
|
||||
|Variable name|Value
|
||||
|-|-
|
||||
|`AZURE_CLIENT_ID`|ID of a Microsoft Entra application
|
||||
|`AZURE_TENANT_ID`|ID of the application's Microsoft Entra tenant
|
||||
|`AZURE_USERNAME`|a username (usually an email address)
|
||||
|`AZURE_PASSWORD`|that user's password
|
||||
|
||||
### Managed identity (`DefaultAzureCredential`)
|
||||
|
||||
|Variable name|Value
|
||||
|-|-
|
||||
|`AZURE_CLIENT_ID`|The client ID for the user-assigned managed identity. If defined, used as the default value for `ManagedIdentityClientId` in `DefaultAzureCredentialOptions`
|
||||
|
||||
Configuration is attempted in the above order. For example, if values for a
|
||||
client secret and certificate are both present, the client secret will be used.
|
||||
|
||||
## Continuous Access Evaluation
|
||||
|
||||
As of version 1.10.0, accessing resources protected by [Continuous Access Evaluation (CAE)][cae] is possible on a per-request basis. This behavior can be enabled by setting the `IsCaeEnabled` property of `TokenRequestContext` via its constructor. CAE isn't supported for developer and managed identity credentials.
|
||||
|
||||
|
||||
## Token caching
|
||||
|
||||
Token caching is a feature provided by the Azure Identity library that allows apps to:
|
||||
|
||||
* Cache tokens in memory (default) or on disk (opt-in).
|
||||
* Improve resilience and performance.
|
||||
* Reduce the number of requests made to Microsoft Entra ID to obtain access tokens.
|
||||
|
||||
The Azure Identity library offers both in-memory and persistent disk caching. For more details, see the [token caching documentation](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/samples/TokenCache.md)
|
||||
|
||||
# Brokered Authentication
|
||||
|
||||
An authentication broker is an application that runs on a user’s machine and manages the authentication handshakes and token maintenance for connected accounts. Currently, only the Windows Web Account Manager (WAM) is supported. To enable support, use the `Azure.Identity.Broker` package. For details on authenticating using WAM, see the [broker package documentation](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity.Broker/README.md).
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
See the [troubleshooting guide](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/TROUBLESHOOTING.md) for details on how to diagnose various failure scenarios.
|
||||
|
||||
### Error handling
|
||||
|
||||
Errors arising from authentication can be raised on any service client method which makes a request to the service. This is because the first time the token is requested from the credential is on the first call to the service, and any subsequent calls might need to refresh the token. In order to distinguish these failures from failures in the service client Azure Identity classes raise the `AuthenticationFailedException` with details to the source of the error in the exception message as well as possibly the error message. Depending on the application these errors may or may not be recoverable.
|
||||
|
||||
``` c#
|
||||
using Azure.Identity;
|
||||
using Azure.Security.KeyVault.Secrets;
|
||||
|
||||
// Create a secret client using the DefaultAzureCredential
|
||||
var client = new SecretClient(new Uri("https://myvault.vault.azure.net/"), new DefaultAzureCredential());
|
||||
|
||||
try
|
||||
{
|
||||
KeyVaultSecret secret = await client.GetSecretAsync("secret1");
|
||||
}
|
||||
catch (AuthenticationFailedException e)
|
||||
{
|
||||
Console.WriteLine($"Authentication Failed. {e.Message}");
|
||||
}
|
||||
```
|
||||
|
||||
For more information on dealing with errors arising from failed requests to Microsoft Entra ID or managed identity endpoints, see the Microsoft Entra ID [documentation on authorization error codes][entraid_err_doc].
|
||||
|
||||
### Logging
|
||||
|
||||
The Azure Identity library provides the same [logging capabilities](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md#logging) as the rest of the Azure SDK.
|
||||
|
||||
The simplest way to see the logs to help debug authentication issues is to enable the console logging.
|
||||
|
||||
``` c#
|
||||
// Setup a listener to monitor logged events.
|
||||
using AzureEventSourceListener listener = AzureEventSourceListener.CreateConsoleLogger();
|
||||
```
|
||||
|
||||
All credentials can be configured with diagnostic options, in the same way as other clients in the SDK.
|
||||
|
||||
> **CAUTION:** Requests and responses in the Azure Identity library contain sensitive information. Precaution must be taken to protect logs, when customizing the output, to avoid compromising account security.
|
||||
|
||||
``` c#
|
||||
DefaultAzureCredentialOptions options = new DefaultAzureCredentialOptions
|
||||
{
|
||||
Diagnostics =
|
||||
{
|
||||
LoggedHeaderNames = { "x-ms-request-id" },
|
||||
LoggedQueryParameters = { "api-version" },
|
||||
IsLoggingContentEnabled = true
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
When troubleshooting authentication issues, you may also want to enable logging of sensitive information. To enable this type of logging, set the `IsLoggingContentEnabled` property to `true`. To only log details about the account that was used to attempt authentication and authorization, set `IsAccountIdentifierLoggingEnabled` to `true`.
|
||||
|
||||
```c#
|
||||
DefaultAzureCredentialOptions options = new DefaultAzureCredentialOptions
|
||||
{
|
||||
Diagnostics =
|
||||
{
|
||||
LoggedHeaderNames = { "x-ms-request-id" },
|
||||
LoggedQueryParameters = { "api-version" },
|
||||
IsAccountIdentifierLoggingEnabled = true
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
### Thread safety
|
||||
|
||||
We guarantee that all credential instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)).
|
||||
This ensures that the recommendation of reusing credential instances is always safe, even across threads.
|
||||
|
||||
### Additional concepts
|
||||
|
||||
[Client options](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions) |
|
||||
[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
|
||||
[Diagnostics](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/samples/Diagnostics.md) |
|
||||
[Mocking](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/README.md#mocking) |
|
||||
[Client lifetime](https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/)
|
||||
|
||||
## Next steps
|
||||
|
||||
### Client libraries supporting authentication with Azure Identity
|
||||
|
||||
Many of the client libraries listed [here](https://azure.github.io/azure-sdk/releases/latest/dotnet.html) support authenticating with `TokenCredential` and the Azure Identity library.
|
||||
There you will also find links where you can learn more about their use, including additional documentation and samples.
|
||||
|
||||
### Known Issues
|
||||
|
||||
This library doesn't currently support scenarios relating to the [Azure AD B2C](https://learn.microsoft.com/azure/active-directory-b2c/overview) service.
|
||||
|
||||
Open issues for the `Azure.Identity` library can be found [here](https://github.com/Azure/azure-sdk-for-net/issues?q=is%3Aissue+is%3Aopen+label%3AAzure.Identity).
|
||||
|
||||
## Contributing
|
||||
|
||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
|
||||
|
||||
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
|
||||
|
||||
This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][code_of_conduct_faq] or contact opencode@microsoft.com with any additional questions or comments.
|
||||
|
||||
|
||||
[azure_cli]: https://learn.microsoft.com/cli/azure
|
||||
[azure_developer_cli]:https://aka.ms/azure-dev
|
||||
[azure_powerShell]: https://learn.microsoft.com/powershell/azure
|
||||
[azure_sub]: https://azure.microsoft.com/free/dotnet/
|
||||
[source]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/identity/Azure.Identity/src
|
||||
[package]: https://www.nuget.org/packages/Azure.Identity
|
||||
[entraid_doc]: https://learn.microsoft.com/entra/identity/
|
||||
[entraid_err_doc]: https://learn.microsoft.com/entra/identity-platform/reference-error-codes
|
||||
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
|
||||
[code_of_conduct_faq]: https://opensource.microsoft.com/codeofconduct/faq/
|
||||
[nuget]: https://www.nuget.org/
|
||||
[secrets_client_library]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/keyvault/Azure.Security.KeyVault.Secrets
|
||||
[blobs_client_library]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/storage/Azure.Storage.Blobs
|
||||
[eventhubs_client_library]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/eventhub/Azure.Messaging.EventHubs
|
||||
[azure_core_library]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/core/Azure.Core
|
||||
[identity_api_docs]: https://learn.microsoft.com/dotnet/api/azure.identity?view=azure-dotnet
|
||||
[vs_login_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-net/main/sdk/identity/Azure.Identity/images/VsLoginDialog.png
|
||||
[azure_cli_login_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-net/main/sdk/identity/Azure.Identity/images/AzureCliLogin.png
|
||||
[azure_cli_login_device_code_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-net/main/sdk/identity/Azure.Identity/images/AzureCliLoginDeviceCode.png
|
||||
[default_azure_credential_authflow_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-net/main/sdk/identity/Azure.Identity/images/mermaidjs/DefaultAzureCredentialAuthFlow.svg
|
||||
[ref_AuthorizationCodeCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.authorizationcodecredential?view=azure-dotnet
|
||||
[ref_AzureCliCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.azureclicredential?view=azure-dotnet
|
||||
[ref_AzureDeveloperCliCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.azuredeveloperclicredential?view=azure-dotnet
|
||||
[ref_AzurePowerShellCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.azurepowershellcredential?view=azure-dotnet
|
||||
[ref_ChainedTokenCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.chainedtokencredential?view=azure-dotnet
|
||||
[ref_ClientAssertionCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.clientassertioncredential?view=azure-dotnet
|
||||
[ref_ClientCertificateCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.clientcertificatecredential?view=azure-dotnet
|
||||
[ref_ClientSecretCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.clientsecretcredential?view=azure-dotnet
|
||||
[ref_DefaultAzureCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet
|
||||
[ref_DeviceCodeCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.devicecodecredential?view=azure-dotnet
|
||||
[ref_EnvironmentCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.environmentcredential?view=azure-dotnet
|
||||
[ref_InteractiveBrowserCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet
|
||||
[ref_ManagedIdentityCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.managedidentitycredential?view=azure-dotnet
|
||||
[ref_OnBehalfOfCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.onbehalfofcredential?view=azure-dotnet
|
||||
[ref_UsernamePasswordCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.usernamepasswordcredential?view=azure-dotnet
|
||||
[ref_VisualStudioCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.visualstudiocredential?view=azure-dotnet
|
||||
[ref_VisualStudioCodeCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.visualstudiocodecredential?view=azure-dotnet
|
||||
[ref_WorkloadIdentityCredential]: https://learn.microsoft.com/dotnet/api/azure.identity.workloadidentitycredential?view=azure-dotnet
|
||||
[cae]: https://learn.microsoft.com/entra/identity/conditional-access/concept-continuous-access-evaluation
|
BIN
test2/packages/Azure.Identity.1.11.4/azureicon.png
vendored
Normal file
BIN
test2/packages/Azure.Identity.1.11.4/azureicon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
test2/packages/Azure.Identity.1.11.4/lib/netstandard2.0/Azure.Identity.dll
vendored
Normal file
BIN
test2/packages/Azure.Identity.1.11.4/lib/netstandard2.0/Azure.Identity.dll
vendored
Normal file
Binary file not shown.
3339
test2/packages/Azure.Identity.1.11.4/lib/netstandard2.0/Azure.Identity.xml
vendored
Normal file
3339
test2/packages/Azure.Identity.1.11.4/lib/netstandard2.0/Azure.Identity.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/.signature.p7s
vendored
Normal file
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/Icon.png
vendored
Normal file
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/Icon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
23
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/LICENSE.TXT
vendored
Normal file
23
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/LICENSE.TXT
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) .NET Foundation and Contributors
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/Microsoft.Bcl.AsyncInterfaces.1.1.1.nupkg
vendored
Normal file
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/Microsoft.Bcl.AsyncInterfaces.1.1.1.nupkg
vendored
Normal file
Binary file not shown.
375
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
375
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
@ -0,0 +1,375 @@
|
||||
.NET Core uses third-party libraries or other resources that may be
|
||||
distributed under licenses different than the .NET Core software.
|
||||
|
||||
In the event that we accidentally failed to list a required notice, please
|
||||
bring it to our attention. Post an issue or email us:
|
||||
|
||||
dotnet@microsoft.com
|
||||
|
||||
The attached notices are provided for information only.
|
||||
|
||||
License notice for ASP.NET
|
||||
-------------------------------
|
||||
|
||||
Copyright (c) .NET Foundation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0.
|
||||
|
||||
Available at
|
||||
https://github.com/aspnet/AspNetCore/blob/master/LICENSE.txt
|
||||
|
||||
License notice for Slicing-by-8
|
||||
-------------------------------
|
||||
|
||||
http://sourceforge.net/projects/slicing-by-8/
|
||||
|
||||
Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
|
||||
|
||||
|
||||
This software program is licensed subject to the BSD License, available at
|
||||
http://www.opensource.org/licenses/bsd-license.html.
|
||||
|
||||
|
||||
License notice for Unicode data
|
||||
-------------------------------
|
||||
|
||||
http://www.unicode.org/copyright.html#License
|
||||
|
||||
Copyright © 1991-2017 Unicode, Inc. All rights reserved.
|
||||
Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Unicode data files and any associated documentation
|
||||
(the "Data Files") or Unicode software and any associated documentation
|
||||
(the "Software") to deal in the Data Files or Software
|
||||
without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, and/or sell copies of
|
||||
the Data Files or Software, and to permit persons to whom the Data Files
|
||||
or Software are furnished to do so, provided that either
|
||||
(a) this copyright and permission notice appear with all copies
|
||||
of the Data Files or Software, or
|
||||
(b) this copyright and permission notice appear in associated
|
||||
Documentation.
|
||||
|
||||
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
||||
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
||||
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale,
|
||||
use or other dealings in these Data Files or Software without prior
|
||||
written authorization of the copyright holder.
|
||||
|
||||
License notice for Zlib
|
||||
-----------------------
|
||||
|
||||
https://github.com/madler/zlib
|
||||
http://zlib.net/zlib_license.html
|
||||
|
||||
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
||||
version 1.2.11, January 15th, 2017
|
||||
|
||||
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
Jean-loup Gailly Mark Adler
|
||||
jloup@gzip.org madler@alumni.caltech.edu
|
||||
|
||||
*/
|
||||
|
||||
License notice for Mono
|
||||
-------------------------------
|
||||
|
||||
http://www.mono-project.com/docs/about-mono/
|
||||
|
||||
Copyright (c) .NET Foundation Contributors
|
||||
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the Software), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
License notice for International Organization for Standardization
|
||||
-----------------------------------------------------------------
|
||||
|
||||
Portions (C) International Organization for Standardization 1986:
|
||||
Permission to copy in any form is granted for use with
|
||||
conforming SGML systems and applications as defined in
|
||||
ISO 8879, provided this notice is included in all copies.
|
||||
|
||||
License notice for Intel
|
||||
------------------------
|
||||
|
||||
"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License notice for Xamarin and Novell
|
||||
-------------------------------------
|
||||
|
||||
Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
Copyright (c) 2011 Novell, Inc (http://www.novell.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
Third party notice for W3C
|
||||
--------------------------
|
||||
|
||||
"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
|
||||
Status: This license takes effect 13 May, 2015.
|
||||
This work is being provided by the copyright holders under the following license.
|
||||
License
|
||||
By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
|
||||
Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications:
|
||||
The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
|
||||
Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included.
|
||||
Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)."
|
||||
Disclaimers
|
||||
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
|
||||
The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders."
|
||||
|
||||
License notice for Bit Twiddling Hacks
|
||||
--------------------------------------
|
||||
|
||||
Bit Twiddling Hacks
|
||||
|
||||
By Sean Eron Anderson
|
||||
seander@cs.stanford.edu
|
||||
|
||||
Individually, the code snippets here are in the public domain (unless otherwise
|
||||
noted) — feel free to use them however you please. The aggregate collection and
|
||||
descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are
|
||||
distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and
|
||||
without even the implied warranty of merchantability or fitness for a particular
|
||||
purpose.
|
||||
|
||||
License notice for Brotli
|
||||
--------------------------------------
|
||||
|
||||
Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
compress_fragment.c:
|
||||
Copyright (c) 2011, Google Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
decode_fuzzer.c:
|
||||
Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
|
||||
|
||||
License notice for Json.NET
|
||||
-------------------------------
|
||||
|
||||
https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2007 James Newton-King
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
License notice for vectorized base64 encoding / decoding
|
||||
--------------------------------------------------------
|
||||
|
||||
Copyright (c) 2005-2007, Nick Galbreath
|
||||
Copyright (c) 2013-2017, Alfred Klomp
|
||||
Copyright (c) 2015-2017, Wojciech Mula
|
||||
Copyright (c) 2016-2017, Matthieu Darbois
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
- Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
- Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
||||
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/lib/net461/Microsoft.Bcl.AsyncInterfaces.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/lib/net461/Microsoft.Bcl.AsyncInterfaces.dll
vendored
Normal file
Binary file not shown.
223
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/lib/net461/Microsoft.Bcl.AsyncInterfaces.xml
vendored
Normal file
223
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/lib/net461/Microsoft.Bcl.AsyncInterfaces.xml
vendored
Normal file
@ -0,0 +1,223 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Bcl.AsyncInterfaces</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1">
|
||||
<summary>Provides the core logic for implementing a manual-reset <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource"/> or <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource`1"/>.</summary>
|
||||
<typeparam name="TResult"></typeparam>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation">
|
||||
<summary>
|
||||
The callback to invoke when the operation completes if <see cref="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)"/> was called before the operation completed,
|
||||
or <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCoreShared.s_sentinel"/> if the operation completed before a callback was supplied,
|
||||
or null if a callback hasn't yet been provided and the operation hasn't yet completed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuationState">
|
||||
<summary>State to pass to <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext">
|
||||
<summary><see cref="T:System.Threading.ExecutionContext"/> to flow to the callback, or null if no flowing is required.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._capturedContext">
|
||||
<summary>
|
||||
A "captured" <see cref="T:System.Threading.SynchronizationContext"/> or <see cref="T:System.Threading.Tasks.TaskScheduler"/> with which to invoke the callback,
|
||||
or null if no special context is required.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._completed">
|
||||
<summary>Whether the current operation has completed.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._result">
|
||||
<summary>The result with which the operation succeeded, or the default value if it hasn't yet completed or failed.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._error">
|
||||
<summary>The exception with which the operation failed, or null if it hasn't yet completed or completed successfully.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._version">
|
||||
<summary>The current version of this value, used to help prevent misuse.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.RunContinuationsAsynchronously">
|
||||
<summary>Gets or sets whether to force continuations to run asynchronously.</summary>
|
||||
<remarks>Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true.</remarks>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Reset">
|
||||
<summary>Resets to prepare for the next operation.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetResult(`0)">
|
||||
<summary>Completes with a successful result.</summary>
|
||||
<param name="result">The result.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetException(System.Exception)">
|
||||
<summary>Complets with an error.</summary>
|
||||
<param name="error"></param>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Version">
|
||||
<summary>Gets the operation version.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetStatus(System.Int16)">
|
||||
<summary>Gets the status of the operation.</summary>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(System.Int16)">
|
||||
<summary>Gets the result of the operation.</summary>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)">
|
||||
<summary>Schedules the continuation action for this operation.</summary>
|
||||
<param name="continuation">The continuation to invoke when the operation has completed.</param>
|
||||
<param name="state">The state object to pass to <paramref name="continuation"/> when it's invoked.</param>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
<param name="flags">The flags describing the behavior of the continuation.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.ValidateToken(System.Int16)">
|
||||
<summary>Ensures that the specified token matches the current version.</summary>
|
||||
<param name="token">The token supplied by <see cref="T:System.Threading.Tasks.ValueTask"/>.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SignalCompletion">
|
||||
<summary>Signals that the operation has completed. Invoked after the result or error has been set.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.InvokeContinuation">
|
||||
<summary>
|
||||
Invokes the continuation with the appropriate captured context / scheduler.
|
||||
This assumes that if <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext"/> is not null we're already
|
||||
running within that <see cref="T:System.Threading.ExecutionContext"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Threading.Tasks.TaskAsyncEnumerableExtensions">
|
||||
<summary>Provides a set of static methods for configuring <see cref="T:System.Threading.Tasks.Task"/>-related behaviors on asynchronous enumerables and disposables.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait(System.IAsyncDisposable,System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async disposable will be performed.</summary>
|
||||
<param name="source">The source async disposable.</param>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured async disposable.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||
<param name="source">The source enumerable being iterated.</param>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.WithCancellation``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Threading.CancellationToken)">
|
||||
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||
<param name="source">The source enumerable being iterated.</param>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder">
|
||||
<summary>Represents a builder for asynchronous iterators.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Create">
|
||||
<summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"/> struct.</summary>
|
||||
<returns>The initialized instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.MoveNext``1(``0@)">
|
||||
<summary>Invokes <see cref="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext"/> on the state machine while guarding the <see cref="T:System.Threading.ExecutionContext"/>.</summary>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="stateMachine">The state machine instance, passed by reference.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
|
||||
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="awaiter">The awaiter.</param>
|
||||
<param name="stateMachine">The state machine.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
|
||||
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="awaiter">The awaiter.</param>
|
||||
<param name="stateMachine">The state machine.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Complete">
|
||||
<summary>Marks iteration as being completed, whether successfully or otherwise.</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.ObjectIdForDebugger">
|
||||
<summary>Gets an object that may be used to uniquely identify this builder to the debugger.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute">
|
||||
<summary>Indicates whether a method is an asynchronous iterator.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute.#ctor(System.Type)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute"/> class.</summary>
|
||||
<param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable">
|
||||
<summary>Provides a type that can be used to configure how awaits on an <see cref="T:System.IAsyncDisposable"/> are performed.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1">
|
||||
<summary>Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
<remarks>This will replace any previous value set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)"/> for this iteration.</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)">
|
||||
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
<remarks>This will replace any previous <see cref="T:System.Threading.CancellationToken"/> set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)"/> for this iteration.</remarks>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator">
|
||||
<summary>Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.MoveNextAsync">
|
||||
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> that will complete with a result of <c>true</c>
|
||||
if the enumerator was successfully advanced to the next element, or <c>false</c> if the enumerator has
|
||||
passed the end of the collection.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.Current">
|
||||
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.DisposeAsync">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Collections.Generic.IAsyncEnumerable`1">
|
||||
<summary>Exposes an enumerator that provides asynchronous iteration over values of a specified type.</summary>
|
||||
<typeparam name="T">The type of values to enumerate.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)">
|
||||
<summary>Returns an enumerator that iterates asynchronously through the collection.</summary>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that may be used to cancel the asynchronous iteration.</param>
|
||||
<returns>An enumerator that can be used to iterate asynchronously through the collection.</returns>
|
||||
</member>
|
||||
<member name="T:System.Collections.Generic.IAsyncEnumerator`1">
|
||||
<summary>Supports a simple asynchronous iteration over a generic collection.</summary>
|
||||
<typeparam name="T">The type of objects to enumerate.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync">
|
||||
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.Threading.Tasks.ValueTask`1"/> that will complete with a result of <c>true</c> if the enumerator
|
||||
was successfully advanced to the next element, or <c>false</c> if the enumerator has passed the end
|
||||
of the collection.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:System.Collections.Generic.IAsyncEnumerator`1.Current">
|
||||
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||
</member>
|
||||
<member name="T:System.IAsyncDisposable">
|
||||
<summary>Provides a mechanism for releasing unmanaged resources asynchronously.</summary>
|
||||
</member>
|
||||
<member name="M:System.IAsyncDisposable.DisposeAsync">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
@ -0,0 +1,223 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Bcl.AsyncInterfaces</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1">
|
||||
<summary>Provides the core logic for implementing a manual-reset <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource"/> or <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource`1"/>.</summary>
|
||||
<typeparam name="TResult"></typeparam>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation">
|
||||
<summary>
|
||||
The callback to invoke when the operation completes if <see cref="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)"/> was called before the operation completed,
|
||||
or <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCoreShared.s_sentinel"/> if the operation completed before a callback was supplied,
|
||||
or null if a callback hasn't yet been provided and the operation hasn't yet completed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuationState">
|
||||
<summary>State to pass to <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext">
|
||||
<summary><see cref="T:System.Threading.ExecutionContext"/> to flow to the callback, or null if no flowing is required.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._capturedContext">
|
||||
<summary>
|
||||
A "captured" <see cref="T:System.Threading.SynchronizationContext"/> or <see cref="T:System.Threading.Tasks.TaskScheduler"/> with which to invoke the callback,
|
||||
or null if no special context is required.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._completed">
|
||||
<summary>Whether the current operation has completed.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._result">
|
||||
<summary>The result with which the operation succeeded, or the default value if it hasn't yet completed or failed.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._error">
|
||||
<summary>The exception with which the operation failed, or null if it hasn't yet completed or completed successfully.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._version">
|
||||
<summary>The current version of this value, used to help prevent misuse.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.RunContinuationsAsynchronously">
|
||||
<summary>Gets or sets whether to force continuations to run asynchronously.</summary>
|
||||
<remarks>Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true.</remarks>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Reset">
|
||||
<summary>Resets to prepare for the next operation.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetResult(`0)">
|
||||
<summary>Completes with a successful result.</summary>
|
||||
<param name="result">The result.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetException(System.Exception)">
|
||||
<summary>Complets with an error.</summary>
|
||||
<param name="error"></param>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Version">
|
||||
<summary>Gets the operation version.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetStatus(System.Int16)">
|
||||
<summary>Gets the status of the operation.</summary>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(System.Int16)">
|
||||
<summary>Gets the result of the operation.</summary>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)">
|
||||
<summary>Schedules the continuation action for this operation.</summary>
|
||||
<param name="continuation">The continuation to invoke when the operation has completed.</param>
|
||||
<param name="state">The state object to pass to <paramref name="continuation"/> when it's invoked.</param>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
<param name="flags">The flags describing the behavior of the continuation.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.ValidateToken(System.Int16)">
|
||||
<summary>Ensures that the specified token matches the current version.</summary>
|
||||
<param name="token">The token supplied by <see cref="T:System.Threading.Tasks.ValueTask"/>.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SignalCompletion">
|
||||
<summary>Signals that the operation has completed. Invoked after the result or error has been set.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.InvokeContinuation">
|
||||
<summary>
|
||||
Invokes the continuation with the appropriate captured context / scheduler.
|
||||
This assumes that if <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext"/> is not null we're already
|
||||
running within that <see cref="T:System.Threading.ExecutionContext"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Threading.Tasks.TaskAsyncEnumerableExtensions">
|
||||
<summary>Provides a set of static methods for configuring <see cref="T:System.Threading.Tasks.Task"/>-related behaviors on asynchronous enumerables and disposables.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait(System.IAsyncDisposable,System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async disposable will be performed.</summary>
|
||||
<param name="source">The source async disposable.</param>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured async disposable.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||
<param name="source">The source enumerable being iterated.</param>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.WithCancellation``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Threading.CancellationToken)">
|
||||
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||
<param name="source">The source enumerable being iterated.</param>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder">
|
||||
<summary>Represents a builder for asynchronous iterators.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Create">
|
||||
<summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"/> struct.</summary>
|
||||
<returns>The initialized instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.MoveNext``1(``0@)">
|
||||
<summary>Invokes <see cref="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext"/> on the state machine while guarding the <see cref="T:System.Threading.ExecutionContext"/>.</summary>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="stateMachine">The state machine instance, passed by reference.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
|
||||
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="awaiter">The awaiter.</param>
|
||||
<param name="stateMachine">The state machine.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
|
||||
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="awaiter">The awaiter.</param>
|
||||
<param name="stateMachine">The state machine.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Complete">
|
||||
<summary>Marks iteration as being completed, whether successfully or otherwise.</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.ObjectIdForDebugger">
|
||||
<summary>Gets an object that may be used to uniquely identify this builder to the debugger.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute">
|
||||
<summary>Indicates whether a method is an asynchronous iterator.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute.#ctor(System.Type)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute"/> class.</summary>
|
||||
<param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable">
|
||||
<summary>Provides a type that can be used to configure how awaits on an <see cref="T:System.IAsyncDisposable"/> are performed.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1">
|
||||
<summary>Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
<remarks>This will replace any previous value set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)"/> for this iteration.</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)">
|
||||
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
<remarks>This will replace any previous <see cref="T:System.Threading.CancellationToken"/> set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)"/> for this iteration.</remarks>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator">
|
||||
<summary>Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.MoveNextAsync">
|
||||
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> that will complete with a result of <c>true</c>
|
||||
if the enumerator was successfully advanced to the next element, or <c>false</c> if the enumerator has
|
||||
passed the end of the collection.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.Current">
|
||||
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.DisposeAsync">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Collections.Generic.IAsyncEnumerable`1">
|
||||
<summary>Exposes an enumerator that provides asynchronous iteration over values of a specified type.</summary>
|
||||
<typeparam name="T">The type of values to enumerate.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)">
|
||||
<summary>Returns an enumerator that iterates asynchronously through the collection.</summary>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that may be used to cancel the asynchronous iteration.</param>
|
||||
<returns>An enumerator that can be used to iterate asynchronously through the collection.</returns>
|
||||
</member>
|
||||
<member name="T:System.Collections.Generic.IAsyncEnumerator`1">
|
||||
<summary>Supports a simple asynchronous iteration over a generic collection.</summary>
|
||||
<typeparam name="T">The type of objects to enumerate.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync">
|
||||
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.Threading.Tasks.ValueTask`1"/> that will complete with a result of <c>true</c> if the enumerator
|
||||
was successfully advanced to the next element, or <c>false</c> if the enumerator has passed the end
|
||||
of the collection.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:System.Collections.Generic.IAsyncEnumerator`1.Current">
|
||||
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||
</member>
|
||||
<member name="T:System.IAsyncDisposable">
|
||||
<summary>Provides a mechanism for releasing unmanaged resources asynchronously.</summary>
|
||||
</member>
|
||||
<member name="M:System.IAsyncDisposable.DisposeAsync">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Bcl.AsyncInterfaces</name>
|
||||
</assembly>
|
||||
<members>
|
||||
</members>
|
||||
</doc>
|
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/ref/net461/Microsoft.Bcl.AsyncInterfaces.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/ref/net461/Microsoft.Bcl.AsyncInterfaces.dll
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
0
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/useSharedDesignerContext.txt
vendored
Normal file
0
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/useSharedDesignerContext.txt
vendored
Normal file
1
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/version.txt
vendored
Normal file
1
test2/packages/Microsoft.Bcl.AsyncInterfaces.1.1.1/version.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
c4164928b270ee2369808ab347d33423ef765216
|
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/.signature.p7s
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/Microsoft.Data.SqlClient.5.2.2.nupkg
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/Microsoft.Data.SqlClient.5.2.2.nupkg
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/dotnet.png
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/dotnet.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/Microsoft.Data.SqlClient.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/Microsoft.Data.SqlClient.dll
vendored
Normal file
Binary file not shown.
24667
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/Microsoft.Data.SqlClient.xml
vendored
Normal file
24667
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/Microsoft.Data.SqlClient.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/de/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/de/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/es/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/es/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/fr/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/fr/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/it/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/it/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/ja/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/ja/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/ko/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/ko/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/ru/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net462/ru/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/Microsoft.Data.SqlClient.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/Microsoft.Data.SqlClient.dll
vendored
Normal file
Binary file not shown.
26479
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/Microsoft.Data.SqlClient.xml
vendored
Normal file
26479
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/Microsoft.Data.SqlClient.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/de/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/de/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/es/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/es/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/fr/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/fr/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/it/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/it/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/ja/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/ja/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/ko/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/ko/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/ru/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net6.0/ru/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/Microsoft.Data.SqlClient.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/Microsoft.Data.SqlClient.dll
vendored
Normal file
Binary file not shown.
26464
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/Microsoft.Data.SqlClient.xml
vendored
Normal file
26464
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/Microsoft.Data.SqlClient.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/de/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/de/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/es/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/es/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/fr/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/fr/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/it/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/it/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/ja/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/ja/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/ko/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/ko/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/ru/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/net8.0/ru/Microsoft.Data.SqlClient.resources.dll
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.0/Microsoft.Data.SqlClient.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.0/Microsoft.Data.SqlClient.dll
vendored
Normal file
Binary file not shown.
25802
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.0/Microsoft.Data.SqlClient.xml
vendored
Normal file
25802
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.0/Microsoft.Data.SqlClient.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.1/Microsoft.Data.SqlClient.dll
vendored
Normal file
BIN
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.1/Microsoft.Data.SqlClient.dll
vendored
Normal file
Binary file not shown.
26014
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.1/Microsoft.Data.SqlClient.xml
vendored
Normal file
26014
test2/packages/Microsoft.Data.SqlClient.5.2.2/lib/netstandard2.1/Microsoft.Data.SqlClient.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user