OAuth1ProviderUnitTestAbstract
        
        extends OAuthProviderUnitTestAbstract
    
    
            
            in package
            
        
    
    
    
AbstractYes
Table of Contents
Constants
- CACERT = __DIR__ . '/../cacert.pem'
 - PROJECT_ROOT = __DIR__ . '/../../'
 
Properties
- $provider : OAuth1Interface
 - $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>
 - testGetRequestAuthorization() : void
 - testGetRequestBodyInvalidContentTypeException() : void
 - testGetRequestBodyWithArray() : void
 - testGetRequestBodyWithStreaminterface() : void
 - testGetRequestBodyWithString() : void
 - testGetRequestTarget() : void
 - testGetRequestTargetProviderMismatchException() : void
 - testGetRequestTokenRequestParams() : void
 - testGetSignature() : void
 - testGetSignatureInvalidURLException() : void
 - testMagicGet() : void
 - testOAuth1Instance() : void
 - testOAuthInstance() : void
 - testParseTemporaryCredentialsTokenResponse() : void
 - testParseTokenResponse() : void
 - testParseTokenResponseConfirmCallbackException() : void
 - testParseTokenResponseErrorException() : void
 - testParseTokenResponseNoDataException() : void
 - testParseTokenResponseNoTokenException() : void
 - testProviderInstance() : void
 - testSendAccessTokenRequest() : void
 - testSendRequestTokenRequest() : void
 - testTokenInvalidate() : void
 - getProviderFQCN() : string
 - returns the fully qualified class name (FQCN) of the test subject
 - getReflectionProperty() : mixed
 - initOptions() : OAuthOptions
 - initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
 - initStorage() : OAuthStorageInterface
 - invokeReflection() : object
 - invokeReflectionMethod() : mixed
 - setReflectionProperty() : void
 - setUp() : void
 
Constants
CACERT
    protected
        mixed
    CACERT
    = __DIR__ . '/../cacert.pem'
    
    
    
PROJECT_ROOT
    protected
        mixed
    PROJECT_ROOT
    = __DIR__ . '/../../'
    
    
    
Properties
$provider
    public
        OAuth1Interface
    $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
    
    
    
    
Methods
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>testGetRequestAuthorization()
    public
                    testGetRequestAuthorization() : void
    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
    testGetRequestTokenRequestParams()
    public
                    testGetRequestTokenRequestParams() : void
    testGetSignature()
    public
                    testGetSignature() : void
    testGetSignatureInvalidURLException()
    public
                    testGetSignatureInvalidURLException() : void
    testMagicGet()
    public
                    testMagicGet() : void
    testOAuth1Instance()
    public
                    testOAuth1Instance() : void
    testOAuthInstance()
    public
                    testOAuthInstance() : void
    testParseTemporaryCredentialsTokenResponse()
    public
                    testParseTemporaryCredentialsTokenResponse() : void
    testParseTokenResponse()
    public
                    testParseTokenResponse() : void
    testParseTokenResponseConfirmCallbackException()
    public
                    testParseTokenResponseConfirmCallbackException() : void
    testParseTokenResponseErrorException()
    public
                    testParseTokenResponseErrorException() : void
    testParseTokenResponseNoDataException()
    public
                    testParseTokenResponseNoDataException() : void
    testParseTokenResponseNoTokenException()
    public
                    testParseTokenResponseNoTokenException() : void
    testProviderInstance()
    public
                    testProviderInstance() : void
    testSendAccessTokenRequest()
    public
                    testSendAccessTokenRequest() : void
    testSendRequestTokenRequest()
    public
                    testSendRequestTokenRequest() : void
    testTokenInvalidate()
    public
                    testTokenInvalidate() : void
    getProviderFQCN()
returns the fully qualified class name (FQCN) of the test subject
    protected
    abstract                getProviderFQCN() : string
    Return values
stringgetReflectionProperty()
    protected
        final            getReflectionProperty(string $property) : mixed
    Parameters
- $property : string
 
initOptions()
    protected
                    initOptions() : OAuthOptions
    Return values
OAuthOptionsinitProvider()
    protected
                    initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
    Parameters
- $FQCN : string
 
Return values
OAuthInterface|OAuth1Interface|OAuth2InterfaceinitStorage()
    protected
                    initStorage(OAuthOptions $options) : OAuthStorageInterface
    Parameters
- $options : OAuthOptions
 
Return values
OAuthStorageInterfaceinvokeReflection()
    protected
        final            invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    Parameters
- $FQCN : string
 - $args : array<string|int, mixed> = []
 
Return values
objectinvokeReflectionMethod()
    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