Microsoft.IdentityModel.Protocols.HttpDocumentRetriever
Retrieves metadata information using HttpClient.
The key is used to add response content into Data.
The key is used to add status code into Data.
Gets or sets whether additional default headers are added to a HttpRequestMessage headers. Set to true by default.
If set, specifies the desired HTTP version to use for the requests.
Otherwise, HttpClient.DefaultRequestVersion is used.
If set, specifies the protocol version policy to use when sending HTTP requests.
Otherwise, HttpClient.DefaultVersionPolicy is used.
Requires Https secure channel for sending requests.. This is turned ON by default for security reasons. It is RECOMMENDED that you do not allow retrieval from http addresses by default.
Gets or sets whether additional headers are added to a HttpRequestMessage headers
public HttpDocumentRetriever()
Initializes a new instance of the HttpDocumentRetriever class.
Initializes a new instance of the HttpDocumentRetriever class with a specified httpClient.
Returns a task which contains a string converted from remote document when completed, by using the provided address.