C# (CSharp) StopGuessing.AccountStorage.Sql 네임스페이스

클래스들

이름 설명
DbUserAccount An implementation of IUserAccount that stores account information in an SQL database.
DbUserAccountContext
DbUserAccountCreditBalance
IncorrectPhaseTwoHashEntity Used for storing into an azure table a record that maps a account identifier to sets of incorrect passwords that have been submitted for that account.
SuccessfulLoginCookieEntity
TableKeyEncoding Azure tables forbid the folowing characters in PartitionKey and RowKey properties: --The forward slash(/) character --The backslash(\) character --The number sign(#) character --The question mark (?) character --Control characters from U+0000 to U+001F, including: --The horizontal tab(\t) character --The linefeed(\n) character --The carriage return (\r) character --Control characters from U+007F to U+009F (see https://msdn.microsoft.com/library/azure/dd179338.aspx) This class provides a method to encode any string to remove the forbidden characters and allow its use as a PartitionKey or RowKey, as well as a method to decode the keys to recover the original string with the forbidden characters. It encodes forbidden chracters using the '!' (exclamation point) character as an escape character. !! = ! ('!' is a legal character but '!!' is needed to indicate '!' is not escaping anything) !f = / !b = \ !p = # !q = ? !t = \t (tab) !n = \n (line feed) !r = \r (carriage return) !xXY = character with unicode value 0xXY