PHP Class Phosphorum\Github\OAuth

Inheritance: extends Phalcon\DI\Injectable
Datei anzeigen Open project: phalcon/forum Class Usage Examples

Protected Properties

Property Type Description
$clientId
$clientSecret
$endPointAccessToken
$endPointAuthorize
$logger
$redirectUriAuthorize

Public Methods

Method Description
__construct ( Phalcon\Config $config )
accessToken ( ) : boolean | mixed
authorize ( )
send ( $url, $parameters, string $method = 'post' ) : boolean | mixed

Method Details

__construct() public method

public __construct ( Phalcon\Config $config )
$config Phalcon\Config

accessToken() public method

public accessToken ( ) : boolean | mixed
return boolean | mixed

authorize() public method

public authorize ( )

send() public method

public send ( $url, $parameters, string $method = 'post' ) : boolean | mixed
$url
$parameters
$method string
return boolean | mixed

Property Details

$clientId protected_oe property

protected $clientId

$clientSecret protected_oe property

protected $clientSecret

$endPointAccessToken protected_oe property

protected $endPointAccessToken

$endPointAuthorize protected_oe property

protected $endPointAuthorize

$logger protected_oe property

protected $logger

$redirectUriAuthorize protected_oe property

protected $redirectUriAuthorize