C# Class JustPressPlay.Controllers.MobileAppController

Inheritance: Controller
Afficher le fichier Open project: RIT-MAGIC/JustPressPlay

Méthodes publiques

Méthode Description
HashValue ( string stringToHash ) : String

Private Methods

Méthode Description
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

Method Details

HashValue() public méthode

public HashValue ( string stringToHash ) : String
stringToHash string
Résultat String