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

Afficher le fichier Open project: alanstevens/Contrive

Méthodes publiques

Méthode Description
Authenticate ( System.Web.HttpApplication app ) : bool
BuildChallengeHeader ( System.Web.HttpApplication app ) : string

Private Methods

Méthode 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 méthode

public static Authenticate ( System.Web.HttpApplication app ) : bool
app System.Web.HttpApplication
Résultat bool

BuildChallengeHeader() public static méthode

public static BuildChallengeHeader ( System.Web.HttpApplication app ) : string
app System.Web.HttpApplication
Résultat string