PHP Class Scalr_UI_Controller_Guest

Inheritance: extends Scalr_UI_Controller
Afficher le fichier Open project: scalr/scalr

Protected Properties

Свойство Type Description
$ldapGroups

Méthodes publiques

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

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

Method Details

getContext() public méthode

public getContext ( integer $uiStorageTime ) : array
$uiStorageTime integer optional
Résultat array

hasAccess() public méthode

public hasAccess ( )

logoutAction() public méthode

public logoutAction ( )

validateReCaptcha() public méthode

public validateReCaptcha ( string $captcha ) : boolean | string
$captcha string
Résultat boolean | string Return true or string if error

xCreateAccountAction() public méthode

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 méthode

public xGetContextAction ( integer $uiStorageTime )
$uiStorageTime integer optional

xInitAction() public méthode

public xInitAction ( integer $uiStorageTime )
$uiStorageTime integer optional

xLoginAction() public méthode

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 méthode

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 méthode

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 méthode

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

xResetPasswordAction() public méthode

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

xUpdatePasswordAction() public méthode

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

xUpdatePasswordValidateAction() public méthode

Property Details

$ldapGroups protected_oe property

protected $ldapGroups