Share via


WsFederationConfigurationRetriever.GetConfigurationAsync Method

Definition

Retrieves a populated configuration given an address and an IDocumentRetriever.

public System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration> GetConfigurationAsync (string address, Microsoft.IdentityModel.Protocols.IDocumentRetriever retriever, System.Threading.CancellationToken cancel);
abstract member GetConfigurationAsync : string * Microsoft.IdentityModel.Protocols.IDocumentRetriever * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration>
override this.GetConfigurationAsync : string * Microsoft.IdentityModel.Protocols.IDocumentRetriever * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.WsFederation.WsFederationConfiguration>
Public Function GetConfigurationAsync (address As String, retriever As IDocumentRetriever, cancel As CancellationToken) As Task(Of WsFederationConfiguration)

Parameters

address
String

Address of the discovery document.

retriever
IDocumentRetriever

The IDocumentRetriever to use to read the discovery document.

cancel
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation. CancellationToken.

Returns

Implements

Applies to