C# Класс JustPressPlay.Controllers.MobileAppController

Наследование: Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
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