다음을 통해 공유


IConfigurationRetriever<T>.GetConfigurationAsync Method

Definition

Retrieves a populated configuration given an address and an IDocumentRetriever.

public System.Threading.Tasks.Task<T> 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<'T>
Public Function GetConfigurationAsync (address As String, retriever As IDocumentRetriever, cancel As CancellationToken) As Task(Of T)

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

Task<T>

Applies to