AuthorityResolver.ProbeForExpectedAuthentication(Uri, Boolean) 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.
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