C# 클래스 JustPressPlay.Controllers.MobileAppController

상속: Controller
파일 보기 프로젝트 열기: RIT-MAGIC/JustPressPlay

공개 메소드들

메소드 설명
HashValue ( string stringToHash ) : String

비공개 메소드들

메소드 설명
ExpireAuthorizationToken ( string token, string authHash ) : System.Web.Mvc.JsonResult
GetAchievements ( string token, string authHash ) : System.Web.Mvc.JsonResult
GetAssignResultModel ( JPPConstants assignAchievementResult ) : MobileAppScanResultModel

Creates the approriate response model based on the result of assigning the achievement

GetLoginResultMessage ( LoginValidationResult loginResult ) : String

Gets the Message for the specified login result

GetTheme ( ) : System.Web.Mvc.JsonResult
GetThemeModel ( ) : MobileAppThemeModel

Gets the theme for the current site instance from the site settings

GetTokenValidationResultMessage ( TokenValidationResult tokenResult ) : String

Gets the Message for the specified Token Validation Result

Login ( string username, string password, string devPassword, string authHash ) : System.Web.Mvc.JsonResult
RefreshAuthorizationToken ( string token, string refreshToken, string authHash ) : System.Web.Mvc.JsonResult
RemoveAuthorizationToken ( string refreshToken, string authHash ) : System.Web.Mvc.JsonResult
ReportScan ( int aID, bool hasCardToGive, string timeScanned, string token, int userID, string authHash ) : System.Web.Mvc.JsonResult
ValidateHash ( string stringToHash, string authHash ) : bool

Checks the authHash passed in against one built on this side

메소드 상세

HashValue() 공개 메소드

public HashValue ( string stringToHash ) : String
stringToHash string
리턴 String