PHP Class Synology_Api_Authenticate

Inheritance: extends Synology_Abstract
Exibir arquivo Open project: zzarbi/synology Class Usage Examples

Public Methods

Method Description
__construct ( string $serviceName, string $namespace, string $address, integer $port = null, string $protocol = null, integer $version = 1, $verifySSL = false ) Cosntructor
activateDebug ( ) * (non-PHPdoc) @see Synology_Abstract::activateDebug()
connect ( string $login, string $password ) Connect to Synology
disconnect ( ) Disconect to Synology

Protected Methods

Method Description
_request ( $api, $path, $method, $params = [], $version = null, $httpMethod = 'get' ) * (non-PHPdoc) @see Synology_Abstract::_request()

Method Details

__construct() public method

Cosntructor
public __construct ( string $serviceName, string $namespace, string $address, integer $port = null, string $protocol = null, integer $version = 1, $verifySSL = false )
$serviceName string
$namespace string
$address string
$port integer
$protocol string
$version integer

_request() protected method

* (non-PHPdoc) @see Synology_Abstract::_request()
protected _request ( $api, $path, $method, $params = [], $version = null, $httpMethod = 'get' )

activateDebug() public method

* (non-PHPdoc) @see Synology_Abstract::activateDebug()
public activateDebug ( )

connect() public method

Connect to Synology
public connect ( string $login, string $password )
$login string
$password string

disconnect() public method

Disconect to Synology
public disconnect ( )