diff options
Diffstat (limited to 'REFLECTION')
| -rw-r--r-- | REFLECTION | 167 |
1 files changed, 102 insertions, 65 deletions
@@ -1,38 +1,38 @@ -Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { +Extension [ <persistent> extension #104 OAuth version 2.0.12 ] { - Constants [32] { - Constant [ string OAUTH_SIG_METHOD_HMACSHA1 ] { HMAC-SHA1 } - Constant [ string OAUTH_SIG_METHOD_HMACSHA256 ] { HMAC-SHA256 } - Constant [ string OAUTH_SIG_METHOD_RSASHA1 ] { RSA-SHA1 } - Constant [ string OAUTH_SIG_METHOD_PLAINTEXT ] { PLAINTEXT } - Constant [ int OAUTH_AUTH_TYPE_AUTHORIZATION ] { 3 } - Constant [ int OAUTH_AUTH_TYPE_URI ] { 1 } - Constant [ int OAUTH_AUTH_TYPE_FORM ] { 2 } - Constant [ int OAUTH_AUTH_TYPE_NONE ] { 4 } - Constant [ string OAUTH_HTTP_METHOD_GET ] { GET } - Constant [ string OAUTH_HTTP_METHOD_POST ] { POST } - Constant [ string OAUTH_HTTP_METHOD_PUT ] { PUT } - Constant [ string OAUTH_HTTP_METHOD_HEAD ] { HEAD } - Constant [ string OAUTH_HTTP_METHOD_DELETE ] { DELETE } - Constant [ int OAUTH_REQENGINE_STREAMS ] { 1 } - Constant [ int OAUTH_REQENGINE_CURL ] { 2 } - Constant [ int OAUTH_SSLCHECK_NONE ] { 0 } - Constant [ int OAUTH_SSLCHECK_HOST ] { 1 } - Constant [ int OAUTH_SSLCHECK_PEER ] { 2 } - Constant [ int OAUTH_SSLCHECK_BOTH ] { 3 } - Constant [ int OAUTH_OK ] { 0 } - Constant [ int OAUTH_BAD_NONCE ] { 4 } - Constant [ int OAUTH_BAD_TIMESTAMP ] { 8 } - Constant [ int OAUTH_CONSUMER_KEY_UNKNOWN ] { 16 } - Constant [ int OAUTH_CONSUMER_KEY_REFUSED ] { 32 } - Constant [ int OAUTH_INVALID_SIGNATURE ] { 64 } - Constant [ int OAUTH_TOKEN_USED ] { 128 } - Constant [ int OAUTH_TOKEN_EXPIRED ] { 256 } - Constant [ int OAUTH_TOKEN_REVOKED ] { 512 } - Constant [ int OAUTH_TOKEN_REJECTED ] { 1024 } - Constant [ int OAUTH_VERIFIER_INVALID ] { 2048 } - Constant [ int OAUTH_PARAMETER_ABSENT ] { 4096 } - Constant [ int OAUTH_SIGNATURE_METHOD_REJECTED ] { 8192 } + Constant [ <persistent> string OAUTH_SIG_METHOD_HMACSHA1 ] { HMAC-SHA1 } + Constant [ <persistent> string OAUTH_SIG_METHOD_HMACSHA256 ] { HMAC-SHA256 } + Constant [ <persistent> string OAUTH_SIG_METHOD_RSASHA1 ] { RSA-SHA1 } + Constant [ <persistent> string OAUTH_SIG_METHOD_PLAINTEXT ] { PLAINTEXT } + Constant [ <persistent> int OAUTH_AUTH_TYPE_AUTHORIZATION ] { 3 } + Constant [ <persistent> int OAUTH_AUTH_TYPE_URI ] { 1 } + Constant [ <persistent> int OAUTH_AUTH_TYPE_FORM ] { 2 } + Constant [ <persistent> int OAUTH_AUTH_TYPE_NONE ] { 4 } + Constant [ <persistent> string OAUTH_HTTP_METHOD_GET ] { GET } + Constant [ <persistent> string OAUTH_HTTP_METHOD_POST ] { POST } + Constant [ <persistent> string OAUTH_HTTP_METHOD_PUT ] { PUT } + Constant [ <persistent> string OAUTH_HTTP_METHOD_HEAD ] { HEAD } + Constant [ <persistent> string OAUTH_HTTP_METHOD_DELETE ] { DELETE } + Constant [ <persistent> int OAUTH_REQENGINE_STREAMS ] { 1 } + Constant [ <persistent> int OAUTH_REQENGINE_CURL ] { 2 } + Constant [ <persistent> int OAUTH_SSLCHECK_NONE ] { 0 } + Constant [ <persistent> int OAUTH_SSLCHECK_HOST ] { 1 } + Constant [ <persistent> int OAUTH_SSLCHECK_PEER ] { 2 } + Constant [ <persistent> int OAUTH_SSLCHECK_BOTH ] { 3 } + Constant [ <persistent> int OAUTH_OK ] { 0 } + Constant [ <persistent> int OAUTH_BAD_NONCE ] { 4 } + Constant [ <persistent> int OAUTH_BAD_TIMESTAMP ] { 8 } + Constant [ <persistent> int OAUTH_CONSUMER_KEY_UNKNOWN ] { 16 } + Constant [ <persistent> int OAUTH_CONSUMER_KEY_REFUSED ] { 32 } + Constant [ <persistent> int OAUTH_INVALID_SIGNATURE ] { 64 } + Constant [ <persistent> int OAUTH_TOKEN_USED ] { 128 } + Constant [ <persistent> int OAUTH_TOKEN_EXPIRED ] { 256 } + Constant [ <persistent> int OAUTH_TOKEN_REVOKED ] { 512 } + Constant [ <persistent> int OAUTH_TOKEN_REJECTED ] { 1024 } + Constant [ <persistent> int OAUTH_VERIFIER_INVALID ] { 2048 } + Constant [ <persistent> int OAUTH_PARAMETER_ABSENT ] { 4096 } + Constant [ <persistent> int OAUTH_SIGNATURE_METHOD_REJECTED ] { 8192 } } - Functions { @@ -47,7 +47,7 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { - Parameters [3] { Parameter #0 [ <required> $http_method ] Parameter #1 [ <required> $uri ] - Parameter #2 [ <required> $parameters ] + Parameter #2 [ <optional> $parameters = <default> ] } } } @@ -65,9 +65,9 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { } - Properties [3] { - Property [ <default> public $debug ] - Property [ <default> public $sslChecks ] - Property [ <default> public $debugInfo ] + Property [ public $debug = 0 ] + Property [ public $sslChecks = 1 ] + Property [ public $debugInfo = '' ] } - Methods [26] { @@ -76,8 +76,8 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { - Parameters [4] { Parameter #0 [ <required> $consumer_key ] Parameter #1 [ <required> $consumer_secret ] - Parameter #2 [ <optional> $signature_method ] - Parameter #3 [ <optional> $auth_type ] + Parameter #2 [ <optional> $signature_method = <default> ] + Parameter #3 [ <optional> $auth_type = <default> ] } } @@ -90,18 +90,20 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { Method [ <internal:OAuth> public method getRequestToken ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ <required> $request_token_url ] - Parameter #1 [ <optional> $callback_url ] + Parameter #1 [ <optional> $callback_url = <default> ] + Parameter #2 [ <optional> $http_method = <default> ] } } Method [ <internal:OAuth> public method getAccessToken ] { - - Parameters [3] { + - Parameters [4] { Parameter #0 [ <required> $access_token_url ] - Parameter #1 [ <optional> $auth_session_handle ] - Parameter #2 [ <optional> $auth_verifier ] + Parameter #1 [ <optional> $auth_session_handle = <default> ] + Parameter #2 [ <optional> $auth_verifier = <default> ] + Parameter #3 [ <optional> $http_method = <default> ] } } @@ -170,9 +172,9 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { - Parameters [4] { Parameter #0 [ <required> $protected_resource_url ] - Parameter #1 [ <optional> $extra_parameters ] - Parameter #2 [ <optional> $http_method ] - Parameter #3 [ <optional> $request_headers ] + Parameter #1 [ <optional> $extra_parameters = <default> ] + Parameter #2 [ <optional> $http_method = <default> ] + Parameter #3 [ <optional> $request_headers = <default> ] } } @@ -231,7 +233,7 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { - Parameters [3] { Parameter #0 [ <required> $http_method ] Parameter #1 [ <required> $url ] - Parameter #2 [ <optional> $extra_parameters ] + Parameter #2 [ <optional> $extra_parameters = <default> ] } } @@ -254,13 +256,13 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { - Parameters [3] { Parameter #0 [ <required> $http_method ] Parameter #1 [ <required> $url ] - Parameter #2 [ <optional> $extra_parameters ] + Parameter #2 [ <optional> $extra_parameters = <default> ] } } } } - Class [ <internal:OAuth> class OAuthException extends Exception implements Throwable ] { + Class [ <internal:OAuth> class OAuthException extends Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -272,49 +274,84 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { } - Properties [6] { - Property [ <default> protected $message ] - Property [ <default> protected $code ] - Property [ <default> protected $file ] - Property [ <default> protected $line ] - Property [ <default> public $lastResponse ] - Property [ <default> public $debugInfo ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected string $file = '' ] + Property [ protected int $line = 0 ] + Property [ public $lastResponse = NULL ] + Property [ public $debugInfo = NULL ] } - Methods [10] { Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { - Parameters [3] { - Parameter #0 [ <optional> $message ] - Parameter #1 [ <optional> $code ] - Parameter #2 [ <optional> $previous ] + Parameter #0 [ <optional> string $message = "" ] + Parameter #1 [ <optional> int $code = 0 ] + Parameter #2 [ <optional> ?Throwable $previous = null ] } } Method [ <internal:Core, inherits Exception> public method __wakeup ] { + + - Parameters [0] { + } + - Tentative return [ void ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + + - Parameters [0] { + } } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } @@ -339,7 +376,7 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { - Parameters [2] { Parameter #0 [ <required> $size ] - Parameter #1 [ <optional> $strong ] + Parameter #1 [ <optional> $strong = <default> ] } } } @@ -351,7 +388,7 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { Method [ <internal:OAuth, ctor> public method __construct ] { - Parameters [1] { - Parameter #0 [ <optional> $params_array ] + Parameter #0 [ <optional> $params_array = <default> ] } } @@ -397,8 +434,8 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { Method [ <internal:OAuth> public method checkOAuthRequest ] { - Parameters [2] { - Parameter #0 [ <optional> $uri ] - Parameter #1 [ <optional> $method ] + Parameter #0 [ <optional> $uri = <default> ] + Parameter #1 [ <optional> $method = <default> ] } } @@ -427,7 +464,7 @@ Extension [ <persistent> extension #117 OAuth version 2.0.7 ] { - Parameters [2] { Parameter #0 [ <required> $param_key ] - Parameter #1 [ <optional> $param_val ] + Parameter #1 [ <optional> $param_val = <default> ] } } |
