HttpDocumentRetriever Class

Definition

Retrieves metadata information using HttpClient.

public class HttpDocumentRetriever : Microsoft.IdentityModel.Protocols.IDocumentRetriever
type HttpDocumentRetriever = class
    interface IDocumentRetriever
Public Class HttpDocumentRetriever
Implements IDocumentRetriever
Inheritance
System.Object
HttpDocumentRetriever
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.

Applies to