C# Class Contrive.Auth.Web.Modules.DigestHelper

Show file Open project: alanstevens/Contrive

Public Methods

Method Description
Authenticate ( System.Web.HttpApplication app ) : bool
BuildChallengeHeader ( System.Web.HttpApplication app ) : string

Private Methods

Method Description
DigestHelper ( ) : System
GenerateDigest ( string ha1, string>.Dictionary authHeaderContents, string httpMethod ) : string
GenerateNonce ( ) : string
GetDigestFor ( string userName ) : string
IsValidNonce ( string encodedNonce ) : bool
ParseAuthHeader ( string authHeader ) : string>.Dictionary

Method Details

Authenticate() public static method

public static Authenticate ( System.Web.HttpApplication app ) : bool
app System.Web.HttpApplication
return bool

BuildChallengeHeader() public static method

public static BuildChallengeHeader ( System.Web.HttpApplication app ) : string
app System.Web.HttpApplication
return string