Jaa


AuthorityResolver.ProbeForExpectedAuthentication(Uri, Boolean) Method

Definition

Attemtps to solicit a WWW-Authenticate reply using an unauthenticated GET call to the given endpoint. Parses returned header for details

public System.Threading.Tasks.Task<Microsoft.PowerPlatform.Dataverse.Client.Auth.AuthenticationDetails> ProbeForExpectedAuthentication (Uri endpoint, bool isOnPrem = false);
member this.ProbeForExpectedAuthentication : Uri * bool -> System.Threading.Tasks.Task<Microsoft.PowerPlatform.Dataverse.Client.Auth.AuthenticationDetails>
Public Function ProbeForExpectedAuthentication (endpoint As Uri, Optional isOnPrem As Boolean = false) As Task(Of AuthenticationDetails)

Parameters

endpoint
Uri

endpoint to challenge for authority and resource

isOnPrem
Boolean

if true, this is an OnPremsies server

Returns

Exceptions

Applies to