Interface ICredentialProvider
Asks the user or a keyring for NetworkCredentials for specific Uris.
public interface ICredentialProvider
- Extension Methods
Remarks
Implementations of this interface are thread-safe.
Methods
GetCredential(Uri, bool)
Returns NetworkCredentials for a specific Uri.
NetworkCredential? GetCredential(Uri uri, bool previousIncorrect = false)
Parameters
uri
UriThe URI that the client is providing authentication for.
previousIncorrect
boolReports that the credentials previously returned by this provider were incorrect.