EndorsementsRetriever.GetConfigurationAsync Method
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 a populated configuration given an address and a document retriever.
public System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string,System.Collections.Generic.HashSet<string>>> GetConfigurationAsync (string address, Microsoft.IdentityModel.Protocols.IDocumentRetriever retriever, System.Threading.CancellationToken cancellationToken);
abstract member GetConfigurationAsync : string * Microsoft.IdentityModel.Protocols.IDocumentRetriever * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string, System.Collections.Generic.HashSet<string>>>
override this.GetConfigurationAsync : string * Microsoft.IdentityModel.Protocols.IDocumentRetriever * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string, System.Collections.Generic.HashSet<string>>>
Public Function GetConfigurationAsync (address As String, retriever As IDocumentRetriever, cancellationToken As CancellationToken) As Task(Of IDictionary(Of String, HashSet(Of String)))
Parameters
- address
- String
Address of the discovery document.
- retriever
- IDocumentRetriever
The document retriever to use to read the discovery document.
- cancellationToken
- CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
A task that represents the work queued to execute.
Implements
Remarks
If the activities are successfully sent, the task result contains a populated configuration.