Table of Contents
Constants
-
CACERT
= __DIR__ . '/../cacert.pem'
-
PROJECT_ROOT
= __DIR__ . '/../../'
Properties
-
$provider
: LastFM
-
$provider
: OAuthInterface
-
$ENV_IS_CI
: bool
-
$HTTP_CLIENT_FACTORY
: string
-
$logger
: LoggerInterface
-
$options
: OAuthOptions
-
$provider
: OAuthInterface
-
$reflection
: ReflectionClass
-
$storage
: OAuthStorageInterface
Methods
-
arrayBodyProvider()
: array<string|int, mixed>
-
requestTargetProvider()
: array<string|int, mixed>
-
testGetRequestBodyInvalidContentTypeException()
: void
-
testGetRequestBodyWithArray()
: void
-
testGetRequestBodyWithStreaminterface()
: void
-
testGetRequestBodyWithString()
: void
-
testGetRequestTarget()
: void
-
testGetRequestTargetProviderMismatchException()
: void
-
testMagicGet()
: void
-
testOAuthInstance()
: void
-
testProviderInstance()
: void
-
testTokenInvalidate()
: void
-
getProviderFQCN()
: string
-
getReflectionProperty()
: mixed
-
initOptions()
: OAuthOptions
-
initProvider()
: OAuthInterface|OAuth1Interface|OAuth2Interface
-
initStorage()
: OAuthStorageInterface
-
invokeReflection()
: object
-
invokeReflectionMethod()
: mixed
-
setReflectionProperty()
: void
-
setUp()
: void
CACERT
protected
mixed
CACERT
= __DIR__ . '/../cacert.pem'
PROJECT_ROOT
protected
mixed
PROJECT_ROOT
= __DIR__ . '/../../'
$provider
public
LastFM
$provider
$provider
public
OAuthInterface
$provider
$ENV_IS_CI
protected
bool
$ENV_IS_CI
$HTTP_CLIENT_FACTORY
protected
string
$HTTP_CLIENT_FACTORY
= \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class
$logger
protected
LoggerInterface
$logger
$options
protected
OAuthOptions
$options
$provider
protected
OAuthInterface
$provider
$reflection
protected
ReflectionClass
$reflection
$storage
protected
OAuthStorageInterface
$storage
arrayBodyProvider()
public
static arrayBodyProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
requestTargetProvider()
public
static requestTargetProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
testGetRequestBodyInvalidContentTypeException()
public
testGetRequestBodyInvalidContentTypeException() : void
testGetRequestBodyWithArray()
public
testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void
Parameters
-
$body
: array<string|int, mixed>
-
-
$contentType
: string
-
-
$expected
: string
-
testGetRequestBodyWithStreaminterface()
public
testGetRequestBodyWithStreaminterface() : void
testGetRequestBodyWithString()
public
testGetRequestBodyWithString() : void
testGetRequestTarget()
public
testGetRequestTarget(string $path, string $expected) : void
Parameters
-
$path
: string
-
-
$expected
: string
-
testGetRequestTargetProviderMismatchException()
public
testGetRequestTargetProviderMismatchException() : void
testMagicGet()
public
testMagicGet() : void
testOAuthInstance()
public
testOAuthInstance() : void
testProviderInstance()
public
testProviderInstance() : void
testTokenInvalidate()
public
testTokenInvalidate() : void
getProviderFQCN()
protected
getProviderFQCN() : string
getReflectionProperty()
protected
final getReflectionProperty(string $property) : mixed
Parameters
-
$property
: string
-
initOptions()
protected
initOptions() : OAuthOptions
initProvider()
protected
initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
Parameters
-
$FQCN
: string
-
initStorage()
protected
initStorage(OAuthOptions $options) : OAuthStorageInterface
Parameters
-
$options
: OAuthOptions
-
invokeReflection()
protected
final invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
Parameters
-
$FQCN
: string
-
-
$args
: array<string|int, mixed>
= []
-
invokeReflectionMethod()
protected
final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
-
$method
: string
-
-
$args
: array<string|int, mixed>
= []
-
setReflectionProperty()
protected
final setReflectionProperty(string $property, mixed $value) : void
Parameters
-
$property
: string
-
-
$value
: mixed
-
setUp()
protected
setUp() : void