C# Class StopGuessing.Models.LoginAttempt

显示文件 Open project: Microsoft/StopGuessing Class Usage Examples

Private Properties

Property Type Description
SetCookieProvidedByClient void
ToUniqueKey string

Public Methods

Method Description
HashCookie ( string plaintextCookie ) : string

Get the hash of a cookie provided by the client software.

Private Methods

Method Description
SetCookieProvidedByClient ( string plaintextCookie ) : void

Set the cookie provided by the client by storing it's hash.

ToUniqueKey ( ) : string

Get a unique identifier for this login attempt.

Method Details

HashCookie() public static method

Get the hash of a cookie provided by the client software.
public static HashCookie ( string plaintextCookie ) : string
plaintextCookie string The cookie string.
return string