Interface ICredentialProvider
Asks the user or a keyring for System.Net.NetworkCredentials for specific System.Uris.
public interface ICredentialProvider
- Extension Methods
Remarks
Implementations of this interface are thread-safe.
Methods
GetCredential(Uri, bool)
Returns System.Net.NetworkCredentials for a specific System.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.
Returns
- NetworkCredential