C# Class Newster.Services.Utilities.UserValidator

显示文件 Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

Method Description
GenerateSessionKey ( int userID ) : string
ValidateAuthenticationCode ( string authCode ) : void
ValidateNickname ( string nickname ) : void
ValidateSessionKey ( string sessionKey ) : void
ValidateUsername ( string username ) : void

Method Details

GenerateSessionKey() public static method

public static GenerateSessionKey ( int userID ) : string
userID int
return string

ValidateAuthenticationCode() public static method

public static ValidateAuthenticationCode ( string authCode ) : void
authCode string
return void

ValidateNickname() public static method

public static ValidateNickname ( string nickname ) : void
nickname string
return void

ValidateSessionKey() public static method

public static ValidateSessionKey ( string sessionKey ) : void
sessionKey string
return void

ValidateUsername() public static method

public static ValidateUsername ( string username ) : void
username string
return void