HttpDocumentRetriever Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves metadata information using HttpClient.
public class HttpDocumentRetriever : Microsoft.IdentityModel.Protocols.IDocumentRetriever
type HttpDocumentRetriever = class
interface IDocumentRetriever
Public Class HttpDocumentRetriever
Implements IDocumentRetriever
- Inheritance
-
System.ObjectHttpDocumentRetriever
- Implements
Constructors
HttpDocumentRetriever() |
Initializes a new instance of the HttpDocumentRetriever class. |
HttpDocumentRetriever(HttpClient) |
Initializes a new instance of the HttpDocumentRetriever class with a specified httpClient. |
Properties
RequireHttps |
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. |
Methods
GetDocumentAsync(String, CancellationToken) |
Returns a task which contains a string converted from remote document when completed, by using the provided address. |