C# Class CloudAppSharp.Auth.DigestCredentials

Inheritance: ICredentials
Show file Open project: rzhw/CloudAppSharp Class Usage Examples

Public Methods

Method Description
DigestCredentials ( string userName, string password, bool passisha1 ) : System
GetCredential ( Uri uri, string authType ) : NetworkCredential

Private Methods

Method Description
CalculateHa1 ( string realm, HashAlgorithm hashAlgorithm ) : void

Method Details

DigestCredentials() public method

public DigestCredentials ( string userName, string password, bool passisha1 ) : System
userName string
password string
passisha1 bool
return System

GetCredential() public method

public GetCredential ( Uri uri, string authType ) : NetworkCredential
uri System.Uri
authType string
return System.Net.NetworkCredential