PHP Class Scalr_UI_Controller_Guest

Inheritance: extends Scalr_UI_Controller
Mostra file Open project: scalr/scalr

Protected Properties

Property Type Description
$ldapGroups

Public Methods

Method Description
getContext ( integer $uiStorageTime ) : array
hasAccess ( )
logoutAction ( )
validateReCaptcha ( string $captcha ) : boolean | string
xCreateAccountAction ( string $name = '', string $org = '', string $email = '', Scalr\UI\Request\RawData $password = null, string $agreeTerms = '', string $newBilling = '', string $country = '', string $phone = '', string $lastname = '', string $firstname = '', string $v = '', string $numServers = '', $beta )
xGetContextAction ( integer $uiStorageTime )
xInitAction ( integer $uiStorageTime )
xLoginAction ( string $scalrLogin, Scalr\UI\Request\RawData $scalrPass, boolean $scalrKeepSession = false, integer $accountId, string $tfaGglCode = '', boolean $tfaGglReset = false, string $scalrCaptcha = '', string $scalrCaptchaChallenge = '' )
xPerpetuumMobileAction ( integer $userId, integer $envId, JsonData $uiStorage, JsonData $updateDashboard )
xPostErrorAction ( string $url, string $file = '', integer $lineno, Scalr\UI\Request\RawData $message, string $plugins = '' )
xRemindMeLaterAction ( string $email ) Accumulates emails in app/cache/.remind-me-later-emails file.
xResetPasswordAction ( string $email, string $scalrCaptcha = '' )
xUpdatePasswordAction ( string $hash, Scalr\UI\Request\RawData $password )
xUpdatePasswordValidateAction ( string $hash )

Private Methods

Method Description
loginUserCreate ( Scalr_Account_User $user, boolean $keepSession )
loginUserGet ( string $login, string $password, integer $accountId, string $scalrCaptcha ) : Scalr_Account_User

Method Details

getContext() public method

public getContext ( integer $uiStorageTime ) : array
$uiStorageTime integer optional
return array

hasAccess() public method

public hasAccess ( )

logoutAction() public method

public logoutAction ( )

validateReCaptcha() public method

public validateReCaptcha ( string $captcha ) : boolean | string
$captcha string
return boolean | string Return true or string if error

xCreateAccountAction() public method

public xCreateAccountAction ( string $name = '', string $org = '', string $email = '', Scalr\UI\Request\RawData $password = null, string $agreeTerms = '', string $newBilling = '', string $country = '', string $phone = '', string $lastname = '', string $firstname = '', string $v = '', string $numServers = '', $beta )
$name string
$org string
$email string
$password Scalr\UI\Request\RawData
$agreeTerms string
$newBilling string
$country string
$phone string
$lastname string
$firstname string
$v string
$numServers string

xGetContextAction() public method

public xGetContextAction ( integer $uiStorageTime )
$uiStorageTime integer optional

xInitAction() public method

public xInitAction ( integer $uiStorageTime )
$uiStorageTime integer optional

xLoginAction() public method

public xLoginAction ( string $scalrLogin, Scalr\UI\Request\RawData $scalrPass, boolean $scalrKeepSession = false, integer $accountId, string $tfaGglCode = '', boolean $tfaGglReset = false, string $scalrCaptcha = '', string $scalrCaptchaChallenge = '' )
$scalrLogin string
$scalrPass Scalr\UI\Request\RawData
$scalrKeepSession boolean
$accountId integer
$tfaGglCode string
$tfaGglReset boolean
$scalrCaptcha string
$scalrCaptchaChallenge string

xPerpetuumMobileAction() public method

public xPerpetuumMobileAction ( integer $userId, integer $envId, JsonData $uiStorage, JsonData $updateDashboard )
$userId integer
$envId integer
$uiStorage Scalr\UI\Request\JsonData
$updateDashboard Scalr\UI\Request\JsonData

xPostErrorAction() public method

public xPostErrorAction ( string $url, string $file = '', integer $lineno, Scalr\UI\Request\RawData $message, string $plugins = '' )
$url string
$file string
$lineno integer
$message Scalr\UI\Request\RawData
$plugins string

xRemindMeLaterAction() public method

Registration from is in the http://scalr.net/l/re-invent-2012/
public xRemindMeLaterAction ( string $email )
$email string

xResetPasswordAction() public method

public xResetPasswordAction ( string $email, string $scalrCaptcha = '' )
$email string
$scalrCaptcha string

xUpdatePasswordAction() public method

public xUpdatePasswordAction ( string $hash, Scalr\UI\Request\RawData $password )
$hash string
$password Scalr\UI\Request\RawData

xUpdatePasswordValidateAction() public method

Property Details

$ldapGroups protected_oe property

protected $ldapGroups