PHP Class Scalr_UI_Controller_Public

Special guest controller for public links. CSRF protection MUST be implemented itself in the action.
Inheritance: extends Scalr_UI_Controller
Show file Open project: scalr/scalr

Public Methods

Method Description
azureAction ( )
describeApiSpecAction ( string $version, string $service ) Describes API specifications
hasAccess ( )
linuxAction ( )
reportAction ( string $uuid, string $secretHash ) View report action
samlAction ( ) SAML 2.0 Auth test endpoint
windowsAction ( )
xAzureTokenAction ( string $code = null, string $error = null, string $error_description = null ) xAzureTokenAction. Redirects to azure environment configuration

Protected Methods

Method Description
parseInstallScriptArgs ( array $params, boolean $isLinux = true ) : array Decode params from href depending on type of OS

Method Details

azureAction() public method

public azureAction ( )

describeApiSpecAction() public method

Describes API specifications
public describeApiSpecAction ( string $version, string $service )
$version string API version
$service string API service

hasAccess() public method

public hasAccess ( )

linuxAction() public method

public linuxAction ( )

parseInstallScriptArgs() protected method

Possible formats (branch is optioanl): for windows: /{repo}/[{branch}/]install_scalarizr.ps1 for linux: /{repo}/{platform}/[{branch}]/install_scalarizr.sh
protected parseInstallScriptArgs ( array $params, boolean $isLinux = true ) : array
$params array
$isLinux boolean
return array

reportAction() public method

View report action
public reportAction ( string $uuid, string $secretHash )
$uuid string Report uuid
$secretHash string Report secret hash

samlAction() public method

FIXME remove termporary saml2 acs endpoint
public samlAction ( )

windowsAction() public method

public windowsAction ( )

xAzureTokenAction() public method

xAzureTokenAction. Redirects to azure environment configuration
public xAzureTokenAction ( string $code = null, string $error = null, string $error_description = null )
$code string optional
$error string optional
$error_description string optional