C# Class BloggingSystem.Services.Validators.UserValidator

ファイルを表示 Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

Method Description
GenerateSessionKey ( int userID ) : string
ValidateAuthenticationCode ( string authCode ) : void
ValidateDisplayName ( string displayName ) : 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

ValidateDisplayName() public static method

public static ValidateDisplayName ( string displayName ) : void
displayName 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