diff --git a/namespaces/chillerlan-oauthtest-helpers.html b/classes/chillerlan-OAuth-Core-InvalidAccessTokenException.html similarity index 79% rename from namespaces/chillerlan-oauthtest-helpers.html rename to classes/chillerlan-OAuth-Core-InvalidAccessTokenException.html index 304bda63..bf733f9e 100644 --- a/namespaces/chillerlan-oauthtest-helpers.html +++ b/classes/chillerlan-OAuth-Core-InvalidAccessTokenException.html @@ -111,37 +111,58 @@

Fil
-
-

Helpers

+
+

+ InvalidAccessTokenException + + + extends UnauthorizedAccessException + + +
+ in package + +
+ + +

+ +
+ + +
+ + + + + + +

Table of Contents - +

-

- Classes - -

-
-
ChillerlanHttpClientFactory
GuzzleHttpClientFactory
OAuthTestHttpClient
OAuthTestMemoryStorage
Extends the standard memory storage so that it also saves tokens as JSON in the given path
ProviderTestHttpClient
a dummy client that returns a prepared set of responses
-

- Traits - -

-
-
HTTPFactoryTrait
Trait HTTPFactoryTrait
@@ -152,11 +173,13 @@

+ +
-

+            

         
@@ -247,7 +270,7 @@

- +
On this page @@ -255,11 +278,9 @@

  • Table Of Contents
  • +
  • - +

    @@ -278,7 +299,7 @@

    Search results

    - + diff --git a/classes/chillerlan-OAuth-Core-OAuth1Interface.html b/classes/chillerlan-OAuth-Core-OAuth1Interface.html index 441ab71d..2d8c5330 100644 --- a/classes/chillerlan-OAuth-Core-OAuth1Interface.html +++ b/classes/chillerlan-OAuth-Core-OAuth1Interface.html @@ -374,7 +374,7 @@

    @@ -382,15 +382,17 @@

    public - getAccessToken(string $token, string $verifier) : AccessToken + getAccessToken(string $requestToken, string $verifier) : AccessToken
    - +

    The $token (request token) supplied via $_GET['oauth_token'] should be in the storage at this point.

    +
    +

    Parameters
    - $token + $requestToken : string
    diff --git a/classes/chillerlan-OAuth-Core-OAuth1Provider.html b/classes/chillerlan-OAuth-Core-OAuth1Provider.html index fb6141f7..d11c69f0 100644 --- a/classes/chillerlan-OAuth-Core-OAuth1Provider.html +++ b/classes/chillerlan-OAuth-Core-OAuth1Provider.html @@ -185,7 +185,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -367,7 +367,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -514,6 +514,20 @@

    Parses the response from a request to the token endpoint
    +
    + sendAccessTokenRequest() + +  : ResponseInterface +
    +
    Sends the access token request
    + +
    + sendRequestTokenRequest() + +  : ResponseInterface +
    +
    Sends a request to the request token endpoint with the given params
    +

    @@ -527,16 +541,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -544,7 +558,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -580,7 +594,7 @@

    @@ -614,7 +628,7 @@

    @@ -648,7 +662,7 @@

    @@ -682,7 +696,7 @@

    @@ -716,7 +730,7 @@

    @@ -750,7 +764,7 @@

    @@ -783,7 +797,7 @@

    @@ -816,7 +830,7 @@

    @@ -849,7 +863,7 @@

    @@ -916,7 +930,7 @@

    @@ -965,7 +979,7 @@

    @@ -999,7 +1013,7 @@

    @@ -1032,7 +1046,7 @@

    @@ -1065,7 +1079,7 @@

    @@ -1098,7 +1112,7 @@

    @@ -1137,7 +1151,7 @@

    @@ -1221,7 +1235,7 @@

    @@ -1267,7 +1281,7 @@

    @@ -1275,7 +1289,7 @@

    public - getAccessToken(string $token, string $verifier) : AccessToken + getAccessToken(string $requestToken, string $verifier) : AccessToken
    @@ -1283,7 +1297,7 @@

    Parameters
    - $token + $requestToken : string
    @@ -1311,6 +1325,14 @@
    +
    +
    + throws +
    +
    + ProviderException + +
    @@ -1334,7 +1356,7 @@

    @@ -1450,7 +1472,7 @@

    @@ -1566,7 +1588,7 @@

    @@ -1615,22 +1637,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1649,7 +1671,7 @@
    Parameters
    Tags - +
    @@ -1699,7 +1721,7 @@

    @@ -1756,7 +1778,7 @@

    @@ -1829,6 +1851,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1852,7 +1882,7 @@

    @@ -1888,6 +1918,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -1911,7 +1949,7 @@

    @@ -1978,7 +2016,7 @@

    @@ -2045,7 +2083,7 @@

    @@ -2112,7 +2150,7 @@

    @@ -2179,7 +2217,7 @@

    @@ -2246,7 +2284,7 @@

    @@ -2313,7 +2351,7 @@

    @@ -2359,7 +2397,7 @@

    @@ -2405,7 +2443,7 @@

    @@ -2438,7 +2476,7 @@

    @@ -2453,6 +2491,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2474,7 +2526,7 @@

    @@ -2542,7 +2594,7 @@

    @@ -2588,7 +2640,7 @@

    @@ -2660,7 +2712,7 @@

    @@ -2713,7 +2765,7 @@

    @@ -2803,7 +2855,7 @@

    @@ -2854,7 +2906,7 @@

    @@ -2923,6 +2975,105 @@

    Return values
    AccessToken
    + +
    +

    + sendAccessTokenRequest() + + +

    + + +

    Sends the access token request

    + + + protected + sendAccessTokenRequest(AccessToken $token, string $verifier) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $token + : AccessToken +
    +
    + +
    +
    + $verifier + : string +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    + +
    +
    +

    + sendRequestTokenRequest() + + +

    + + +

    Sends a request to the request token endpoint with the given params

    + + + protected + sendRequestTokenRequest(array<string|int, mixed> $requestTokenRequestParams) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $requestTokenRequestParams + : array<string|int, mixed> +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    +
    @@ -3037,7 +3188,7 @@
    Return values
  • Constants
  • @@ -3074,7 +3225,7 @@
    Return values
  • getRequestAuthorization()
  • getRequestToken()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • @@ -3095,6 +3246,8 @@
    Return values
  • getSignature()
  • nonce()
  • parseTokenResponse()
  • +
  • sendAccessTokenRequest()
  • +
  • sendRequestTokenRequest()
  • diff --git a/classes/chillerlan-OAuth-Core-OAuth2Provider.html b/classes/chillerlan-OAuth-Core-OAuth2Provider.html index d3e70dc7..a44bfea7 100644 --- a/classes/chillerlan-OAuth-Core-OAuth2Provider.html +++ b/classes/chillerlan-OAuth-Core-OAuth2Provider.html @@ -200,7 +200,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -391,7 +391,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -543,16 +543,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -560,7 +560,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -596,7 +596,7 @@

    @@ -630,7 +630,7 @@

    @@ -664,7 +664,7 @@

    @@ -698,7 +698,7 @@

    @@ -732,7 +732,7 @@

    @@ -802,7 +802,7 @@

    @@ -835,7 +835,7 @@

    @@ -868,7 +868,7 @@

    @@ -952,7 +952,7 @@

    @@ -985,7 +985,7 @@

    @@ -1034,7 +1034,7 @@

    @@ -1068,7 +1068,7 @@

    @@ -1101,7 +1101,7 @@

    @@ -1134,7 +1134,7 @@

    @@ -1167,7 +1167,7 @@

    @@ -1206,7 +1206,7 @@

    @@ -1290,7 +1290,7 @@

    @@ -1404,7 +1404,7 @@

    @@ -1664,7 +1664,7 @@

    @@ -1713,22 +1713,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1747,7 +1747,7 @@
    Parameters
    Tags - +
    @@ -1797,7 +1797,7 @@

    @@ -1923,7 +1923,7 @@

    @@ -1996,6 +1996,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2019,7 +2027,7 @@

    @@ -2055,6 +2063,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2078,7 +2094,7 @@

    @@ -2145,7 +2161,7 @@

    @@ -2212,7 +2228,7 @@

    @@ -2279,7 +2295,7 @@

    @@ -2346,7 +2362,7 @@

    @@ -2413,7 +2429,7 @@

    @@ -2480,7 +2496,7 @@

    @@ -2526,7 +2542,7 @@

    @@ -2572,7 +2588,7 @@

    @@ -2605,7 +2621,7 @@

    @@ -2620,6 +2636,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2641,7 +2671,7 @@

    @@ -2709,7 +2739,7 @@

    @@ -2755,7 +2785,7 @@

    @@ -2827,7 +2857,7 @@

    @@ -3056,7 +3086,7 @@

    Return values
  • Constants
  • @@ -3094,7 +3124,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Core-OAuthProvider.html b/classes/chillerlan-OAuth-Core-OAuthProvider.html index 64a87103..f6257a5d 100644 --- a/classes/chillerlan-OAuth-Core-OAuthProvider.html +++ b/classes/chillerlan-OAuth-Core-OAuthProvider.html @@ -143,7 +143,7 @@

    @@ -182,7 +182,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -331,7 +331,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -470,16 +470,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -487,7 +487,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -523,7 +523,7 @@

    @@ -557,7 +557,7 @@

    @@ -591,7 +591,7 @@

    @@ -625,7 +625,7 @@

    @@ -659,7 +659,7 @@

    @@ -693,7 +693,7 @@

    @@ -726,7 +726,7 @@

    @@ -759,7 +759,7 @@

    @@ -792,7 +792,7 @@

    @@ -825,7 +825,7 @@

    @@ -874,7 +874,7 @@

    @@ -908,7 +908,7 @@

    @@ -941,7 +941,7 @@

    @@ -974,7 +974,7 @@

    @@ -1007,7 +1007,7 @@

    @@ -1046,7 +1046,7 @@

    @@ -1130,7 +1130,7 @@

    @@ -1176,7 +1176,7 @@

    @@ -1233,7 +1233,7 @@

    @@ -1282,22 +1282,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1316,7 +1316,7 @@
    Parameters
    Tags - +
    @@ -1366,7 +1366,7 @@

    @@ -1423,7 +1423,7 @@

    @@ -1496,6 +1496,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1519,7 +1527,7 @@

    @@ -1555,6 +1563,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -1578,7 +1594,7 @@

    @@ -1645,7 +1661,7 @@

    @@ -1712,7 +1728,7 @@

    @@ -1779,7 +1795,7 @@

    @@ -1846,7 +1862,7 @@

    @@ -1913,7 +1929,7 @@

    @@ -1980,7 +1996,7 @@

    @@ -2026,7 +2042,7 @@

    @@ -2072,7 +2088,7 @@

    @@ -2105,7 +2121,7 @@

    @@ -2120,6 +2136,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2141,7 +2171,7 @@

    @@ -2209,7 +2239,7 @@

    @@ -2255,7 +2285,7 @@

    @@ -2327,7 +2357,7 @@

    @@ -2479,7 +2509,7 @@

    Return values
  • Constants
  • @@ -2511,7 +2541,7 @@
    Return values
  • __get()
  • getAccessTokenFromStorage()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • diff --git a/classes/chillerlan-OAuth-Core-TokenInvalidate.html b/classes/chillerlan-OAuth-Core-TokenInvalidate.html index bee0e90d..b686b2cf 100644 --- a/classes/chillerlan-OAuth-Core-TokenInvalidate.html +++ b/classes/chillerlan-OAuth-Core-TokenInvalidate.html @@ -162,7 +162,7 @@

    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -187,9 +187,9 @@

    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    - -
    - copyright -
    -
    - -

    2018 Smiley

    -
    + -
    -
    - license -
    -
    - -

    MIT

    -
    -
    -

    Table of Contents - +

    -

    - Classes - -

    -
    -
    OAuth1Test
    @@ -190,6 +170,7 @@

    + @@ -198,7 +179,7 @@

    -
    
    +            
    
             
    @@ -289,7 +270,7 @@

    - +
    On this page @@ -297,10 +278,9 @@

  • Table Of Contents
  • +
  • - +

    @@ -319,7 +299,7 @@

    Search results

    - + diff --git a/classes/chillerlan-OAuth-Providers-Amazon.html b/classes/chillerlan-OAuth-Providers-Amazon.html index e091de0b..3f5802a4 100644 --- a/classes/chillerlan-OAuth-Providers-Amazon.html +++ b/classes/chillerlan-OAuth-Providers-Amazon.html @@ -228,7 +228,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -415,7 +415,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -678,16 +678,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -695,7 +695,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -764,7 +764,7 @@

    @@ -840,7 +840,7 @@

    protected string|null $applicationURL - = 'https://sellercentral.amazon.com/hz/home' + = 'https://developer.amazon.com/loginwithamazon/console/site/lwa/overview.html' @@ -933,7 +933,7 @@

    @@ -966,7 +966,7 @@

    @@ -999,7 +999,7 @@

    @@ -1083,7 +1083,7 @@

    @@ -1116,7 +1116,7 @@

    @@ -1165,7 +1165,7 @@

    @@ -1199,7 +1199,7 @@

    @@ -1232,7 +1232,7 @@

    @@ -1265,7 +1265,7 @@

    @@ -1298,7 +1298,7 @@

    @@ -1337,7 +1337,7 @@

    @@ -1421,7 +1421,7 @@

    @@ -1535,7 +1535,7 @@

    @@ -1795,7 +1795,7 @@

    @@ -1844,22 +1844,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1878,7 +1878,7 @@
    Parameters
    Tags - +
    @@ -2046,7 +2046,7 @@

    @@ -2119,6 +2119,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2142,7 +2150,7 @@

    @@ -2178,6 +2186,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2201,7 +2217,7 @@

    @@ -2268,7 +2284,7 @@

    @@ -2335,7 +2351,7 @@

    @@ -2402,7 +2418,7 @@

    @@ -2469,7 +2485,7 @@

    @@ -2536,7 +2552,7 @@

    @@ -2603,7 +2619,7 @@

    @@ -2649,7 +2665,7 @@

    @@ -2695,7 +2711,7 @@

    @@ -2728,7 +2744,7 @@

    @@ -2743,6 +2759,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2764,7 +2794,7 @@

    @@ -2832,7 +2862,7 @@

    @@ -2878,7 +2908,7 @@

    @@ -2950,7 +2980,7 @@

    @@ -3183,7 +3213,7 @@

    Return values
  • SCOPE_POSTAL_CODE
  • SCOPE_PROFILE
  • SCOPE_PROFILE_USER_ID
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3221,7 +3251,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html b/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html index 33dc2076..96a2a7f3 100644 --- a/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html +++ b/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html @@ -238,7 +238,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -425,7 +425,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -689,16 +689,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -706,7 +706,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -775,7 +775,7 @@

    @@ -809,7 +809,7 @@

    @@ -945,7 +945,7 @@

    @@ -978,7 +978,7 @@

    @@ -1011,7 +1011,7 @@

    @@ -1095,7 +1095,7 @@

    @@ -1128,7 +1128,7 @@

    @@ -1177,7 +1177,7 @@

    @@ -1211,7 +1211,7 @@

    @@ -1244,7 +1244,7 @@

    @@ -1277,7 +1277,7 @@

    @@ -1348,7 +1348,7 @@

    @@ -1432,7 +1432,7 @@

    @@ -1546,7 +1546,7 @@

    @@ -1806,7 +1806,7 @@

    @@ -1855,22 +1855,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1889,7 +1889,7 @@
    Parameters
    Tags - +
    @@ -1939,7 +1939,7 @@

    @@ -2065,7 +2065,7 @@

    @@ -2138,6 +2138,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2161,7 +2169,7 @@

    @@ -2197,6 +2205,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2220,7 +2236,7 @@

    @@ -2287,7 +2303,7 @@

    @@ -2354,7 +2370,7 @@

    @@ -2421,7 +2437,7 @@

    @@ -2488,7 +2504,7 @@

    @@ -2555,7 +2571,7 @@

    @@ -2622,7 +2638,7 @@

    @@ -2668,7 +2684,7 @@

    @@ -2714,7 +2730,7 @@

    @@ -2747,7 +2763,7 @@

    @@ -2762,6 +2778,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2783,7 +2813,7 @@

    @@ -2851,7 +2881,7 @@

    @@ -2897,7 +2927,7 @@

    @@ -2969,7 +2999,7 @@

    @@ -3202,7 +3232,7 @@

    Return values
  • SCOPE_OPENID
  • SCOPE_OPENID_EMAIL
  • SCOPE_OPENID_PROFILE
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3240,7 +3270,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-BattleNet.html b/classes/chillerlan-OAuth-Providers-BattleNet.html index 02570bc8..71e325c3 100644 --- a/classes/chillerlan-OAuth-Providers-BattleNet.html +++ b/classes/chillerlan-OAuth-Providers-BattleNet.html @@ -144,7 +144,7 @@

    @@ -226,7 +226,13 @@

    - ALLOWED_PROPERTIES + KNOWN_DOMAINS + +  = ['oauth.battle.net', 'eu.api.blizzard.com', 'kr.api.blizzard.com', 'tw.api.blizzard.com', 'us.api.blizzard.com', 'gateway.battlenet.com.cn', 'oauth.battlenet.com.cn'] +
    + +
    + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -423,7 +429,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -547,12 +553,10 @@

    Prepare request headers
    - getRequestTarget() + getRequestTarget()  : string
    -
    Determine the request target from the given URI (path segment or URL) with respect to $apiURL, -anything except host and path will be ignored, scheme will always be set to "https".
    getRequestURL() @@ -590,7 +594,7 @@

    @@ -618,7 +622,7 @@

    @@ -646,7 +650,7 @@

    @@ -674,7 +678,7 @@

    @@ -702,7 +706,7 @@

    @@ -721,16 +725,44 @@

    -

    - ALLOWED_PROPERTIES - +

    + KNOWN_DOMAINS + + +

    + + + + + + protected + mixed + KNOWN_DOMAINS + = ['oauth.battle.net', 'eu.api.blizzard.com', 'kr.api.blizzard.com', 'tw.api.blizzard.com', 'us.api.blizzard.com', 'gateway.battlenet.com.cn', 'oauth.battlenet.com.cn'] + + + + + + + +
    +
    +

    + MAGIC_PROPERTIES +

    @@ -738,7 +770,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -774,7 +806,7 @@

    @@ -807,7 +839,7 @@

    @@ -840,7 +872,7 @@

    @@ -873,7 +905,7 @@

    @@ -906,7 +938,7 @@

    @@ -939,7 +971,7 @@

    @@ -1008,7 +1040,7 @@

    @@ -1041,7 +1073,7 @@

    @@ -1074,7 +1106,7 @@

    @@ -1158,7 +1190,7 @@

    @@ -1191,7 +1223,7 @@

    @@ -1224,7 +1256,7 @@

    @@ -1273,7 +1305,7 @@

    @@ -1307,7 +1339,7 @@

    @@ -1340,7 +1372,7 @@

    @@ -1373,7 +1405,7 @@

    @@ -1406,7 +1438,7 @@

    @@ -1444,7 +1476,7 @@

    @@ -1528,7 +1560,7 @@

    @@ -1642,7 +1674,7 @@

    @@ -1902,7 +1934,7 @@

    @@ -1951,22 +1983,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1985,7 +2017,7 @@
    Parameters
    Tags - +
    @@ -2035,7 +2067,7 @@

    @@ -2153,7 +2185,7 @@

    @@ -2226,6 +2258,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2249,7 +2289,7 @@

    @@ -2285,6 +2325,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2308,7 +2356,7 @@

    @@ -2375,7 +2423,7 @@

    @@ -2436,7 +2484,7 @@

    @@ -2503,7 +2551,7 @@

    @@ -2570,7 +2618,7 @@

    @@ -2637,7 +2685,7 @@

    @@ -2704,7 +2752,7 @@

    @@ -2771,7 +2819,7 @@

    @@ -2817,7 +2865,7 @@

    @@ -2863,7 +2911,7 @@

    @@ -2896,7 +2944,7 @@

    @@ -2911,6 +2959,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2932,7 +2994,7 @@

    @@ -3000,7 +3062,7 @@

    @@ -3040,28 +3102,24 @@

    Return values
    >

    getRequestTarget() - +

    -

    Determine the request target from the given URI (path segment or URL) with respect to $apiURL, -anything except host and path will be ignored, scheme will always be set to "https".

    - + protected getRequestTarget(string $uri) : string
    -

    Throws if the given path is invalid or if the host of a given URL does not match $apiURL.

    -
    - +
    Parameters
    @@ -3076,24 +3134,15 @@
    Parameters
    Tags - +
    - see -
    -
    - OAuthInterface::request() - - -
    -
    - throws + inheritDoc
    - ProviderException - +
    @@ -3118,7 +3167,7 @@

    @@ -3352,7 +3401,8 @@

    Return values
  • SCOPE_PROFILE_D3
  • SCOPE_PROFILE_SC2
  • SCOPE_PROFILE_WOW
  • -
  • ALLOWED_PROPERTIES
  • +
  • KNOWN_DOMAINS
  • +
  • MAGIC_PROPERTIES
  • @@ -3392,7 +3442,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • @@ -3410,7 +3460,7 @@
    Return values
  • createAccessToken()
  • getRequestBody()
  • getRequestHeaders()
  • -
  • getRequestTarget()
  • +
  • getRequestTarget()
  • getRequestURL()
  • parseTokenResponse()
  • diff --git a/classes/chillerlan-OAuth-Providers-BigCartel.html b/classes/chillerlan-OAuth-Providers-BigCartel.html index 52cb89af..adca330e 100644 --- a/classes/chillerlan-OAuth-Providers-BigCartel.html +++ b/classes/chillerlan-OAuth-Providers-BigCartel.html @@ -210,7 +210,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -394,7 +394,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -581,16 +581,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -598,7 +598,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -835,7 +835,7 @@

    @@ -868,7 +868,7 @@

    @@ -901,7 +901,7 @@

    @@ -985,7 +985,7 @@

    @@ -1051,7 +1051,7 @@

    @@ -1085,7 +1085,7 @@

    @@ -1118,7 +1118,7 @@

    @@ -1151,7 +1151,7 @@

    @@ -1222,7 +1222,7 @@

    @@ -1306,7 +1306,7 @@

    @@ -1420,7 +1420,7 @@

    @@ -1680,7 +1680,7 @@

    @@ -1729,9 +1729,9 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -859,7 +859,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1096,7 +1096,7 @@

    @@ -1129,7 +1129,7 @@

    @@ -1162,7 +1162,7 @@

    @@ -1246,7 +1246,7 @@

    @@ -1279,7 +1279,7 @@

    @@ -1328,7 +1328,7 @@

    @@ -1362,7 +1362,7 @@

    @@ -1395,7 +1395,7 @@

    @@ -1428,7 +1428,7 @@

    @@ -1499,7 +1499,7 @@

    @@ -1583,7 +1583,7 @@

    @@ -1697,7 +1697,7 @@

    @@ -1957,7 +1957,7 @@

    @@ -2006,22 +2006,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -2040,7 +2040,7 @@
    Parameters
    Tags - +
    @@ -2209,7 +2209,7 @@

    @@ -2282,6 +2282,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2305,7 +2313,7 @@

    @@ -2341,6 +2349,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2364,7 +2380,7 @@

    @@ -2431,7 +2447,7 @@

    @@ -2498,7 +2514,7 @@

    @@ -2565,7 +2581,7 @@

    @@ -2632,7 +2648,7 @@

    @@ -2699,7 +2715,7 @@

    @@ -2766,7 +2782,7 @@

    @@ -2812,7 +2828,7 @@

    @@ -2858,7 +2874,7 @@

    @@ -2891,7 +2907,7 @@

    @@ -2906,6 +2922,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2927,7 +2957,7 @@

    @@ -2995,7 +3025,7 @@

    @@ -3041,7 +3071,7 @@

    @@ -3113,7 +3143,7 @@

    @@ -3334,7 +3364,7 @@

    Return values
  • SCOPE_MANAGE_COMMUNITY
  • SCOPE_MANAGE_LIBRARY
  • SCOPE_OFFLINE_ACCESS
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3372,7 +3402,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-DeviantArt.html b/classes/chillerlan-OAuth-Providers-DeviantArt.html index d8df9854..0eaf582f 100644 --- a/classes/chillerlan-OAuth-Providers-DeviantArt.html +++ b/classes/chillerlan-OAuth-Providers-DeviantArt.html @@ -274,7 +274,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -458,7 +458,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -974,16 +974,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -991,7 +991,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1228,7 +1228,7 @@

    @@ -1261,7 +1261,7 @@

    @@ -1294,7 +1294,7 @@

    @@ -1378,7 +1378,7 @@

    @@ -1444,7 +1444,7 @@

    @@ -1478,7 +1478,7 @@

    @@ -1511,7 +1511,7 @@

    @@ -1544,7 +1544,7 @@

    @@ -1615,7 +1615,7 @@

    @@ -1699,7 +1699,7 @@

    @@ -1813,7 +1813,7 @@

    @@ -2073,7 +2073,7 @@

    @@ -2122,9 +2122,9 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -580,7 +594,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -781,7 +795,7 @@

    @@ -814,7 +828,7 @@

    @@ -847,7 +861,7 @@

    @@ -880,7 +894,7 @@

    @@ -947,7 +961,7 @@

    @@ -996,7 +1010,7 @@

    @@ -1030,7 +1044,7 @@

    @@ -1063,7 +1077,7 @@

    @@ -1096,7 +1110,7 @@

    @@ -1167,7 +1181,7 @@

    @@ -1251,7 +1265,7 @@

    @@ -1297,7 +1311,7 @@

    @@ -1305,7 +1319,7 @@

    public - getAccessToken(string $token, string $verifier) : AccessToken + getAccessToken(string $requestToken, string $verifier) : AccessToken
    @@ -1313,7 +1327,7 @@

    Parameters
    - $token + $requestToken : string
    @@ -1341,6 +1355,14 @@
    +
    +
    + throws +
    +
    + ProviderException + +
    @@ -1364,7 +1386,7 @@

    @@ -1480,7 +1502,7 @@

    @@ -1596,7 +1618,7 @@

    @@ -1645,22 +1667,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1679,7 +1701,7 @@
    Parameters
    Tags - +
    @@ -1778,7 +1800,7 @@

    @@ -1851,6 +1873,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1874,7 +1904,7 @@

    @@ -1910,6 +1940,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -1933,7 +1971,7 @@

    @@ -2000,7 +2038,7 @@

    @@ -2067,7 +2105,7 @@

    @@ -2134,7 +2172,7 @@

    @@ -2201,7 +2239,7 @@

    @@ -2268,7 +2306,7 @@

    @@ -2335,7 +2373,7 @@

    @@ -2381,7 +2419,7 @@

    @@ -2427,7 +2465,7 @@

    @@ -2460,7 +2498,7 @@

    @@ -2475,6 +2513,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2496,7 +2548,7 @@

    @@ -2564,7 +2616,7 @@

    @@ -2610,7 +2662,7 @@

    @@ -2682,7 +2734,7 @@

    @@ -2735,7 +2787,7 @@

    @@ -2825,7 +2877,7 @@

    @@ -2876,7 +2928,7 @@

    @@ -2945,6 +2997,105 @@

    Return values
    AccessToken
    +
    +
    +

    + sendAccessTokenRequest() + + +

    + + +

    Sends the access token request

    + + + protected + sendAccessTokenRequest(AccessToken $token, string $verifier) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $token + : AccessToken +
    +
    + +
    +
    + $verifier + : string +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    + +
    +
    +

    + sendRequestTokenRequest() + + +

    + + +

    Sends a request to the request token endpoint with the given params

    + + + protected + sendRequestTokenRequest(array<string|int, mixed> $requestTokenRequestParams) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $requestTokenRequestParams + : array<string|int, mixed> +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    +
    @@ -3060,7 +3211,7 @@

    Return values
  • @@ -3097,7 +3248,7 @@
    Return values
  • getRequestAuthorization()
  • getRequestToken()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • @@ -3118,6 +3269,8 @@
    Return values
  • getSignature()
  • nonce()
  • parseTokenResponse()
  • +
  • sendAccessTokenRequest()
  • +
  • sendRequestTokenRequest()
  • diff --git a/classes/chillerlan-OAuth-Providers-Discord.html b/classes/chillerlan-OAuth-Providers-Discord.html index 72bd48ee..689a0b6d 100644 --- a/classes/chillerlan-OAuth-Providers-Discord.html +++ b/classes/chillerlan-OAuth-Providers-Discord.html @@ -316,7 +316,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -501,7 +501,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -1213,16 +1213,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -1230,7 +1230,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1467,7 +1467,7 @@

    @@ -1500,7 +1500,7 @@

    @@ -1533,7 +1533,7 @@

    @@ -1617,7 +1617,7 @@

    @@ -1683,7 +1683,7 @@

    @@ -1717,7 +1717,7 @@

    @@ -1750,7 +1750,7 @@

    @@ -1783,7 +1783,7 @@

    @@ -1816,7 +1816,7 @@

    @@ -1855,7 +1855,7 @@

    @@ -1939,7 +1939,7 @@

    @@ -2053,7 +2053,7 @@

    @@ -2313,7 +2313,7 @@

    @@ -2362,9 +2362,9 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -646,7 +661,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -847,7 +862,7 @@

    @@ -880,7 +895,7 @@

    @@ -913,7 +928,7 @@

    @@ -946,7 +961,7 @@

    @@ -1013,7 +1028,7 @@

    @@ -1062,7 +1077,7 @@

    @@ -1096,7 +1111,7 @@

    @@ -1129,7 +1144,7 @@

    @@ -1162,7 +1177,7 @@

    @@ -1233,7 +1248,7 @@

    @@ -1317,7 +1332,7 @@

    @@ -1363,7 +1378,7 @@

    @@ -1371,7 +1386,7 @@

    public - getAccessToken(string $token, string $verifier) : AccessToken + getAccessToken(string $requestToken, string $verifier) : AccessToken
    @@ -1379,7 +1394,7 @@

    Parameters
    - $token + $requestToken : string
    @@ -1407,6 +1422,14 @@
    +
    +
    + throws +
    +
    + ProviderException + +
    @@ -1430,7 +1453,7 @@

    @@ -1546,7 +1569,7 @@

    @@ -1662,7 +1685,7 @@

    @@ -1711,22 +1734,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1745,7 +1768,7 @@
    Parameters
    Tags - +
    @@ -1795,11 +1818,12 @@

    - +

    hi flickr, can i have a 401 on invalid token???

    + public me() : ResponseInterface @@ -1938,7 +1962,7 @@

    @@ -1974,6 +1998,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -1997,7 +2029,7 @@

    @@ -2064,7 +2096,7 @@

    @@ -2131,7 +2163,7 @@

    @@ -2198,7 +2230,7 @@

    @@ -2265,7 +2297,7 @@

    @@ -2332,7 +2364,7 @@

    @@ -2399,7 +2431,7 @@

    @@ -2445,7 +2477,7 @@

    @@ -2491,7 +2523,7 @@

    @@ -2524,7 +2556,7 @@

    @@ -2539,6 +2571,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2560,7 +2606,7 @@

    @@ -2628,7 +2674,7 @@

    @@ -2674,7 +2720,7 @@

    @@ -2746,7 +2792,7 @@

    @@ -2799,7 +2845,7 @@

    @@ -2889,7 +2935,7 @@

    @@ -2940,7 +2986,7 @@

    @@ -3009,6 +3055,105 @@

    Return values
    AccessToken
    +
    +
    +

    + sendAccessTokenRequest() + + +

    + + +

    Sends the access token request

    + + + protected + sendAccessTokenRequest(AccessToken $token, string $verifier) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $token + : AccessToken +
    +
    + +
    +
    + $verifier + : string +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    + +
    +
    +

    + sendRequestTokenRequest() + + +

    + + +

    Sends a request to the request token endpoint with the given params

    + + + protected + sendRequestTokenRequest(array<string|int, mixed> $requestTokenRequestParams) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $requestTokenRequestParams + : array<string|int, mixed> +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    +
    @@ -3126,7 +3271,7 @@

    Return values
  • PERM_DELETE
  • PERM_READ
  • PERM_WRITE
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3163,7 +3308,7 @@
    Return values
  • getRequestAuthorization()
  • getRequestToken()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • @@ -3184,6 +3329,8 @@
    Return values
  • getSignature()
  • nonce()
  • parseTokenResponse()
  • +
  • sendAccessTokenRequest()
  • +
  • sendRequestTokenRequest()
  • diff --git a/classes/chillerlan-OAuth-Providers-Foursquare.html b/classes/chillerlan-OAuth-Providers-Foursquare.html index 0ea165ff..3295497c 100644 --- a/classes/chillerlan-OAuth-Providers-Foursquare.html +++ b/classes/chillerlan-OAuth-Providers-Foursquare.html @@ -198,15 +198,15 @@

    - ALLOWED_PROPERTIES + API_VERSIONDATE -  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] +  = '20190225'
    - API_VERSIONDATE + MAGIC_PROPERTIES -  = '20190225' +  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -389,7 +389,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -594,25 +594,25 @@

    -

    - ALLOWED_PROPERTIES - +

    + API_VERSIONDATE +

    protected - array<string|int, string> - ALLOWED_PROPERTIES - = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] + mixed + API_VERSIONDATE + = '20190225' @@ -622,25 +622,25 @@

    -

    - API_VERSIONDATE - +

    + MAGIC_PROPERTIES +

    protected - mixed - API_VERSIONDATE - = '20190225' + array<string|int, string> + MAGIC_PROPERTIES + = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -876,7 +876,7 @@

    @@ -909,7 +909,7 @@

    @@ -942,7 +942,7 @@

    @@ -1026,7 +1026,7 @@

    @@ -1059,7 +1059,7 @@

    @@ -1108,7 +1108,7 @@

    @@ -1142,7 +1142,7 @@

    @@ -1175,7 +1175,7 @@

    @@ -1208,7 +1208,7 @@

    @@ -1279,7 +1279,7 @@

    @@ -1363,7 +1363,7 @@

    @@ -1477,7 +1477,7 @@

    @@ -1737,7 +1737,7 @@

    @@ -1786,22 +1786,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1820,7 +1820,7 @@
    Parameters
    Tags - +
    @@ -2082,7 +2082,7 @@

    @@ -2118,6 +2118,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2141,7 +2149,7 @@

    @@ -2208,7 +2216,7 @@

    @@ -2275,7 +2283,7 @@

    @@ -2342,7 +2350,7 @@

    @@ -2409,7 +2417,7 @@

    @@ -2476,7 +2484,7 @@

    @@ -2543,7 +2551,7 @@

    @@ -2589,7 +2597,7 @@

    @@ -2635,7 +2643,7 @@

    @@ -2668,7 +2676,7 @@

    @@ -2683,6 +2691,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2704,7 +2726,7 @@

    @@ -2772,7 +2794,7 @@

    @@ -2818,7 +2840,7 @@

    @@ -2890,7 +2912,7 @@

    @@ -3121,8 +3143,8 @@

    Return values
    @@ -3160,7 +3182,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-GitHub.html b/classes/chillerlan-OAuth-Providers-GitHub.html index d325d3fb..f7c0e566 100644 --- a/classes/chillerlan-OAuth-Providers-GitHub.html +++ b/classes/chillerlan-OAuth-Providers-GitHub.html @@ -374,7 +374,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -559,7 +559,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -1466,16 +1466,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -1483,7 +1483,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1720,7 +1720,7 @@

    @@ -1753,7 +1753,7 @@

    @@ -1786,7 +1786,7 @@

    @@ -1870,7 +1870,7 @@

    @@ -1903,7 +1903,7 @@

    @@ -1952,7 +1952,7 @@

    @@ -1986,7 +1986,7 @@

    @@ -2019,7 +2019,7 @@

    @@ -2052,7 +2052,7 @@

    @@ -2123,7 +2123,7 @@

    @@ -2207,7 +2207,7 @@

    @@ -2321,7 +2321,7 @@

    @@ -2581,7 +2581,7 @@

    @@ -2630,22 +2630,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -2664,7 +2664,7 @@
    Parameters
    Tags - +
    @@ -2832,7 +2832,7 @@

    @@ -2905,6 +2905,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2928,7 +2936,7 @@

    @@ -2964,6 +2972,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2987,7 +3003,7 @@

    @@ -3054,7 +3070,7 @@

    @@ -3121,7 +3137,7 @@

    @@ -3188,7 +3204,7 @@

    @@ -3255,7 +3271,7 @@

    @@ -3322,7 +3338,7 @@

    @@ -3389,7 +3405,7 @@

    @@ -3435,7 +3451,7 @@

    @@ -3481,7 +3497,7 @@

    @@ -3514,7 +3530,7 @@

    @@ -3529,6 +3545,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -3550,7 +3580,7 @@

    @@ -3618,7 +3648,7 @@

    @@ -3664,7 +3694,7 @@

    @@ -3736,7 +3766,7 @@

    @@ -3992,7 +4022,7 @@

    Return values
  • SCOPE_USER
  • SCOPE_USER_EMAIL
  • SCOPE_USER_FOLLOW
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -4030,7 +4060,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-GitLab.html b/classes/chillerlan-OAuth-Providers-GitLab.html index 0e82fea6..f1710417 100644 --- a/classes/chillerlan-OAuth-Providers-GitLab.html +++ b/classes/chillerlan-OAuth-Providers-GitLab.html @@ -196,7 +196,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -383,7 +383,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -534,16 +534,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -551,7 +551,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -620,7 +620,7 @@

    @@ -789,7 +789,7 @@

    @@ -822,7 +822,7 @@

    @@ -855,7 +855,7 @@

    @@ -939,7 +939,7 @@

    @@ -972,7 +972,7 @@

    @@ -1021,7 +1021,7 @@

    @@ -1055,7 +1055,7 @@

    @@ -1088,7 +1088,7 @@

    @@ -1121,7 +1121,7 @@

    @@ -1154,7 +1154,7 @@

    @@ -1193,7 +1193,7 @@

    @@ -1277,7 +1277,7 @@

    @@ -1391,7 +1391,7 @@

    @@ -1651,7 +1651,7 @@

    @@ -1700,22 +1700,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1734,7 +1734,7 @@
    Parameters
    Tags - +
    @@ -1902,7 +1902,7 @@

    @@ -1975,6 +1975,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1998,7 +2006,7 @@

    @@ -2034,6 +2042,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2057,7 +2073,7 @@

    @@ -2124,7 +2140,7 @@

    @@ -2191,7 +2207,7 @@

    @@ -2258,7 +2274,7 @@

    @@ -2325,7 +2341,7 @@

    @@ -2392,7 +2408,7 @@

    @@ -2459,7 +2475,7 @@

    @@ -2505,7 +2521,7 @@

    @@ -2551,7 +2567,7 @@

    @@ -2584,7 +2600,7 @@

    @@ -2599,6 +2615,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2620,7 +2650,7 @@

    @@ -2688,7 +2718,7 @@

    @@ -2734,7 +2764,7 @@

    @@ -2806,7 +2836,7 @@

    @@ -3035,7 +3065,7 @@

    Return values
  • Constants
  • @@ -3073,7 +3103,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-Google.html b/classes/chillerlan-OAuth-Providers-Google.html index 4325cb76..bfa13b60 100644 --- a/classes/chillerlan-OAuth-Providers-Google.html +++ b/classes/chillerlan-OAuth-Providers-Google.html @@ -242,7 +242,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -427,7 +427,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -718,16 +718,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -735,7 +735,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -972,7 +972,7 @@

    @@ -1005,7 +1005,7 @@

    @@ -1038,7 +1038,7 @@

    @@ -1122,7 +1122,7 @@

    @@ -1155,7 +1155,7 @@

    @@ -1204,7 +1204,7 @@

    @@ -1238,7 +1238,7 @@

    @@ -1271,7 +1271,7 @@

    @@ -1304,7 +1304,7 @@

    @@ -1375,7 +1375,7 @@

    @@ -1459,7 +1459,7 @@

    @@ -1573,7 +1573,7 @@

    @@ -1833,7 +1833,7 @@

    @@ -1882,22 +1882,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1916,7 +1916,7 @@
    Parameters
    Tags - +
    @@ -2084,7 +2084,7 @@

    @@ -2157,6 +2157,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2180,7 +2188,7 @@

    @@ -2216,6 +2224,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2239,7 +2255,7 @@

    @@ -2306,7 +2322,7 @@

    @@ -2373,7 +2389,7 @@

    @@ -2440,7 +2456,7 @@

    @@ -2507,7 +2523,7 @@

    @@ -2574,7 +2590,7 @@

    @@ -2641,7 +2657,7 @@

    @@ -2687,7 +2703,7 @@

    @@ -2733,7 +2749,7 @@

    @@ -2766,7 +2782,7 @@

    @@ -2781,6 +2797,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2802,7 +2832,7 @@

    @@ -2870,7 +2900,7 @@

    @@ -2916,7 +2946,7 @@

    @@ -2988,7 +3018,7 @@

    @@ -3222,7 +3252,7 @@

    Return values
  • SCOPE_PROFILE
  • SCOPE_USERINFO_EMAIL
  • SCOPE_USERINFO_PROFILE
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3260,7 +3290,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-GuildWars2.html b/classes/chillerlan-OAuth-Providers-GuildWars2.html index 11883d93..45ece0b6 100644 --- a/classes/chillerlan-OAuth-Providers-GuildWars2.html +++ b/classes/chillerlan-OAuth-Providers-GuildWars2.html @@ -256,7 +256,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -442,7 +442,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -879,16 +879,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -896,7 +896,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -932,7 +932,7 @@

    @@ -1134,7 +1134,7 @@

    @@ -1167,7 +1167,7 @@

    @@ -1200,7 +1200,7 @@

    @@ -1284,7 +1284,7 @@

    @@ -1317,7 +1317,7 @@

    @@ -1366,7 +1366,7 @@

    @@ -1400,7 +1400,7 @@

    @@ -1433,7 +1433,7 @@

    @@ -1466,7 +1466,7 @@

    @@ -1537,7 +1537,7 @@

    @@ -1621,7 +1621,7 @@

    @@ -1743,7 +1743,7 @@

    @@ -2011,7 +2011,7 @@

    @@ -2060,22 +2060,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -2094,7 +2094,7 @@
    Parameters
    Tags - +
    @@ -2262,7 +2262,7 @@

    @@ -2335,6 +2335,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2358,7 +2366,7 @@

    @@ -2394,6 +2402,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2417,7 +2433,7 @@

    @@ -2484,7 +2500,7 @@

    @@ -2551,7 +2567,7 @@

    @@ -2618,7 +2634,7 @@

    @@ -2685,7 +2701,7 @@

    @@ -2752,7 +2768,7 @@

    @@ -2879,7 +2895,7 @@

    @@ -2925,7 +2941,7 @@

    @@ -2971,7 +2987,7 @@

    @@ -3004,7 +3020,7 @@

    @@ -3019,6 +3035,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -3040,7 +3070,7 @@

    @@ -3108,7 +3138,7 @@

    @@ -3154,7 +3184,7 @@

    @@ -3226,7 +3256,7 @@

    @@ -3465,7 +3495,7 @@

    Return values
  • SCOPE_TRADINGPOST
  • SCOPE_UNLOCKS
  • SCOPE_WALLET
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3503,7 +3533,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-Imgur.html b/classes/chillerlan-OAuth-Providers-Imgur.html index 4ee4f429..98f52096 100644 --- a/classes/chillerlan-OAuth-Providers-Imgur.html +++ b/classes/chillerlan-OAuth-Providers-Imgur.html @@ -201,7 +201,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -386,7 +386,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -537,16 +537,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -554,7 +554,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -791,7 +791,7 @@

    @@ -824,7 +824,7 @@

    @@ -857,7 +857,7 @@

    @@ -941,7 +941,7 @@

    @@ -974,7 +974,7 @@

    @@ -1023,7 +1023,7 @@

    @@ -1057,7 +1057,7 @@

    @@ -1090,7 +1090,7 @@

    @@ -1123,7 +1123,7 @@

    @@ -1194,7 +1194,7 @@

    @@ -1278,7 +1278,7 @@

    @@ -1392,7 +1392,7 @@

    @@ -1652,7 +1652,7 @@

    @@ -1701,22 +1701,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1735,7 +1735,7 @@
    Parameters
    Tags - +
    @@ -1903,7 +1903,7 @@

    @@ -1976,6 +1976,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1999,7 +2007,7 @@

    @@ -2035,6 +2043,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2058,7 +2074,7 @@

    @@ -2125,7 +2141,7 @@

    @@ -2192,7 +2208,7 @@

    @@ -2259,7 +2275,7 @@

    @@ -2326,7 +2342,7 @@

    @@ -2393,7 +2409,7 @@

    @@ -2460,7 +2476,7 @@

    @@ -2506,7 +2522,7 @@

    @@ -2552,7 +2568,7 @@

    @@ -2585,7 +2601,7 @@

    @@ -2600,6 +2616,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2621,7 +2651,7 @@

    @@ -2689,7 +2719,7 @@

    @@ -2735,7 +2765,7 @@

    @@ -2807,7 +2837,7 @@

    @@ -3036,7 +3066,7 @@

    Return values
  • Constants
  • @@ -3074,7 +3104,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-LastFM.html b/classes/chillerlan-OAuth-Providers-LastFM.html index dee6b780..195e99be 100644 --- a/classes/chillerlan-OAuth-Providers-LastFM.html +++ b/classes/chillerlan-OAuth-Providers-LastFM.html @@ -228,7 +228,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -395,7 +395,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -742,16 +742,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -759,7 +759,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -965,7 +965,7 @@

    @@ -998,7 +998,7 @@

    @@ -1031,7 +1031,7 @@

    @@ -1064,7 +1064,7 @@

    @@ -1097,7 +1097,7 @@

    @@ -1146,7 +1146,7 @@

    @@ -1180,7 +1180,7 @@

    @@ -1213,7 +1213,7 @@

    @@ -1246,7 +1246,7 @@

    @@ -1318,7 +1318,7 @@

    @@ -1402,7 +1402,7 @@

    @@ -1493,7 +1493,7 @@

    @@ -1609,7 +1609,7 @@

    @@ -1682,7 +1682,7 @@

    @@ -1731,22 +1731,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1765,7 +1765,7 @@
    Parameters
    Tags - +
    @@ -1815,7 +1815,7 @@

    @@ -1961,7 +1961,7 @@

    @@ -1997,6 +1997,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2020,7 +2028,7 @@

    @@ -2087,7 +2095,7 @@

    @@ -2154,7 +2162,7 @@

    @@ -2221,7 +2229,7 @@

    @@ -2288,7 +2296,7 @@

    @@ -2355,7 +2363,7 @@

    @@ -2422,7 +2430,7 @@

    @@ -2468,7 +2476,7 @@

    @@ -2514,7 +2522,7 @@

    @@ -2547,7 +2555,7 @@

    @@ -2562,6 +2570,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2583,7 +2605,7 @@

    @@ -2651,7 +2673,7 @@

    @@ -2697,7 +2719,7 @@

    @@ -2769,7 +2791,7 @@

    @@ -3033,7 +3055,7 @@

    Return values
  • PERIOD_7DAY
  • PERIOD_OVERALL
  • PERIODS
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3068,7 +3090,7 @@
    Return values
  • getAuthURL()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • diff --git a/classes/chillerlan-OAuth-Providers-MailChimp.html b/classes/chillerlan-OAuth-Providers-MailChimp.html index 805bdb8b..453b60ce 100644 --- a/classes/chillerlan-OAuth-Providers-MailChimp.html +++ b/classes/chillerlan-OAuth-Providers-MailChimp.html @@ -204,15 +204,15 @@

    - ALLOWED_PROPERTIES + API_BASE -  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] +  = 'https://%s.api.mailchimp.com'
    - API_BASE + MAGIC_PROPERTIES -  = 'https://%s.api.mailchimp.com' +  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -243,11 +243,10 @@

    - $apiURL + $apiURL  : string
    -
    the API base URL (magic)
    $applicationURL @@ -409,7 +408,7 @@

    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -559,25 +558,25 @@

    -

    - ALLOWED_PROPERTIES - +

    + API_BASE +

    protected - array<string|int, string> - ALLOWED_PROPERTIES - = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] + mixed + API_BASE + = 'https://%s.api.mailchimp.com' @@ -587,25 +586,25 @@

    -

    - API_BASE - +

    + MAGIC_PROPERTIES +

    protected - mixed - API_BASE - = 'https://%s.api.mailchimp.com' + array<string|int, string> + MAGIC_PROPERTIES + = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -726,25 +725,24 @@

    >

    $apiURL - +

    -

    the API base URL (magic)

    - + protected string $apiURL - + = '' @@ -870,7 +868,7 @@

    @@ -903,7 +901,7 @@

    @@ -936,7 +934,7 @@

    @@ -1020,7 +1018,7 @@

    @@ -1053,7 +1051,7 @@

    @@ -1102,7 +1100,7 @@

    @@ -1136,7 +1134,7 @@

    @@ -1169,7 +1167,7 @@

    @@ -1202,7 +1200,7 @@

    @@ -1235,7 +1233,7 @@

    @@ -1274,7 +1272,7 @@

    @@ -1358,7 +1356,7 @@

    @@ -1472,7 +1470,7 @@

    @@ -1732,7 +1730,7 @@

    @@ -1789,7 +1787,7 @@

    @@ -1841,22 +1839,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1875,7 +1873,7 @@
    Parameters
    Tags - +
    @@ -1925,7 +1923,7 @@

    @@ -2051,7 +2049,7 @@

    @@ -2146,7 +2144,7 @@

    @@ -2182,6 +2180,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2205,7 +2211,7 @@

    @@ -2272,7 +2278,7 @@

    @@ -2339,7 +2345,7 @@

    @@ -2406,7 +2412,7 @@

    @@ -2473,7 +2479,7 @@

    @@ -2540,7 +2546,7 @@

    @@ -2607,7 +2613,7 @@

    @@ -2653,7 +2659,7 @@

    @@ -2699,7 +2705,7 @@

    @@ -2732,7 +2738,7 @@

    @@ -2747,6 +2753,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2768,7 +2788,7 @@

    @@ -2836,7 +2856,7 @@

    @@ -2882,7 +2902,7 @@

    @@ -2954,7 +2974,7 @@

    @@ -3183,8 +3203,8 @@

    Return values
  • Constants
  • @@ -3194,7 +3214,7 @@
    Return values
    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -740,7 +740,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -977,7 +977,7 @@

    @@ -1043,7 +1043,7 @@

    @@ -1076,7 +1076,7 @@

    @@ -1160,7 +1160,7 @@

    @@ -1193,7 +1193,7 @@

    @@ -1242,7 +1242,7 @@

    @@ -1276,7 +1276,7 @@

    @@ -1309,7 +1309,7 @@

    @@ -1342,7 +1342,7 @@

    @@ -1413,7 +1413,7 @@

    @@ -1497,7 +1497,7 @@

    @@ -1611,7 +1611,7 @@

    @@ -1871,7 +1871,7 @@

    @@ -1920,22 +1920,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1954,7 +1954,7 @@
    Parameters
    Tags - +
    @@ -2122,7 +2122,7 @@

    @@ -2195,6 +2195,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2218,7 +2226,7 @@

    @@ -2254,6 +2262,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2338,7 +2354,7 @@

    @@ -2405,7 +2421,7 @@

    @@ -2472,7 +2488,7 @@

    @@ -2539,7 +2555,7 @@

    @@ -2606,7 +2622,7 @@

    @@ -2673,7 +2689,7 @@

    @@ -2740,7 +2756,7 @@

    @@ -2786,7 +2802,7 @@

    @@ -2832,7 +2848,7 @@

    @@ -2865,7 +2881,7 @@

    @@ -2880,6 +2896,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2901,7 +2931,7 @@

    @@ -2969,7 +2999,7 @@

    @@ -3015,7 +3045,7 @@

    @@ -3087,7 +3117,7 @@

    @@ -3321,7 +3351,7 @@

    Return values
  • SCOPE_PUSH
  • SCOPE_READ
  • SCOPE_WRITE
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3360,7 +3390,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html b/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html index 85a94d65..b66f05ae 100644 --- a/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html +++ b/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html @@ -228,7 +228,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -417,7 +417,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -764,16 +764,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -781,7 +781,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -817,7 +817,7 @@

    @@ -917,7 +917,7 @@

    @@ -951,7 +951,7 @@

    @@ -1021,7 +1021,7 @@

    @@ -1054,7 +1054,7 @@

    @@ -1087,7 +1087,7 @@

    @@ -1171,7 +1171,7 @@

    @@ -1204,7 +1204,7 @@

    @@ -1253,7 +1253,7 @@

    @@ -1287,7 +1287,7 @@

    @@ -1320,7 +1320,7 @@

    @@ -1353,7 +1353,7 @@

    @@ -1386,7 +1386,7 @@

    @@ -1425,7 +1425,7 @@

    @@ -1509,7 +1509,7 @@

    @@ -1623,7 +1623,7 @@

    @@ -1883,7 +1883,7 @@

    @@ -1932,22 +1932,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1966,7 +1966,7 @@
    Parameters
    Tags - +
    @@ -2134,7 +2134,7 @@

    @@ -2207,6 +2207,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2230,7 +2238,7 @@

    @@ -2266,6 +2274,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2289,7 +2305,7 @@

    @@ -2356,7 +2372,7 @@

    @@ -2423,7 +2439,7 @@

    @@ -2490,7 +2506,7 @@

    @@ -2557,7 +2573,7 @@

    @@ -2624,7 +2640,7 @@

    @@ -2691,7 +2707,7 @@

    @@ -2737,7 +2753,7 @@

    @@ -2783,7 +2799,7 @@

    @@ -2816,7 +2832,7 @@

    @@ -2831,6 +2847,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2852,7 +2882,7 @@

    @@ -2920,7 +2950,7 @@

    @@ -2966,7 +2996,7 @@

    @@ -3038,7 +3068,7 @@

    @@ -3274,7 +3304,7 @@

    Return values
  • SCOPE_OPENID_PROFILE
  • SCOPE_USER_READ
  • SCOPE_USER_READBASIC_ALL
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3312,7 +3342,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-Mixcloud.html b/classes/chillerlan-OAuth-Providers-Mixcloud.html index 3ee2a31c..866a22ff 100644 --- a/classes/chillerlan-OAuth-Providers-Mixcloud.html +++ b/classes/chillerlan-OAuth-Providers-Mixcloud.html @@ -141,7 +141,7 @@

    @@ -194,7 +194,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -379,7 +379,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -539,7 +539,7 @@

    @@ -558,16 +558,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -575,7 +575,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -611,7 +611,7 @@

    @@ -644,7 +644,7 @@

    @@ -677,7 +677,7 @@

    @@ -710,7 +710,7 @@

    @@ -743,7 +743,7 @@

    @@ -812,7 +812,7 @@

    @@ -845,7 +845,7 @@

    @@ -878,7 +878,7 @@

    @@ -962,7 +962,7 @@

    @@ -995,7 +995,7 @@

    @@ -1044,7 +1044,7 @@

    @@ -1078,7 +1078,7 @@

    @@ -1111,7 +1111,7 @@

    @@ -1144,7 +1144,7 @@

    @@ -1177,7 +1177,7 @@

    @@ -1215,7 +1215,7 @@

    @@ -1299,7 +1299,7 @@

    @@ -1413,7 +1413,7 @@

    @@ -1673,7 +1673,7 @@

    @@ -1722,22 +1722,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1756,7 +1756,7 @@
    Parameters
    Tags - +
    @@ -1806,7 +1806,7 @@

    @@ -1924,7 +1924,7 @@

    @@ -1997,6 +1997,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2020,7 +2028,7 @@

    @@ -2056,6 +2064,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2079,7 +2095,7 @@

    @@ -2146,7 +2162,7 @@

    @@ -2213,7 +2229,7 @@

    @@ -2280,7 +2296,7 @@

    @@ -2347,7 +2363,7 @@

    @@ -2414,7 +2430,7 @@

    @@ -2481,7 +2497,7 @@

    @@ -2527,7 +2543,7 @@

    @@ -2573,7 +2589,7 @@

    @@ -2606,7 +2622,7 @@

    @@ -2621,6 +2637,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2642,7 +2672,7 @@

    @@ -2710,7 +2740,7 @@

    @@ -2756,7 +2786,7 @@

    @@ -2828,7 +2858,7 @@

    @@ -3058,7 +3088,7 @@

    Return values
  • @@ -3096,7 +3126,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-MusicBrainz.html b/classes/chillerlan-OAuth-Providers-MusicBrainz.html index 4781bea7..fe4fa086 100644 --- a/classes/chillerlan-OAuth-Providers-MusicBrainz.html +++ b/classes/chillerlan-OAuth-Providers-MusicBrainz.html @@ -252,7 +252,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -437,7 +437,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -811,16 +811,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -828,7 +828,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1065,7 +1065,7 @@

    @@ -1098,7 +1098,7 @@

    @@ -1131,7 +1131,7 @@

    @@ -1215,7 +1215,7 @@

    @@ -1248,7 +1248,7 @@

    @@ -1297,7 +1297,7 @@

    @@ -1331,7 +1331,7 @@

    @@ -1364,7 +1364,7 @@

    @@ -1397,7 +1397,7 @@

    @@ -1468,7 +1468,7 @@

    @@ -1552,7 +1552,7 @@

    @@ -1666,7 +1666,7 @@

    @@ -1926,7 +1926,7 @@

    @@ -1975,22 +1975,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -2009,7 +2009,7 @@
    Parameters
    Tags - +
    @@ -2059,7 +2059,7 @@

    @@ -2277,7 +2277,7 @@

    @@ -2313,6 +2313,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2336,7 +2344,7 @@

    @@ -2403,7 +2411,7 @@

    @@ -2470,7 +2478,7 @@

    @@ -2537,7 +2545,7 @@

    @@ -2604,7 +2612,7 @@

    @@ -2671,7 +2679,7 @@

    @@ -2738,7 +2746,7 @@

    @@ -2784,7 +2792,7 @@

    @@ -2830,7 +2838,7 @@

    @@ -2863,7 +2871,7 @@

    @@ -2878,6 +2886,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2899,7 +2921,7 @@

    @@ -2967,7 +2989,7 @@

    @@ -3013,7 +3035,7 @@

    @@ -3085,7 +3107,7 @@

    @@ -3322,7 +3344,7 @@

    Return values
  • SCOPE_SUBMIT_BARCODE
  • SCOPE_SUBMIT_ISRC
  • SCOPE_TAG
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3360,7 +3382,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-NPROne.html b/classes/chillerlan-OAuth-Providers-NPROne.html index ee4bec88..10fe542c 100644 --- a/classes/chillerlan-OAuth-Providers-NPROne.html +++ b/classes/chillerlan-OAuth-Providers-NPROne.html @@ -240,7 +240,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -425,7 +425,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -452,7 +452,7 @@

    and returns a PSR-7 ResponseInterface with the corresponding API response
    - sendRequest() + sendRequest()  : ResponseInterface
    @@ -550,10 +550,12 @@

    Prepare request headers
    - getRequestTarget() + getRequestTarget()  : string
    +
    Determine the request target from the given URI (path segment or URL) with respect to $apiURL, +anything except host and path will be ignored, scheme will always be set to "https".
    getRequestURL() @@ -750,16 +752,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -767,7 +769,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1004,7 +1006,7 @@

    @@ -1037,7 +1039,7 @@

    @@ -1070,7 +1072,7 @@

    @@ -1154,7 +1156,7 @@

    @@ -1220,7 +1222,7 @@

    @@ -1254,7 +1256,7 @@

    @@ -1287,7 +1289,7 @@

    @@ -1320,7 +1322,7 @@

    @@ -1353,7 +1355,7 @@

    @@ -1392,7 +1394,7 @@

    @@ -1476,7 +1478,7 @@

    @@ -1590,7 +1592,7 @@

    @@ -1850,7 +1852,7 @@

    @@ -1899,15 +1901,15 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    @@ -1915,7 +1917,7 @@

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1934,7 +1936,7 @@

    Parameters
    Tags - +
    @@ -1967,7 +1969,7 @@

    @@ -2085,7 +2087,7 @@

    @@ -2158,6 +2160,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2175,13 +2185,13 @@
    Return values
    >

    sendRequest() - +

    @@ -2207,7 +2217,7 @@
    Parameters
    Tags - +
    @@ -2217,6 +2227,14 @@
    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2301,7 +2319,7 @@

    @@ -2368,7 +2386,7 @@

    @@ -2435,7 +2453,7 @@

    @@ -2502,7 +2520,7 @@

    @@ -2569,7 +2587,7 @@

    @@ -2636,7 +2654,7 @@

    @@ -2703,7 +2721,7 @@

    @@ -2749,7 +2767,7 @@

    @@ -2795,7 +2813,7 @@

    @@ -2828,7 +2846,7 @@

    @@ -2843,6 +2861,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2864,7 +2896,7 @@

    @@ -2932,7 +2964,7 @@

    @@ -2972,24 +3004,28 @@

    Return values
    >

    getRequestTarget() - +

    - +

    Determine the request target from the given URI (path segment or URL) with respect to $apiURL, +anything except host and path will be ignored, scheme will always be set to "https".

    + protected getRequestTarget(string $uri) : string
    - +

    Throws if the given path is invalid or if the host of a given URL does not match $apiURL.

    +
    +
    Parameters
    @@ -3004,15 +3040,24 @@
    Parameters
    Tags - +
    - inheritDoc + see
    - + OAuthInterface::request() + + +
    +
    + throws +
    +
    + ProviderException +
    @@ -3037,7 +3082,7 @@

    @@ -3272,7 +3317,7 @@

    Return values
  • SCOPE_LISTENING_READONLY
  • SCOPE_LISTENING_WRITE
  • SCOPE_LOCALACTIVATION
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3310,11 +3355,11 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • -
  • sendRequest()
  • +
  • sendRequest()
  • setAPI()
  • setLogger()
  • setRequestFactory()
  • @@ -3328,7 +3373,7 @@
    Return values
  • createAccessToken()
  • getRequestBody()
  • getRequestHeaders()
  • -
  • getRequestTarget()
  • +
  • getRequestTarget()
  • getRequestURL()
  • parseTokenResponse()
  • diff --git a/classes/chillerlan-OAuth-Providers-OpenCaching.html b/classes/chillerlan-OAuth-Providers-OpenCaching.html index bce99664..88b471e4 100644 --- a/classes/chillerlan-OAuth-Providers-OpenCaching.html +++ b/classes/chillerlan-OAuth-Providers-OpenCaching.html @@ -186,7 +186,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -368,7 +368,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -514,6 +514,20 @@

    Parses the response from a request to the token endpoint
    +
    + sendAccessTokenRequest() + +  : ResponseInterface +
    +
    Sends the access token request
    + +
    + sendRequestTokenRequest() + +  : ResponseInterface +
    +
    Sends a request to the request token endpoint with the given params
    +
    @@ -527,16 +541,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -544,7 +558,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -773,7 +787,7 @@

    @@ -806,7 +820,7 @@

    @@ -839,7 +853,7 @@

    @@ -872,7 +886,7 @@

    @@ -939,7 +953,7 @@

    @@ -988,7 +1002,7 @@

    @@ -1022,7 +1036,7 @@

    @@ -1055,7 +1069,7 @@

    @@ -1088,7 +1102,7 @@

    @@ -1159,7 +1173,7 @@

    @@ -1243,7 +1257,7 @@

    @@ -1289,7 +1303,7 @@

    @@ -1297,7 +1311,7 @@

    public - getAccessToken(string $token, string $verifier) : AccessToken + getAccessToken(string $requestToken, string $verifier) : AccessToken
    @@ -1305,7 +1319,7 @@

    Parameters
    - $token + $requestToken : string
    @@ -1333,6 +1347,14 @@
    +
    +
    + throws +
    +
    + ProviderException + +
    @@ -1356,7 +1378,7 @@

    @@ -1472,7 +1494,7 @@

    @@ -1588,7 +1610,7 @@

    @@ -1637,22 +1659,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1671,7 +1693,7 @@
    Parameters
    Tags - +
    @@ -1770,7 +1792,7 @@

    @@ -1843,6 +1865,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1866,7 +1896,7 @@

    @@ -1902,6 +1932,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -1925,7 +1963,7 @@

    @@ -1992,7 +2030,7 @@

    @@ -2059,7 +2097,7 @@

    @@ -2126,7 +2164,7 @@

    @@ -2193,7 +2231,7 @@

    @@ -2260,7 +2298,7 @@

    @@ -2327,7 +2365,7 @@

    @@ -2373,7 +2411,7 @@

    @@ -2419,7 +2457,7 @@

    @@ -2452,7 +2490,7 @@

    @@ -2467,6 +2505,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2488,7 +2540,7 @@

    @@ -2556,7 +2608,7 @@

    @@ -2602,7 +2654,7 @@

    @@ -2674,7 +2726,7 @@

    @@ -2727,7 +2779,7 @@

    @@ -2817,7 +2869,7 @@

    @@ -2868,7 +2920,7 @@

    @@ -2937,6 +2989,105 @@

    Return values
    AccessToken
    +
    +
    +

    + sendAccessTokenRequest() + + +

    + + +

    Sends the access token request

    + + + protected + sendAccessTokenRequest(AccessToken $token, string $verifier) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $token + : AccessToken +
    +
    + +
    +
    + $verifier + : string +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    + +
    +
    +

    + sendRequestTokenRequest() + + +

    + + +

    Sends a request to the request token endpoint with the given params

    + + + protected + sendRequestTokenRequest(array<string|int, mixed> $requestTokenRequestParams) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $requestTokenRequestParams + : array<string|int, mixed> +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    +
    @@ -3051,7 +3202,7 @@
    Return values
  • Constants
  • @@ -3089,7 +3240,7 @@
    Return values
  • getRequestAuthorization()
  • getRequestToken()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • @@ -3110,6 +3261,8 @@
    Return values
  • getSignature()
  • nonce()
  • parseTokenResponse()
  • +
  • sendAccessTokenRequest()
  • +
  • sendRequestTokenRequest()
  • diff --git a/classes/chillerlan-OAuth-Providers-OpenStreetmap.html b/classes/chillerlan-OAuth-Providers-OpenStreetmap.html index 31e6e96b..db1ebed8 100644 --- a/classes/chillerlan-OAuth-Providers-OpenStreetmap.html +++ b/classes/chillerlan-OAuth-Providers-OpenStreetmap.html @@ -203,7 +203,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -380,7 +380,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -526,6 +526,20 @@

    Parses the response from a request to the token endpoint
    +
    + sendAccessTokenRequest() + +  : ResponseInterface +
    +
    Sends the access token request
    + +
    + sendRequestTokenRequest() + +  : ResponseInterface +
    +
    Sends a request to the request token endpoint with the given params
    +

    @@ -539,16 +553,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -556,7 +570,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -757,7 +771,7 @@

    @@ -790,7 +804,7 @@

    @@ -823,7 +837,7 @@

    @@ -856,7 +870,7 @@

    @@ -923,7 +937,7 @@

    @@ -972,7 +986,7 @@

    @@ -1006,7 +1020,7 @@

    @@ -1039,7 +1053,7 @@

    @@ -1072,7 +1086,7 @@

    @@ -1105,7 +1119,7 @@

    @@ -1144,7 +1158,7 @@

    @@ -1228,7 +1242,7 @@

    @@ -1274,7 +1288,7 @@

    @@ -1282,7 +1296,7 @@

    public - getAccessToken(string $token, string $verifier) : AccessToken + getAccessToken(string $requestToken, string $verifier) : AccessToken
    @@ -1290,7 +1304,7 @@

    Parameters
    - $token + $requestToken : string
    @@ -1318,6 +1332,14 @@
    +
    +
    + throws +
    +
    + ProviderException + +
    @@ -1341,7 +1363,7 @@

    @@ -1457,7 +1479,7 @@

    @@ -1573,7 +1595,7 @@

    @@ -1622,22 +1644,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1656,7 +1678,7 @@
    Parameters
    Tags - +
    @@ -1755,7 +1777,7 @@

    @@ -1828,6 +1850,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1851,7 +1881,7 @@

    @@ -1887,6 +1917,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -1910,7 +1948,7 @@

    @@ -1977,7 +2015,7 @@

    @@ -2044,7 +2082,7 @@

    @@ -2111,7 +2149,7 @@

    @@ -2178,7 +2216,7 @@

    @@ -2245,7 +2283,7 @@

    @@ -2312,7 +2350,7 @@

    @@ -2358,7 +2396,7 @@

    @@ -2404,7 +2442,7 @@

    @@ -2437,7 +2475,7 @@

    @@ -2452,6 +2490,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2473,7 +2525,7 @@

    @@ -2541,7 +2593,7 @@

    @@ -2587,7 +2639,7 @@

    @@ -2659,7 +2711,7 @@

    @@ -2712,7 +2764,7 @@

    @@ -2802,7 +2854,7 @@

    @@ -2853,7 +2905,7 @@

    @@ -2922,6 +2974,105 @@

    Return values
    AccessToken
    +
    +
    +

    + sendAccessTokenRequest() + + +

    + + +

    Sends the access token request

    + + + protected + sendAccessTokenRequest(AccessToken $token, string $verifier) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $token + : AccessToken +
    +
    + +
    +
    + $verifier + : string +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    + +
    +
    +

    + sendRequestTokenRequest() + + +

    + + +

    Sends a request to the request token endpoint with the given params

    + + + protected + sendRequestTokenRequest(array<string|int, mixed> $requestTokenRequestParams) : ResponseInterface + +
    +
    + +
    Parameters
    +
    +
    + $requestTokenRequestParams + : array<string|int, mixed> +
    +
    + +
    +
    + + + +
    +
    Return values
    + ResponseInterface +
    +
    @@ -3036,7 +3187,7 @@
    Return values
  • Constants
  • @@ -3073,7 +3224,7 @@
    Return values
  • getRequestAuthorization()
  • getRequestToken()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • @@ -3094,6 +3245,8 @@
    Return values
  • getSignature()
  • nonce()
  • parseTokenResponse()
  • +
  • sendAccessTokenRequest()
  • +
  • sendRequestTokenRequest()
  • diff --git a/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html b/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html index ff95c081..33b644d5 100644 --- a/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html +++ b/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html @@ -272,7 +272,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -458,7 +458,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -889,16 +889,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -906,7 +906,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1143,7 +1143,7 @@

    @@ -1176,7 +1176,7 @@

    @@ -1209,7 +1209,7 @@

    @@ -1293,7 +1293,7 @@

    @@ -1326,7 +1326,7 @@

    @@ -1375,7 +1375,7 @@

    @@ -1409,7 +1409,7 @@

    @@ -1442,7 +1442,7 @@

    @@ -1475,7 +1475,7 @@

    @@ -1508,7 +1508,7 @@

    @@ -1547,7 +1547,7 @@

    @@ -1631,7 +1631,7 @@

    @@ -1745,7 +1745,7 @@

    @@ -2005,7 +2005,7 @@

    @@ -2054,22 +2054,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -2088,7 +2088,7 @@
    Parameters
    Tags - +
    @@ -2256,7 +2256,7 @@

    @@ -2329,6 +2329,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2352,7 +2360,7 @@

    @@ -2388,6 +2396,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2411,7 +2427,7 @@

    @@ -2478,7 +2494,7 @@

    @@ -2545,7 +2561,7 @@

    @@ -2612,7 +2628,7 @@

    @@ -2679,7 +2695,7 @@

    @@ -2746,7 +2762,7 @@

    @@ -2813,7 +2829,7 @@

    @@ -2859,7 +2875,7 @@

    @@ -2905,7 +2921,7 @@

    @@ -2938,7 +2954,7 @@

    @@ -2953,6 +2969,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2974,7 +3004,7 @@

    @@ -3042,7 +3072,7 @@

    @@ -3088,7 +3118,7 @@

    @@ -3160,7 +3190,7 @@

    @@ -3399,7 +3429,7 @@

    Return values
  • SCOPE_WRITE_NOTES
  • SCOPE_WRITE_PREFS
  • SCOPE_WRITE_REDACTIONS
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3437,7 +3467,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-Patreon.html b/classes/chillerlan-OAuth-Providers-Patreon.html index ca640a57..f18f08ef 100644 --- a/classes/chillerlan-OAuth-Providers-Patreon.html +++ b/classes/chillerlan-OAuth-Providers-Patreon.html @@ -284,7 +284,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -470,7 +470,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -957,16 +957,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -974,7 +974,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1211,7 +1211,7 @@

    @@ -1244,7 +1244,7 @@

    @@ -1277,7 +1277,7 @@

    @@ -1361,7 +1361,7 @@

    @@ -1394,7 +1394,7 @@

    @@ -1443,7 +1443,7 @@

    @@ -1477,7 +1477,7 @@

    @@ -1510,7 +1510,7 @@

    @@ -1543,7 +1543,7 @@

    @@ -1576,7 +1576,7 @@

    @@ -1615,7 +1615,7 @@

    @@ -1699,7 +1699,7 @@

    @@ -1813,7 +1813,7 @@

    @@ -2073,7 +2073,7 @@

    @@ -2122,22 +2122,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -2156,7 +2156,7 @@
    Parameters
    Tags - +
    @@ -2324,7 +2324,7 @@

    @@ -2397,6 +2397,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2420,7 +2428,7 @@

    @@ -2456,6 +2464,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2479,7 +2495,7 @@

    @@ -2546,7 +2562,7 @@

    @@ -2613,7 +2629,7 @@

    @@ -2680,7 +2696,7 @@

    @@ -2747,7 +2763,7 @@

    @@ -2814,7 +2830,7 @@

    @@ -2881,7 +2897,7 @@

    @@ -2927,7 +2943,7 @@

    @@ -2973,7 +2989,7 @@

    @@ -3006,7 +3022,7 @@

    @@ -3021,6 +3037,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -3042,7 +3072,7 @@

    @@ -3110,7 +3140,7 @@

    @@ -3156,7 +3186,7 @@

    @@ -3228,7 +3258,7 @@

    @@ -3469,7 +3499,7 @@

    Return values
  • SCOPE_V2_IDENTITY
  • SCOPE_V2_IDENTITY_EMAIL
  • SCOPE_V2_IDENTITY_MEMBERSHIPS
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3507,7 +3537,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-PayPal.html b/classes/chillerlan-OAuth-Providers-PayPal.html index 1e8ce9ce..e2348dd5 100644 --- a/classes/chillerlan-OAuth-Providers-PayPal.html +++ b/classes/chillerlan-OAuth-Providers-PayPal.html @@ -232,7 +232,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -418,7 +418,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -737,16 +737,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -754,7 +754,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -991,7 +991,7 @@

    @@ -1024,7 +1024,7 @@

    @@ -1057,7 +1057,7 @@

    @@ -1141,7 +1141,7 @@

    @@ -1174,7 +1174,7 @@

    @@ -1223,7 +1223,7 @@

    @@ -1257,7 +1257,7 @@

    @@ -1290,7 +1290,7 @@

    @@ -1323,7 +1323,7 @@

    @@ -1356,7 +1356,7 @@

    @@ -1395,7 +1395,7 @@

    @@ -1479,7 +1479,7 @@

    @@ -1593,7 +1593,7 @@

    @@ -1853,7 +1853,7 @@

    @@ -1902,22 +1902,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1936,7 +1936,7 @@
    Parameters
    Tags - +
    @@ -2104,7 +2104,7 @@

    @@ -2177,6 +2177,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2200,7 +2208,7 @@

    @@ -2236,6 +2244,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2259,7 +2275,7 @@

    @@ -2326,7 +2342,7 @@

    @@ -2393,7 +2409,7 @@

    @@ -2460,7 +2476,7 @@

    @@ -2527,7 +2543,7 @@

    @@ -2594,7 +2610,7 @@

    @@ -2661,7 +2677,7 @@

    @@ -2707,7 +2723,7 @@

    @@ -2753,7 +2769,7 @@

    @@ -2786,7 +2802,7 @@

    @@ -2801,6 +2817,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2822,7 +2852,7 @@

    @@ -2890,7 +2920,7 @@

    @@ -2936,7 +2966,7 @@

    @@ -3008,7 +3038,7 @@

    @@ -3226,7 +3256,7 @@

    Return values
  • SCOPE_BASIC_AUTH
  • SCOPE_EMAIL
  • SCOPE_FULL_NAME
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3264,7 +3294,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-PayPalSandbox.html b/classes/chillerlan-OAuth-Providers-PayPalSandbox.html index aab9155a..ad8bfce5 100644 --- a/classes/chillerlan-OAuth-Providers-PayPalSandbox.html +++ b/classes/chillerlan-OAuth-Providers-PayPalSandbox.html @@ -222,7 +222,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -410,7 +410,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -730,16 +730,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -747,7 +747,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -816,7 +816,7 @@

    @@ -883,7 +883,7 @@

    @@ -986,7 +986,7 @@

    @@ -1019,7 +1019,7 @@

    @@ -1052,7 +1052,7 @@

    @@ -1136,7 +1136,7 @@

    @@ -1169,7 +1169,7 @@

    @@ -1218,7 +1218,7 @@

    @@ -1252,7 +1252,7 @@

    @@ -1285,7 +1285,7 @@

    @@ -1318,7 +1318,7 @@

    @@ -1351,7 +1351,7 @@

    @@ -1390,7 +1390,7 @@

    @@ -1474,7 +1474,7 @@

    @@ -1588,7 +1588,7 @@

    @@ -1848,7 +1848,7 @@

    @@ -1897,22 +1897,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1931,7 +1931,7 @@
    Parameters
    Tags - +
    @@ -1981,7 +1981,7 @@

    @@ -2107,7 +2107,7 @@

    @@ -2180,6 +2180,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2203,7 +2211,7 @@

    @@ -2239,6 +2247,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2262,7 +2278,7 @@

    @@ -2329,7 +2345,7 @@

    @@ -2396,7 +2412,7 @@

    @@ -2463,7 +2479,7 @@

    @@ -2530,7 +2546,7 @@

    @@ -2597,7 +2613,7 @@

    @@ -2664,7 +2680,7 @@

    @@ -2710,7 +2726,7 @@

    @@ -2756,7 +2772,7 @@

    @@ -2789,7 +2805,7 @@

    @@ -2804,6 +2820,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2825,7 +2855,7 @@

    @@ -2893,7 +2923,7 @@

    @@ -2939,7 +2969,7 @@

    @@ -3011,7 +3041,7 @@

    @@ -3246,7 +3276,7 @@

    Return values
  • SCOPE_BASIC_AUTH
  • SCOPE_EMAIL
  • SCOPE_FULL_NAME
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3284,7 +3314,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-Slack.html b/classes/chillerlan-OAuth-Providers-Slack.html index 22f05f92..ac9e2614 100644 --- a/classes/chillerlan-OAuth-Providers-Slack.html +++ b/classes/chillerlan-OAuth-Providers-Slack.html @@ -518,7 +518,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -703,7 +703,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -2282,16 +2282,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -2299,7 +2299,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -2536,7 +2536,7 @@

    @@ -2569,7 +2569,7 @@

    @@ -2602,7 +2602,7 @@

    @@ -2686,7 +2686,7 @@

    @@ -2719,7 +2719,7 @@

    @@ -2768,7 +2768,7 @@

    @@ -2802,7 +2802,7 @@

    @@ -2835,7 +2835,7 @@

    @@ -2868,7 +2868,7 @@

    @@ -2939,7 +2939,7 @@

    @@ -3023,7 +3023,7 @@

    @@ -3137,7 +3137,7 @@

    @@ -3397,7 +3397,7 @@

    @@ -3446,22 +3446,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -3480,7 +3480,7 @@
    Parameters
    Tags - +
    @@ -3648,7 +3648,7 @@

    @@ -3721,6 +3721,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -3744,7 +3752,7 @@

    @@ -3780,6 +3788,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -3803,7 +3819,7 @@

    @@ -3870,7 +3886,7 @@

    @@ -3937,7 +3953,7 @@

    @@ -4004,7 +4020,7 @@

    @@ -4071,7 +4087,7 @@

    @@ -4138,7 +4154,7 @@

    @@ -4205,7 +4221,7 @@

    @@ -4251,7 +4267,7 @@

    @@ -4297,7 +4313,7 @@

    @@ -4330,7 +4346,7 @@

    @@ -4345,6 +4361,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -4366,7 +4396,7 @@

    @@ -4434,7 +4464,7 @@

    @@ -4480,7 +4510,7 @@

    @@ -4552,7 +4582,7 @@

    @@ -4832,7 +4862,7 @@

    Return values
  • SCOPE_USERS_READ
  • SCOPE_USERS_READ_EMAIL
  • SCOPE_USERS_WRITE
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -4870,7 +4900,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-SoundCloud.html b/classes/chillerlan-OAuth-Providers-SoundCloud.html index a39b197a..83ed999e 100644 --- a/classes/chillerlan-OAuth-Providers-SoundCloud.html +++ b/classes/chillerlan-OAuth-Providers-SoundCloud.html @@ -230,7 +230,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -415,7 +415,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -650,16 +650,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -667,7 +667,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -904,7 +904,7 @@

    @@ -937,7 +937,7 @@

    @@ -970,7 +970,7 @@

    @@ -1054,7 +1054,7 @@

    @@ -1087,7 +1087,7 @@

    @@ -1136,7 +1136,7 @@

    @@ -1170,7 +1170,7 @@

    @@ -1203,7 +1203,7 @@

    @@ -1236,7 +1236,7 @@

    @@ -1307,7 +1307,7 @@

    @@ -1391,7 +1391,7 @@

    @@ -1505,7 +1505,7 @@

    @@ -1765,7 +1765,7 @@

    @@ -1814,22 +1814,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1848,7 +1848,7 @@
    Parameters
    Tags - +
    @@ -2016,7 +2016,7 @@

    @@ -2089,6 +2089,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2112,7 +2120,7 @@

    @@ -2148,6 +2156,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2171,7 +2187,7 @@

    @@ -2238,7 +2254,7 @@

    @@ -2305,7 +2321,7 @@

    @@ -2372,7 +2388,7 @@

    @@ -2439,7 +2455,7 @@

    @@ -2506,7 +2522,7 @@

    @@ -2573,7 +2589,7 @@

    @@ -2619,7 +2635,7 @@

    @@ -2665,7 +2681,7 @@

    @@ -2698,7 +2714,7 @@

    @@ -2713,6 +2729,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2734,7 +2764,7 @@

    @@ -2802,7 +2832,7 @@

    @@ -2848,7 +2878,7 @@

    @@ -2920,7 +2950,7 @@

    @@ -3152,7 +3182,7 @@

    Return values
  • AUTH_PREFIX_HEADER
  • DEFAULT_SCOPES
  • SCOPE_NONEXPIRING
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3190,7 +3220,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-Spotify.html b/classes/chillerlan-OAuth-Providers-Spotify.html index f01582ca..1c1822f9 100644 --- a/classes/chillerlan-OAuth-Providers-Spotify.html +++ b/classes/chillerlan-OAuth-Providers-Spotify.html @@ -356,7 +356,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -541,7 +541,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -1379,16 +1379,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -1396,7 +1396,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1633,7 +1633,7 @@

    @@ -1666,7 +1666,7 @@

    @@ -1699,7 +1699,7 @@

    @@ -1783,7 +1783,7 @@

    @@ -1816,7 +1816,7 @@

    @@ -1865,7 +1865,7 @@

    @@ -1899,7 +1899,7 @@

    @@ -1932,7 +1932,7 @@

    @@ -1965,7 +1965,7 @@

    @@ -2036,7 +2036,7 @@

    @@ -2120,7 +2120,7 @@

    @@ -2234,7 +2234,7 @@

    @@ -2494,7 +2494,7 @@

    @@ -2543,22 +2543,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -2577,7 +2577,7 @@
    Parameters
    Tags - +
    @@ -2745,7 +2745,7 @@

    @@ -2818,6 +2818,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2841,7 +2849,7 @@

    @@ -2877,6 +2885,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2900,7 +2916,7 @@

    @@ -2967,7 +2983,7 @@

    @@ -3034,7 +3050,7 @@

    @@ -3101,7 +3117,7 @@

    @@ -3168,7 +3184,7 @@

    @@ -3235,7 +3251,7 @@

    @@ -3302,7 +3318,7 @@

    @@ -3348,7 +3364,7 @@

    @@ -3394,7 +3410,7 @@

    @@ -3427,7 +3443,7 @@

    @@ -3442,6 +3458,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -3463,7 +3493,7 @@

    @@ -3531,7 +3561,7 @@

    @@ -3577,7 +3607,7 @@

    @@ -3649,7 +3679,7 @@

    @@ -3902,7 +3932,7 @@

    Return values
  • SCOPE_USER_SOA_LINK
  • SCOPE_USER_SOA_UNLINK
  • SCOPE_USER_TOP_READ
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3940,7 +3970,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-SteamOpenID.html b/classes/chillerlan-OAuth-Providers-SteamOpenID.html index 86d23bc9..93ec6d31 100644 --- a/classes/chillerlan-OAuth-Providers-SteamOpenID.html +++ b/classes/chillerlan-OAuth-Providers-SteamOpenID.html @@ -202,7 +202,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -370,7 +370,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -515,16 +515,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -532,7 +532,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -738,7 +738,7 @@

    @@ -771,7 +771,7 @@

    @@ -804,7 +804,7 @@

    @@ -837,7 +837,7 @@

    @@ -870,7 +870,7 @@

    @@ -919,7 +919,7 @@

    @@ -953,7 +953,7 @@

    @@ -986,7 +986,7 @@

    @@ -1019,7 +1019,7 @@

    @@ -1052,7 +1052,7 @@

    @@ -1091,7 +1091,7 @@

    @@ -1175,7 +1175,7 @@

    @@ -1266,7 +1266,7 @@

    @@ -1435,7 +1435,7 @@

    @@ -1484,22 +1484,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1518,7 +1518,7 @@
    Parameters
    Tags - +
    @@ -1568,7 +1568,7 @@

    @@ -1625,7 +1625,7 @@

    @@ -1698,6 +1698,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -1721,7 +1729,7 @@

    @@ -1757,6 +1765,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -1780,7 +1796,7 @@

    @@ -1847,7 +1863,7 @@

    @@ -1914,7 +1930,7 @@

    @@ -1981,7 +1997,7 @@

    @@ -2048,7 +2064,7 @@

    @@ -2115,7 +2131,7 @@

    @@ -2182,7 +2198,7 @@

    @@ -2228,7 +2244,7 @@

    @@ -2274,7 +2290,7 @@

    @@ -2307,7 +2323,7 @@

    @@ -2322,6 +2338,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2343,7 +2373,7 @@

    @@ -2411,7 +2441,7 @@

    @@ -2457,7 +2487,7 @@

    @@ -2529,7 +2559,7 @@

    @@ -2741,7 +2771,7 @@

    Return values
  • Constants
  • @@ -2776,7 +2806,7 @@
    Return values
  • getAuthURL()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • request()
  • sendRequest()
  • diff --git a/classes/chillerlan-OAuth-Providers-Stripe.html b/classes/chillerlan-OAuth-Providers-Stripe.html index d9ee72ab..955b1ae3 100644 --- a/classes/chillerlan-OAuth-Providers-Stripe.html +++ b/classes/chillerlan-OAuth-Providers-Stripe.html @@ -246,7 +246,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -430,7 +430,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -666,16 +666,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -683,7 +683,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -920,7 +920,7 @@

    @@ -953,7 +953,7 @@

    @@ -986,7 +986,7 @@

    @@ -1070,7 +1070,7 @@

    @@ -1136,7 +1136,7 @@

    @@ -1170,7 +1170,7 @@

    @@ -1203,7 +1203,7 @@

    @@ -1236,7 +1236,7 @@

    @@ -1307,7 +1307,7 @@

    @@ -1391,7 +1391,7 @@

    @@ -1505,7 +1505,7 @@

    @@ -1765,7 +1765,7 @@

    @@ -1814,9 +1814,9 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -685,7 +685,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -922,7 +922,7 @@

    @@ -955,7 +955,7 @@

    @@ -988,7 +988,7 @@

    @@ -1072,7 +1072,7 @@

    @@ -1105,7 +1105,7 @@

    @@ -1154,7 +1154,7 @@

    @@ -1188,7 +1188,7 @@

    @@ -1221,7 +1221,7 @@

    @@ -1254,7 +1254,7 @@

    @@ -1325,7 +1325,7 @@

    @@ -1409,7 +1409,7 @@

    @@ -1523,7 +1523,7 @@

    @@ -1783,7 +1783,7 @@

    @@ -1832,22 +1832,22 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    public - invalidateAccessToken([AccessToken|null $token = null ]) : bool + InvalidateAccessToken([AccessToken|null $token = null ]) : bool
    @@ -1866,7 +1866,7 @@
    Parameters
    Tags - +
    @@ -2034,7 +2034,7 @@

    @@ -2107,6 +2107,14 @@

    +
    +
    + throws +
    +
    + UnauthorizedAccessException + +
    @@ -2130,7 +2138,7 @@

    @@ -2166,6 +2174,14 @@

    +
    +
    + throws +
    +
    + InvalidAccessTokenException + +
    @@ -2189,7 +2205,7 @@

    @@ -2256,7 +2272,7 @@

    @@ -2323,7 +2339,7 @@

    @@ -2390,7 +2406,7 @@

    @@ -2457,7 +2473,7 @@

    @@ -2524,7 +2540,7 @@

    @@ -2591,7 +2607,7 @@

    @@ -2637,7 +2653,7 @@

    @@ -2683,7 +2699,7 @@

    @@ -2716,7 +2732,7 @@

    @@ -2731,6 +2747,20 @@

    +

    + Tags + + +
    +
    +
    + codeCoverageIgnore +
    +
    + + +
    +
    Return values
    @@ -2752,7 +2782,7 @@

    @@ -2820,7 +2850,7 @@

    @@ -2866,7 +2896,7 @@

    @@ -2938,7 +2968,7 @@

    @@ -3171,7 +3201,7 @@

    Return values
  • SCOPE_BASIC
  • SCOPE_OFFLINE_ACCESS
  • SCOPE_WRITE
  • -
  • ALLOWED_PROPERTIES
  • +
  • MAGIC_PROPERTIES
  • @@ -3209,7 +3239,7 @@
    Return values
  • getClientCredentialsToken()
  • getRequestAuthorization()
  • getStorage()
  • -
  • invalidateAccessToken()
  • +
  • InvalidateAccessToken()
  • me()
  • refreshAccessToken()
  • request()
  • diff --git a/classes/chillerlan-OAuth-Providers-Twitch.html b/classes/chillerlan-OAuth-Providers-Twitch.html index c533e285..13cc1b14 100644 --- a/classes/chillerlan-OAuth-Providers-Twitch.html +++ b/classes/chillerlan-OAuth-Providers-Twitch.html @@ -354,7 +354,7 @@

    - ALLOWED_PROPERTIES + MAGIC_PROPERTIES  = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
    @@ -538,7 +538,7 @@

    Returns the current OAuthStorageInterface
    - invalidateAccessToken() + InvalidateAccessToken()  : bool
    @@ -1390,16 +1390,16 @@

    -

    - ALLOWED_PROPERTIES - +

    + MAGIC_PROPERTIES +

    @@ -1407,7 +1407,7 @@

    protected array<string|int, string> - ALLOWED_PROPERTIES + MAGIC_PROPERTIES = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL'] @@ -1644,7 +1644,7 @@

    @@ -1677,7 +1677,7 @@

    @@ -1710,7 +1710,7 @@

    @@ -1794,7 +1794,7 @@

    @@ -1860,7 +1860,7 @@

    @@ -1894,7 +1894,7 @@

    @@ -1927,7 +1927,7 @@

    @@ -1960,7 +1960,7 @@

    @@ -2031,7 +2031,7 @@

    @@ -2115,7 +2115,7 @@

    @@ -2229,7 +2229,7 @@

    @@ -2480,7 +2480,7 @@

    @@ -2529,9 +2529,9 @@

    Return values
    -public " > -

    - invalidateAccessToken() - +

    + InvalidateAccessToken() +

    - + diff --git a/classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html b/classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html similarity index 92% rename from classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html rename to classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html index 53a07657..f86fe30c 100644 --- a/classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html +++ b/classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html @@ -112,7 +112,7 @@

    Fil
    @@ -144,7 +144,7 @@

    >

    initOptions() - +

    protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
    @@ -1780,7 +1283,7 @@

    Return values
    - SettingsContainerInterface + OAuthOptions

    @@ -1792,13 +1295,13 @@

    Return values
    >

    initProvider() - +

    @@ -1837,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1859,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1880,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1961,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2009,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2145,8 +1669,8 @@

  • Constants
  • @@ -2154,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html index 510714b8..d0cd6190 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html @@ -121,7 +121,7 @@

    BattleNetAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    -
    -

    - testMe() - +

    + getEnvPrefix() +

    - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1496,38 +1139,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    Return values

    >

    initOptions() - +

    protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
    @@ -1779,7 +1283,7 @@

    Return values
    - SettingsContainerInterface + OAuthOptions

    @@ -1791,13 +1295,13 @@

    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html index 5903248f..946e8598 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html @@ -121,7 +121,7 @@

    BigCartelAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,17 +198,11 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    $account_id @@ -216,108 +210,78 @@

    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -327,63 +291,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -393,61 +333,49 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    @@ -471,16 +399,16 @@

    -

    - TEST_PROPERTIES - +

    + CACERT +

    @@ -488,8 +416,8 @@

    protected mixed - TEST_PROPERTIES - = [] + CACERT + = __DIR__ . '/../cacert.pem' @@ -499,14 +427,14 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $provider - - - - -

    - - - - - public - OAuthInterface - $provider - - - - - -
    @@ -674,15 +569,15 @@

    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - -
    -
    Return values
    - array<string|int, mixed> -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - +

    + getEnvPrefix() +

    - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1535,38 +1178,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1830,13 +1334,13 @@
    Return values
    >

    initProvider() - +

    @@ -1875,20 +1379,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1897,7 +1401,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1918,30 +1422,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1999,13 +1524,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2053,7 +1578,7 @@

    @@ -2183,8 +1708,8 @@

  • Constants
  • @@ -2192,53 +1717,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html index fe101e35..29f68d82 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html @@ -121,7 +121,7 @@

    BitbucketAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html index e88609d4..2a549f04 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html @@ -121,7 +121,7 @@

    DeezerAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,28 +142,13 @@

    -

    Spotify API usage tests/examples

    - - + -

    - Tags - -
    -
    -
    - link -
    -
    - https://developer.spotify.com/web-api/endpoint-reference/ - -
    -
    @@ -186,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -213,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -336,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -402,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -480,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - - - -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + @@ -1299,211 +1113,25 @@
    Parameters
    -
    -

    - testMe() - +

    + getEnvPrefix() +

    - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1511,38 +1139,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1806,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1851,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1873,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1894,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1975,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2023,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2159,8 +1669,8 @@

  • Constants
  • @@ -2168,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html index c80a7f74..48633eb0 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html @@ -121,7 +121,7 @@

    DeviantArtAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -

    - TEST_PROPERTIES - +

    + CACERT +

    @@ -482,8 +410,8 @@

    protected mixed - TEST_PROPERTIES - = [] + CACERT + = __DIR__ . '/../cacert.pem' @@ -493,14 +421,14 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $provider - - - - -

    - - - - - public - OAuthInterface - $provider - - - - - -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html index 69466ab1..24092455 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html @@ -121,7 +121,7 @@

    DiscogsAPITest - extends OAuth1APITestAbstract + extends OAuth1ProviderLiveTestAbstract
    @@ -142,12 +142,11 @@

    -

    Discogs API test

    - + @@ -172,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -199,114 +198,78 @@

    - $provider + $provider  : OAuth1Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -316,57 +279,33 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() + testMe()  : void
    - testMeErrorException() + testMeErrorException()  : void
    -
    - testOAuth1Instance() - -  : void -
    - -
    - testOAuthInstance() +
    + assertMeErrorException()  : void
    -
    - testProviderInstance() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -376,67 +315,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -454,16 +381,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $uriFactory - +

    + assertMeResponse() + - -

    protected - UriFactoryInterface - $uriFactory - + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -

    - $FACTORIES - +

    + getEnvPrefix() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + getEnvPrefix() : string +
    +
    -
    +
    +
    Return values
    + string
    -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth1Instance() - - -

    - - - - - public - testOAuth1Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1716,13 +1219,13 @@
    Return values
    >

    initProvider() - +

    @@ -1761,20 +1264,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1783,7 +1286,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1804,30 +1307,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1885,13 +1409,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -1933,13 +1457,13 @@
    Parameters
    >

    setUp() - +

    @@ -2069,8 +1593,8 @@

  • Constants
  • @@ -2078,51 +1602,39 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html index aa635539..067eeba1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html @@ -121,7 +121,7 @@

    DiscordAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() + initOptions() -  : LoggerInterface +  : OAuthOptions
    - initOptions() - -  : SettingsContainerInterface -
    - -
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + - - -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> -
    -
    - - - -
    -
    Return values
    - array<string|int, mixed> -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - +

    + getEnvPrefix() +

    - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1496,38 +1139,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html index a4acd5a2..a86c198f 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html @@ -121,7 +121,7 @@

    FlickrAPITest - extends OAuth1APITestAbstract + extends OAuth1ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,95 +198,71 @@

    - $provider + $provider  : OAuth1Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    -
    - $streamFactory - -  : StreamFactoryInterface -
    -
    $test_id @@ -300,24 +276,12 @@

    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -327,57 +291,33 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth1Instance() + testMeErrorException()  : void
    -
    - testOAuthInstance() +
    + assertMeErrorException()  : void
    -
    - testProviderInstance() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,61 +327,49 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    -
    -

    - $requestFactory - - - - -

    - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
    -
    -

    - $responseFactory - - - - -

    - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
    -
    -

    - $streamFactory - - - - -

    - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - -
    +
    + +
    +

    + Methods + + +

    -

    - $FACTORIES - +

    + testMeErrorException() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testMeErrorException() : void +
    +
    +
    -
    - -
    -

    - Methods - - -

    -

    - testGetRequestTarget() - +

    + assertMeResponse() +

    - public - testGetRequestTarget(string $path, string $expected) : void + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void
    @@ -1295,15 +1093,15 @@

    Parameters
    - $path - : string + $response + : ResponseInterface
    - $expected - : string + $json + : object|null
    @@ -1317,180 +1115,25 @@
    Parameters
    -
    -

    - testMe() - +

    + getEnvPrefix() +

    - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth1Instance() - - -

    - - - - - public - testOAuth1Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - public - testProviderInstance() : void + protected + getEnvPrefix() : string
    @@ -1498,38 +1141,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1793,13 +1297,13 @@
    Return values
    >

    initProvider() - +

    @@ -1838,20 +1342,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1860,7 +1364,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1881,30 +1385,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1962,13 +1487,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2016,7 +1541,7 @@

    @@ -2146,8 +1671,8 @@

  • Constants
  • @@ -2155,52 +1680,40 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html index 7197d967..4d9287e0 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html @@ -121,7 +121,7 @@

    FoursquareAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,28 +142,13 @@

    -

    Foursquare API usage tests/examples

    - - + -

    - Tags - -
    -
    -
    - link -
    -
    - https://developer.foursquare.com/docs - -
    -
    @@ -186,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -213,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -336,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -402,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -480,16 +393,16 @@

    -

    - TEST_PROPERTIES - +

    + CACERT +

    @@ -497,8 +410,8 @@

    protected mixed - TEST_PROPERTIES - = [] + CACERT + = __DIR__ . '/../cacert.pem' @@ -508,14 +421,14 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $provider - - - - -

    - - - - - public - OAuthInterface - $provider - - - - - -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - - - -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    -
    -

    - testMagicGet() - - -

    - - - - - public - testMagicGet() : void - -
    -
    - - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + @@ -1330,180 +1113,25 @@

    -

    - testMe() - +

    + getEnvPrefix() +

    - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1511,38 +1139,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - -
    -
    Return values
    - LoggerInterface -
    -
    Return values

    >

    initOptions() - +

    protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
    @@ -1794,7 +1283,7 @@

    Return values
    - SettingsContainerInterface + OAuthOptions

    @@ -1806,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1851,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1873,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1894,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1975,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2023,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2159,8 +1669,8 @@

  • Constants
  • @@ -2168,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html index 8b3e446a..485f21aa 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html @@ -121,7 +121,7 @@

    GitHubAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html index 57e6ad31..684719f4 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html @@ -121,7 +121,7 @@

    GitLabAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html index f7d1cbbf..3410bf05 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html @@ -121,7 +121,7 @@

    GoogleAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,28 +142,13 @@

    -

    Google API usage tests/examples

    - - + -

    - Tags - -
    -
    -
    - link -
    -
    - https://developers.google.com/oauthplayground/ - -
    -
    @@ -186,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -213,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -336,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -402,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -480,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - - - -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + @@ -1299,211 +1113,25 @@
    Parameters
    -
    -

    - testMe() - +

    + getEnvPrefix() +

    - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1511,38 +1139,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1806,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1851,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1873,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1894,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1975,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2023,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2159,8 +1669,8 @@

  • Constants
  • @@ -2168,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html index 170ea3d5..93c6dc86 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html @@ -121,7 +121,7 @@

    GuildWars2APITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,103 +198,79 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    @@ -312,18 +288,6 @@

     : string -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -333,63 +297,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -399,61 +339,49 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    @@ -477,16 +405,16 @@

    -

    - TEST_PROPERTIES - +

    + CACERT +

    @@ -494,8 +422,8 @@

    protected mixed - TEST_PROPERTIES - = [] + CACERT + = __DIR__ . '/../cacert.pem' @@ -505,14 +433,14 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $provider - - - - -

    - - - - - public - OAuthInterface - $provider - - - - - -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -
    -

    - $FACTORIES - - - - -

    - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - +
    -

    - testGetRequestTarget() - +

    + assertMeResponse() +

    - public - testGetRequestTarget(string $path, string $expected) : void + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void
    @@ -1340,15 +1169,15 @@

    Parameters
    - $path - : string + $response + : ResponseInterface
    - $expected - : string + $json + : object|null
    @@ -1362,211 +1191,25 @@
    Parameters
    -
    -

    - testMe() - +

    + getEnvPrefix() +

    - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1574,38 +1217,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1869,13 +1373,13 @@
    Return values
    >

    initProvider() - +

    @@ -1914,20 +1418,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1936,7 +1440,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1957,30 +1461,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -2038,13 +1563,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2092,7 +1617,7 @@

    @@ -2222,8 +1747,8 @@

  • Constants
  • @@ -2231,54 +1756,42 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html index e3b4da6e..a4028c95 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html @@ -121,7 +121,7 @@

    ImgurAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,61 +327,49 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    @@ -465,16 +393,16 @@

    -

    - TEST_PROPERTIES - +

    + CACERT +

    @@ -482,8 +410,8 @@

    protected mixed - TEST_PROPERTIES - = [] + CACERT + = __DIR__ . '/../cacert.pem' @@ -493,14 +421,14 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $provider - - - - -

    - - - - - public - OAuthInterface - $provider - - - - - -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - +

    + initEnvConfig() +

    protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
    -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
    -
    -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2014,7 +1539,7 @@

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,52 +1678,40 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html index f30ed6f5..86497643 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html @@ -121,7 +121,7 @@

    LastFMAPITest - extends OAuthAPITestAbstract + extends OAuthProviderLiveTestAbstract
    @@ -142,28 +142,13 @@

    -

    last.fm API test & examples

    - - + -

    - Tags - -
    -
    -
    - link -
    -
    - https://www.last.fm/api/intro - -
    -
    @@ -186,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -212,109 +197,73 @@

     : LastFM -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -324,51 +273,33 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() + testMe()  : void
    - testMeErrorException() + testMeErrorException()  : void
    -
    - testOAuthInstance() +
    + assertMeErrorException()  : void
    -
    - testProviderInstance() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -378,61 +309,49 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    @@ -456,16 +375,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    -
    -

    - $requestFactory - - - - -

    - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
    -
    -

    - $responseFactory - - - - -

    - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
    - -
    -

    - $uriFactory - - - - -

    - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
    -
    -

    - $FACTORIES - - - - -

    - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + $TEST_USER + = '' @@ -1124,120 +845,6 @@

    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    >

    testMe() - +

    @@ -1276,13 +883,13 @@

    >

    testMeErrorException() - +

    @@ -1302,30 +909,40 @@

    -

    - testOAuthInstance() - +

    + assertMeErrorException() +

    - public - testOAuthInstance() : void + protected + assertMeErrorException(AccessToken $token) : void
    - +
    Parameters
    +
    +
    + $token + : AccessToken +
    +
    + +
    +
    + @@ -1333,30 +950,47 @@

    -

    - testProviderInstance() - +

    + assertMeResponse() +

    - public - testProviderInstance() : void + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + @@ -1364,25 +998,25 @@

    -

    - testTokenInvalidate() - +

    + getEnvPrefix() +

    - public - testTokenInvalidate() : void + protected + getEnvPrefix() : string
    @@ -1390,7 +1024,11 @@

    - +
    +
    Return values
    + string +
    +

    -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    Return values

    >

    initOptions() - +

    protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
    @@ -1642,7 +1168,7 @@

    Return values
    - SettingsContainerInterface + OAuthOptions

    @@ -1654,13 +1180,13 @@

    Return values
    >

    initProvider() - +

    @@ -1699,20 +1225,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1721,7 +1247,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1742,30 +1268,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1823,13 +1370,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -1877,7 +1424,7 @@

    @@ -2007,8 +1554,8 @@

  • Constants
  • @@ -2016,48 +1563,37 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html index 5df5b014..a5c05e01 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html @@ -121,7 +121,7 @@

    MailChimpAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,28 +142,13 @@

    -

    MailChimp API usage tests/examples

    - - + -

    - Tags - -
    -
    -
    - link -
    -
    - http://developer.mailchimp.com/documentation/mailchimp/reference/overview/ - -
    -
    @@ -186,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -213,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -335,18 +284,6 @@

    -
    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    -
    testGetTokenMetadata() @@ -354,51 +291,39 @@

    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -408,67 +333,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -486,16 +399,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testMeErrorException() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testMeErrorException() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeErrorException() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeErrorException(AccessToken $token) : void +
    +
    - +
    Parameters
    +
    +
    + $token + : AccessToken +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - +

    + assertMeResponse() +

    - public - testGetRequestTarget(string $path, string $expected) : void + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void
    @@ -1283,15 +1128,15 @@

    Parameters
    - $path - : string + $response + : ResponseInterface
    - $expected - : string + $json + : object|null
    @@ -1305,242 +1150,25 @@
    Parameters
    -

    - testGetTokenMetadata() - - -

    - - - - - public - testGetTokenMetadata() : void - -
    -
    - - - - - -
    - -
    -

    - testMe() - +

    + getEnvPrefix() +

    - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1548,38 +1176,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1843,13 +1332,13 @@
    Return values
    >

    initProvider() - +

    @@ -1888,20 +1377,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1910,7 +1399,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1931,30 +1420,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -2012,13 +1522,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2060,13 +1570,13 @@
    Parameters
    >

    setUp() - +

    @@ -2196,8 +1706,8 @@

  • Constants
  • @@ -2205,54 +1715,42 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html index 7643e927..83726249 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html @@ -121,7 +121,7 @@

    MastodonAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,28 +142,13 @@

    -

    Spotify API usage tests/examples

    - - + -

    - Tags - -
    -
    -
    - link -
    -
    - https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md - -
    -
    @@ -186,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -213,124 +198,88 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testInstance - -  : string -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES + $testInstance -  : array<string|int, mixed> +  : string

    @@ -342,63 +291,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() + testMe()  : void
    - testMe() + testMeErrorException()  : void
    - testMeErrorException() + testRequestCredentialsToken()  : void
    -
    - testOAuth2Instance() - -  : void -
    - -
    - testOAuthInstance() - -  : void -
    - -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -408,61 +333,49 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    @@ -486,16 +399,16 @@

    -

    - TEST_PROPERTIES - +

    + CACERT +

    @@ -503,8 +416,8 @@

    protected mixed - TEST_PROPERTIES - = [] + CACERT + = __DIR__ . '/../cacert.pem' @@ -514,14 +427,14 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $provider - - - - -

    - - - - - public - OAuthInterface - $provider - - - - - -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - - - - -

    - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
    -
    - -
    -

    - Methods - - -

    -
    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    -
    -

    - testGetRequestTarget() - +

    + assertMeResponse() +

    - public - testGetRequestTarget(string $path, string $expected) : void + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void
    @@ -1316,15 +1130,15 @@

    Parameters
    - $path - : string + $response + : ResponseInterface
    - $expected - : string + $json + : object|null
    @@ -1338,211 +1152,25 @@
    Parameters
    -
    -

    - testMe() - +

    + getEnvPrefix() +

    - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
    @@ -1550,38 +1178,11 @@

    - -

    -
    -

    - testTokenInvalidate() - - -

    - - - - - public - testTokenInvalidate() : void - -
    -
    - - - +
    +
    Return values
    + string +
    -
    -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1845,13 +1334,13 @@
    Return values
    >

    initProvider() - +

    @@ -1890,20 +1379,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1912,7 +1401,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1933,30 +1422,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -2014,13 +1524,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2068,7 +1578,7 @@

    @@ -2198,8 +1708,8 @@

  • Constants
  • @@ -2207,53 +1717,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html index 74f10941..b2d1ae55 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html @@ -121,7 +121,7 @@

    MicrosoftGraphAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -

    - TEST_PROPERTIES - +

    + CACERT +

    @@ -482,8 +410,8 @@

    protected mixed - TEST_PROPERTIES - = [] + CACERT + = __DIR__ . '/../cacert.pem' @@ -493,14 +421,14 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $provider - - - - -

    - - - - - public - OAuthInterface - $provider - - - - - -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    + + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - - -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html index ef7981e5..4cb982e9 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html @@ -121,7 +121,7 @@

    MixcloudAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -198,120 +198,84 @@

    - $provider + $provider  : OAuth2Interface
    -
    - $provider - -  : OAuthInterface -
    -
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +
    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html index eac242e9..24563764 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html @@ -121,7 +121,7 @@

    MusicBrainzAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
    @@ -142,7 +142,7 @@

    @@ -171,15 +171,15 @@

    - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
    - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
    @@ -192,120 +192,90 @@

    - $provider + $provider -  : OAuth2Interface +  : MusicBrainz
    - $provider + $provider -  : OAuthInterface +  : OAuth2Interface
    - $CFG + $CFG_DIR  : string
    - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
    - $dotEnv + $dotEnv  : DotEnv
    - $ENV + $ENV_IS_CI -  : string +  : bool
    - $http + $ENV_PREFIX -  : ClientInterface +  : string
    - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
    - $logger + $logger  : LoggerInterface
    - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
    - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
    - $reflection + $reflection  : ReflectionClass
    - $requestFactory - -  : RequestFactoryInterface -
    - -
    - $responseFactory - -  : ResponseFactoryInterface -
    - -
    - $storage + $storage  : OAuthStorageInterface
    - $streamFactory - -  : StreamFactoryInterface -
    - -
    - $testuser + $TEST_USER  : string
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    -
    - $uriFactory - -  : UriFactoryInterface -
    - -
    - $FACTORIES - -  : array<string|int, mixed> -
    -

    @@ -314,12 +284,6 @@

    -
    - requestTargetProvider() - -  : array<string|int, mixed> -
    -
    testArtistId() @@ -333,57 +297,39 @@

    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -393,67 +339,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() + initOptions() -  : LoggerInterface +  : OAuthOptions
    - initOptions() - -  : SettingsContainerInterface -
    - -
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -471,16 +405,16 @@

    -

    - TEST_RESPONSES - +

    + PROJECT_ROOT +

    -
    -

    - $requestFactory - - - - -

    - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
    -
    -

    - $responseFactory - - - - -

    - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
    - -
    -

    - $uriFactory - - - - -

    - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
    -
    -

    - $FACTORIES - - - - -

    - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + $TEST_USER + = '' @@ -1172,41 +941,6 @@

    -

    - requestTargetProvider() - - -

    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
    -
    - - - - -
    -
    Return values
    - array<string|int, mixed> -
    - -
    - -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    -
    >

    testMe() - +

    @@ -1386,13 +1041,13 @@

    >

    testMeErrorException() - +

    @@ -1415,13 +1070,13 @@

    -public " > -

    - testOAuth2Instance() - +

    + testRequestCredentialsToken() +

    @@ -321,63 +285,39 @@

    - requestTargetProvider() - -  : array<string|int, mixed> -
    - -
    - testGetRequestTarget() - -  : void -
    - -
    - testMagicGet() - -  : void -
    - -
    - testMe() - -  : void -
    - -
    - testMeErrorException() + testMe()  : void
    - testOAuth2Instance() + testMeErrorException()  : void
    - testOAuthInstance() + testRequestCredentialsToken()  : void
    -
    - testProviderInstance() +
    + assertMeErrorException()  : void
    -
    - testRequestCredentialsToken() +
    + assertMeResponse()  : void
    -
    - testTokenInvalidate() +
    + getEnvPrefix() -  : void +  : string
    @@ -387,67 +327,55 @@

    - getReflectionProperty() + getReflectionProperty()  : mixed
    - initFactories() + initEnvConfig()  : void
    - initHttp() - -  : ClientInterface -
    - -
    - initLogger() - -  : LoggerInterface -
    - -
    - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
    - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
    - initStorage() + initStorage()  : OAuthStorageInterface
    - initTestProperties() + invokeReflection() -  : void +  : object
    - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
    - setReflectionProperty() + setReflectionProperty()  : void
    - setUp() + setUp()  : void
    @@ -465,16 +393,16 @@

    -
    -protected " > -

    - $CFG - +

    + $CFG_DIR +

    +

    + +
    +

    + Methods + + +

    -

    - $testuser - +

    + testRequestCredentialsToken() + - -

    -

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
    +
    +
    -

    - $FACTORIES - +

    + assertMeResponse() + - -

    - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
    +
    - +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + +
    -
    - -
    -

    - Methods - - -

    -

    - requestTargetProvider() - +

    + getEnvPrefix() +

    - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
    @@ -1229,305 +1141,9 @@

    Return values
    - array<string|int, mixed> + string
    -

    -
    -

    - testGetRequestTarget() - - -

    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
    -
    - -
    Parameters
    -
    -
    - $path - : string -
    -
    - -
    -
    - $expected - : string -
    -
    - -
    -
    - - - - -
    - -
    -

    - testMe() - - -

    - - - - - public - testMe() : void - -
    -
    - - - - - -
    -
    -

    - testMeErrorException() - - -

    - - - - - public - testMeErrorException() : void - -
    -
    - - - - - -
    -
    -

    - testOAuth2Instance() - - -

    - - - - - public - testOAuth2Instance() : void - -
    -
    - - - - - -
    - -
    -

    - testProviderInstance() - - -

    - - - - - public - testProviderInstance() : void - -
    -
    - - - - - -
    -
    -

    - testRequestCredentialsToken() - - -

    - - - - - public - testRequestCredentialsToken() : void - -
    -
    - - - - - -
    - -
    -

    - initHttp() - - -

    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
    -
    - -
    Parameters
    -
    -
    - $options - : SettingsContainerInterface -
    -
    - -
    -
    - $logger - : LoggerInterface -
    -
    - -
    -
    - - - -
    -
    Return values
    - ClientInterface -
    - -
    -
    -

    - initLogger() - - -

    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
    -
    - -
    Parameters
    -
    -
    - $is_ci - : bool -
    -
    - -
    -
    - - - -
    -
    Return values
    - LoggerInterface -
    -
    @@ -1791,13 +1295,13 @@
    Return values
    >

    initProvider() - +

    @@ -1836,20 +1340,20 @@
    Return values
    >

    initStorage() - +

    protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
    @@ -1858,7 +1362,7 @@
    Parameters
    $options - : SettingsContainerInterface + : OAuthOptions
    @@ -1879,30 +1383,51 @@
    Return values
    -protected " > -

    - initTestProperties() - +

    + invokeReflection() +

    protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
    - - +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + +
    +
    Return values
    + object +
    +
    >

    invokeReflectionMethod() - +

    @@ -1960,13 +1485,13 @@
    Parameters
    >

    setReflectionProperty() - +

    @@ -2008,13 +1533,13 @@
    Parameters
    >

    setUp() - +

    @@ -2144,8 +1669,8 @@

  • Constants
  • @@ -2153,53 +1678,41 @@

  • Methods
  • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html new file mode 100644 index 00000000..8a8f7f91 --- /dev/null +++ b/classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html @@ -0,0 +1,1635 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
    +

    Documentation

    + + + + + +
    + +
    +
    + + + + +
    +
    + + +
    +

    + OAuth1ProviderLiveTestAbstract + + + extends OAuthProviderLiveTestAbstract + + +
    + in package + +
    + + +

    + +
    + + +
    AbstractYes
    + +
    + + + + + + + + + +

    + Table of Contents + + +

    + + + + + + + +

    + Constants + + +

    +
    +
    + CACERT + +  = __DIR__ . '/../cacert.pem' +
    + +
    + PROJECT_ROOT + +  = __DIR__ . '/../../' +
    + +
    + + +

    + Properties + + +

    +
    +
    + $provider + +  : OAuth1Interface +
    + +
    + $CFG_DIR + +  : string +
    + +
    + $dotEnv + +  : DotEnv +
    + +
    + $ENV_IS_CI + +  : bool +
    + +
    + $ENV_PREFIX + +  : string +
    + +
    + $HTTP_CLIENT_FACTORY + +  : string +
    + +
    + $logger + +  : LoggerInterface +
    + +
    + $options + +  : OAuthOptions +
    + +
    + $provider + +  : OAuthInterface +
    + +
    + $reflection + +  : ReflectionClass +
    + +
    + $storage + +  : OAuthStorageInterface +
    + +
    + $TEST_USER + +  : string +
    +
    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
    + +
    + +

    + Methods + + +

    +
    +
    + testMe() + +  : void +
    + +
    + testMeErrorException() + +  : void +
    + +
    + assertMeErrorException() + +  : void +
    + +
    + assertMeResponse() + +  : void +
    + +
    + getEnvPrefix() + +  : string|null +
    +
    returns the prefix in the .env file for the current provider
    + +
    + getProviderFQCN() + +  : string +
    +
    returns the fully qualified class name (FQCN) of the test subject
    + +
    + getReflectionProperty() + +  : mixed +
    + +
    + initEnvConfig() + +  : void +
    + +
    + 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 + + +

    + + + + + +
    +

    + $HTTP_CLIENT_FACTORY + + + + +

    + + + + + protected + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class + + + + + +
    + + + + + +
    +

    + $TEST_USER + + + + +

    + + +

    a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

    + + + protected + string + $TEST_USER + = '' + + + + + +
    +
    + +
    +

    + Methods + + +

    + + + +
    +

    + assertMeResponse() + + +

    + + + + + protected + abstract assertMeResponse(ResponseInterface $response, object|null $json) : void + +
    +
    + +
    Parameters
    +
    +
    + $response + : ResponseInterface +
    +
    + +
    +
    + $json + : object|null +
    +
    + +
    +
    + + + + +
    +
    +

    + getEnvPrefix() + + +

    + + +

    returns the prefix in the .env file for the current provider

    + + + protected + abstract getEnvPrefix() : string|null + +
    +
    + + + + +
    +
    Return values
    + string|null +
    + +
    +
    +

    + getProviderFQCN() + + +

    + + +

    returns the fully qualified class name (FQCN) of the test subject

    + + + protected + abstract getProviderFQCN() : string + +
    +
    + + + + +
    +
    Return values
    + string +
    + +
    +
    +

    + getReflectionProperty() + + +

    + + + + + protected + getReflectionProperty(string $property) : mixed + +
    +
    + +
    Parameters
    +
    +
    + $property + : string +
    +
    + +
    +
    + + + + +
    + + + + +
    +

    + invokeReflection() + + +

    + + + + + protected + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object + +
    +
    + +
    Parameters
    +
    +
    + $FQCN + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + + + +
    +
    Return values
    + object +
    + +
    +
    +

    + invokeReflectionMethod() + + +

    + + + + + protected + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + +
    +
    + +
    Parameters
    +
    +
    + $method + : string +
    +
    + +
    +
    + $args + : array<string|int, mixed> + = []
    +
    + +
    +
    + + + + +
    +
    +

    + setReflectionProperty() + + +

    + + + + + protected + setReflectionProperty(string $property, mixed $value) : void + +
    +
    + +
    Parameters
    +
    +
    + $property + : string +
    +
    + +
    +
    + $value + : mixed +
    +
    + +
    +
    + + + + +
    + +
    + +
    +
    +
    +
    +
    
    +        
    + +
    +
    + + + +
    +
    +
    + +
    + On this page + + +
    + +
    +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      + + +
      + + + + + + + + diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html new file mode 100644 index 00000000..f3a1297e --- /dev/null +++ b/classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html @@ -0,0 +1,1713 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
      +

      Documentation

      + + + + + +
      + +
      +
      + + + + +
      +
      + + +
      +

      + OAuth2ProviderLiveTestAbstract + + + extends OAuthProviderLiveTestAbstract + + +
      + in package + +
      + + +

      + +
      + + +
      AbstractYes
      + +
      + + + + + + + + + +

      + Table of Contents + + +

      + + + + + + + +

      + Constants + + +

      +
      +
      + CACERT + +  = __DIR__ . '/../cacert.pem' +
      + +
      + PROJECT_ROOT + +  = __DIR__ . '/../../' +
      + +
      + + +

      + Properties + + +

      +
      +
      + $provider + +  : OAuth2Interface +
      + +
      + $CFG_DIR + +  : string +
      + +
      + $clientCredentialsScopes + +  : array<string|int, mixed> +
      + +
      + $dotEnv + +  : DotEnv +
      + +
      + $ENV_IS_CI + +  : bool +
      + +
      + $ENV_PREFIX + +  : string +
      + +
      + $HTTP_CLIENT_FACTORY + +  : string +
      + +
      + $logger + +  : LoggerInterface +
      + +
      + $options + +  : OAuthOptions +
      + +
      + $provider + +  : OAuthInterface +
      + +
      + $reflection + +  : ReflectionClass +
      + +
      + $storage + +  : OAuthStorageInterface +
      + +
      + $TEST_USER + +  : string +
      +
      a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
      + +
      + +

      + Methods + + +

      +
      +
      + testMe() + +  : void +
      + +
      + testMeErrorException() + +  : void +
      + +
      + testRequestCredentialsToken() + +  : void +
      + +
      + assertMeErrorException() + +  : void +
      + +
      + assertMeResponse() + +  : void +
      + +
      + getEnvPrefix() + +  : string|null +
      +
      returns the prefix in the .env file for the current provider
      + +
      + getProviderFQCN() + +  : string +
      +
      returns the fully qualified class name (FQCN) of the test subject
      + +
      + getReflectionProperty() + +  : mixed +
      + +
      + initEnvConfig() + +  : void +
      + +
      + 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 + + +

      + + +
      +

      + $clientCredentialsScopes + + + + +

      + + + + + protected + array<string|int, mixed> + $clientCredentialsScopes + = [] + + + + + +
      + + + +
      +

      + $HTTP_CLIENT_FACTORY + + + + +

      + + + + + protected + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class + + + + + +
      + + + + + +
      +

      + $TEST_USER + + + + +

      + + +

      a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

      + + + protected + string + $TEST_USER + = '' + + + + + +
      +
      + +
      +

      + Methods + + +

      + + + + +
      +

      + assertMeResponse() + + +

      + + + + + protected + abstract assertMeResponse(ResponseInterface $response, object|null $json) : void + +
      +
      + +
      Parameters
      +
      +
      + $response + : ResponseInterface +
      +
      + +
      +
      + $json + : object|null +
      +
      + +
      +
      + + + + +
      +
      +

      + getEnvPrefix() + + +

      + + +

      returns the prefix in the .env file for the current provider

      + + + protected + abstract getEnvPrefix() : string|null + +
      +
      + + + + +
      +
      Return values
      + string|null +
      + +
      +
      +

      + getProviderFQCN() + + +

      + + +

      returns the fully qualified class name (FQCN) of the test subject

      + + + protected + abstract getProviderFQCN() : string + +
      +
      + + + + +
      +
      Return values
      + string +
      + +
      +
      +

      + getReflectionProperty() + + +

      + + + + + protected + getReflectionProperty(string $property) : mixed + +
      +
      + +
      Parameters
      +
      +
      + $property + : string +
      +
      + +
      +
      + + + + +
      + + + + +
      +

      + invokeReflection() + + +

      + + + + + protected + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object + +
      +
      + +
      Parameters
      +
      +
      + $FQCN + : string +
      +
      + +
      +
      + $args + : array<string|int, mixed> + = []
      +
      + +
      +
      + + + +
      +
      Return values
      + object +
      + +
      +
      +

      + invokeReflectionMethod() + + +

      + + + + + protected + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + +
      +
      + +
      Parameters
      +
      +
      + $method + : string +
      +
      + +
      +
      + $args + : array<string|int, mixed> + = []
      +
      + +
      +
      + + + + +
      +
      +

      + setReflectionProperty() + + +

      + + + + + protected + setReflectionProperty(string $property, mixed $value) : void + +
      +
      + +
      Parameters
      +
      +
      + $property + : string +
      +
      + +
      +
      + $value + : mixed +
      +
      + +
      +
      + + + + +
      + +
      + +
      +
      +
      +
      +
      
      +        
      + +
      +
      + + + +
      +
      +
      + +
      + On this page + + +
      + +
      +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        + + +
        + + + + + + + + diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html new file mode 100644 index 00000000..366730d3 --- /dev/null +++ b/classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html @@ -0,0 +1,1595 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
        +

        Documentation

        + + + + + +
        + +
        +
        + + + + +
        +
        + + +
        +

        + OAuthProviderLiveTestAbstract + + + extends ProviderLiveTestAbstract + + +
        + in package + +
        + + +

        + +
        + + +
        AbstractYes
        + +
        + + + + + + + + + +

        + Table of Contents + + +

        + + + + + + + +

        + Constants + + +

        +
        +
        + CACERT + +  = __DIR__ . '/../cacert.pem' +
        + +
        + PROJECT_ROOT + +  = __DIR__ . '/../../' +
        + +
        + + +

        + Properties + + +

        +
        +
        + $CFG_DIR + +  : string +
        + +
        + $dotEnv + +  : DotEnv +
        + +
        + $ENV_IS_CI + +  : bool +
        + +
        + $ENV_PREFIX + +  : string +
        + +
        + $HTTP_CLIENT_FACTORY + +  : string +
        + +
        + $logger + +  : LoggerInterface +
        + +
        + $options + +  : OAuthOptions +
        + +
        + $provider + +  : OAuthInterface +
        + +
        + $reflection + +  : ReflectionClass +
        + +
        + $storage + +  : OAuthStorageInterface +
        + +
        + $TEST_USER + +  : string +
        +
        a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
        + +
        + +

        + Methods + + +

        +
        +
        + testMe() + +  : void +
        + +
        + testMeErrorException() + +  : void +
        + +
        + assertMeErrorException() + +  : void +
        + +
        + assertMeResponse() + +  : void +
        + +
        + getEnvPrefix() + +  : string|null +
        +
        returns the prefix in the .env file for the current provider
        + +
        + getProviderFQCN() + +  : string +
        +
        returns the fully qualified class name (FQCN) of the test subject
        + +
        + getReflectionProperty() + +  : mixed +
        + +
        + initEnvConfig() + +  : void +
        + +
        + 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 + + +

        + + + + +
        +

        + $HTTP_CLIENT_FACTORY + + + + +

        + + + + + protected + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class + + + + + +
        + + + + + +
        +

        + $TEST_USER + + + + +

        + + +

        a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

        + + + protected + string + $TEST_USER + = '' + + + + + +
        +
        + +
        +

        + Methods + + +

        + + + +
        +

        + assertMeResponse() + + +

        + + + + + protected + abstract assertMeResponse(ResponseInterface $response, object|null $json) : void + +
        +
        + +
        Parameters
        +
        +
        + $response + : ResponseInterface +
        +
        + +
        +
        + $json + : object|null +
        +
        + +
        +
        + + + + +
        +
        +

        + getEnvPrefix() + + +

        + + +

        returns the prefix in the .env file for the current provider

        + + + protected + abstract getEnvPrefix() : string|null + +
        +
        + + + + +
        +
        Return values
        + string|null +
        + +
        +
        +

        + getProviderFQCN() + + +

        + + +

        returns the fully qualified class name (FQCN) of the test subject

        + + + protected + abstract getProviderFQCN() : string + +
        +
        + + + + +
        +
        Return values
        + string +
        + +
        +
        +

        + getReflectionProperty() + + +

        + + + + + protected + getReflectionProperty(string $property) : mixed + +
        +
        + +
        Parameters
        +
        +
        + $property + : string +
        +
        + +
        +
        + + + + +
        + + + + +
        +

        + invokeReflection() + + +

        + + + + + protected + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object + +
        +
        + +
        Parameters
        +
        +
        + $FQCN + : string +
        +
        + +
        +
        + $args + : array<string|int, mixed> + = []
        +
        + +
        +
        + + + +
        +
        Return values
        + object +
        + +
        +
        +

        + invokeReflectionMethod() + + +

        + + + + + protected + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + +
        +
        + +
        Parameters
        +
        +
        + $method + : string +
        +
        + +
        +
        + $args + : array<string|int, mixed> + = []
        +
        + +
        +
        + + + + +
        +
        +

        + setReflectionProperty() + + +

        + + + + + protected + setReflectionProperty(string $property, mixed $value) : void + +
        +
        + +
        Parameters
        +
        +
        + $property + : string +
        +
        + +
        +
        + $value + : mixed +
        +
        + +
        +
        + + + + +
        + +
        + +
        +
        +
        +
        +
        
        +        
        + +
        +
        + + + +
        +
        +
        + +
        + On this page + + +
        + +
        +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          + + +
          + + + + + + + + diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html index 33d27b46..b50790db 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html @@ -121,7 +121,7 @@

          OpenCachingAPITest - extends OAuth1APITestAbstract + extends OAuth1ProviderLiveTestAbstract
          @@ -142,7 +142,7 @@

          @@ -171,15 +171,15 @@

          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
          @@ -198,114 +198,78 @@

          - $provider + $provider  : OAuth1Interface
          -
          - $provider - -  : OAuthInterface -
          -
          - $CFG + $CFG_DIR  : string
          - $dotEnv + $dotEnv  : DotEnv
          - $ENV + $ENV_IS_CI -  : string +  : bool
          - $http + $ENV_PREFIX -  : ClientInterface +  : string
          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
          - $logger + $logger  : LoggerInterface
          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
          - $reflection + $reflection  : ReflectionClass
          - $requestFactory - -  : RequestFactoryInterface -
          - -
          - $responseFactory - -  : ResponseFactoryInterface -
          - -
          - $storage + $storage  : OAuthStorageInterface
          - $streamFactory - -  : StreamFactoryInterface -
          - -
          - $testuser + $TEST_USER  : string
          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
          -
          - $uriFactory - -  : UriFactoryInterface -
          - -
          - $FACTORIES - -  : array<string|int, mixed> -
          -

          @@ -315,57 +279,33 @@

          - requestTargetProvider() - -  : array<string|int, mixed> -
          - -
          - testGetRequestTarget() - -  : void -
          - -
          - testMagicGet() - -  : void -
          - -
          - testMe() - -  : void -
          - -
          - testMeErrorException() + testMe()  : void
          - testOAuth1Instance() + testMeErrorException()  : void
          -
          - testOAuthInstance() +
          + assertMeErrorException()  : void
          -
          - testProviderInstance() +
          + assertMeResponse()  : void
          -
          - testTokenInvalidate() +
          + getEnvPrefix() -  : void +  : string
          @@ -375,67 +315,55 @@

          - getReflectionProperty() + getReflectionProperty()  : mixed
          - initFactories() + initEnvConfig()  : void
          - initHttp() - -  : ClientInterface -
          - -
          - initLogger() - -  : LoggerInterface -
          - -
          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
          - initStorage() + initStorage()  : OAuthStorageInterface
          - initTestProperties() + invokeReflection() -  : void +  : object
          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
          - setReflectionProperty() + setReflectionProperty()  : void
          - setUp() + setUp()  : void
          @@ -453,16 +381,16 @@

          -
          -protected " > -

          - $CFG - +

          + $CFG_DIR +

          +
          + +
          +

          + Methods + + +

          -

          - $uriFactory - +

          + assertMeResponse() + - -

          protected - UriFactoryInterface - $uriFactory - + assertMeResponse(ResponseInterface $response, object|null $json) : void +
          +
          - +
          Parameters
          +
          +
          + $response + : ResponseInterface +
          +
          + +
          +
          + $json + : object|null +
          +
          + +
          +
          + +
          -

          - $FACTORIES - +

          + getEnvPrefix() + - -

          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + getEnvPrefix() : string +
          +
          -
          +
          +
          Return values
          + string
          -
          -

          - Methods - - -

          -
          -

          - requestTargetProvider() - - -

          - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
          -
          - - - - -
          -
          Return values
          - array<string|int, mixed> -
          - -
          -
          -

          - testGetRequestTarget() - - -

          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
          -
          - -
          Parameters
          -
          -
          - $path - : string -
          -
          - -
          -
          - $expected - : string -
          -
          - -
          -
          - - - - -
          - -
          -

          - testMe() - - -

          - - - - - public - testMe() : void - -
          -
          - - - - - -
          -
          -

          - testMeErrorException() - - -

          - - - - - public - testMeErrorException() : void - -
          -
          - - - - - -
          -
          -

          - testOAuth1Instance() - - -

          - - - - - public - testOAuth1Instance() : void - -
          -
          - - - - - -
          - -
          -

          - testProviderInstance() - - -

          - - - - - public - testProviderInstance() : void - -
          -
          - - - - - -
          - + -
          -

          - initHttp() - +

          + initEnvConfig() +

          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
          -
          Parameters
          -
          -
          - $options - : SettingsContainerInterface -
          -
          - -
          -
          - $logger - : LoggerInterface -
          -
          - -
          -
          - - -
          -
          Return values
          - ClientInterface -
          - -
          -
          -

          - initLogger() - - -

          - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
          -
          - -
          Parameters
          -
          -
          - $is_ci - : bool -
          -
          - -
          -
          - -
          -
          Return values
          - LoggerInterface -
          -
          @@ -1715,13 +1219,13 @@
          Return values
          >

          initProvider() - +

          @@ -1760,20 +1264,20 @@
          Return values
          >

          initStorage() - +

          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
          @@ -1782,7 +1286,7 @@
          Parameters
          $options - : SettingsContainerInterface + : OAuthOptions
          @@ -1803,30 +1307,51 @@
          Return values
          -protected " > -

          - initTestProperties() - +

          + invokeReflection() +

          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
          - - +
          Parameters
          +
          +
          + $FQCN + : string +
          +
          + +
          +
          + $args + : array<string|int, mixed> + = []
          +
          + +
          +
          + +
          +
          Return values
          + object +
          +
          >

          invokeReflectionMethod() - +

          @@ -1884,13 +1409,13 @@
          Parameters
          >

          setReflectionProperty() - +

          @@ -1932,13 +1457,13 @@
          Parameters
          >

          setUp() - +

          @@ -2068,8 +1593,8 @@

        • Constants
        • @@ -2077,51 +1602,39 @@

        • Methods
        • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html index 2348da2b..c04811a9 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html @@ -121,7 +121,7 @@

          OpenStreetmap2APITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
          @@ -142,7 +142,7 @@

          @@ -171,15 +171,15 @@

          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
          @@ -198,120 +198,84 @@

          - $provider + $provider  : OAuth2Interface
          -
          - $provider - -  : OAuthInterface -
          -
          - $CFG + $CFG_DIR  : string
          - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
          - $dotEnv + $dotEnv  : DotEnv
          - $ENV + $ENV_IS_CI -  : string +  : bool
          - $http + $ENV_PREFIX -  : ClientInterface +  : string
          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
          - $logger + $logger  : LoggerInterface
          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
          - $reflection + $reflection  : ReflectionClass
          - $requestFactory - -  : RequestFactoryInterface -
          - -
          - $responseFactory - -  : ResponseFactoryInterface -
          - -
          - $storage + $storage  : OAuthStorageInterface
          - $streamFactory - -  : StreamFactoryInterface -
          - -
          - $testuser + $TEST_USER  : string
          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
          -
          - $uriFactory - -  : UriFactoryInterface -
          - -
          - $FACTORIES - -  : array<string|int, mixed> -
          -

          @@ -321,63 +285,39 @@

          - requestTargetProvider() - -  : array<string|int, mixed> -
          - -
          - testGetRequestTarget() - -  : void -
          - -
          - testMagicGet() - -  : void -
          - -
          - testMe() - -  : void -
          - -
          - testMeErrorException() + testMe()  : void
          - testOAuth2Instance() + testMeErrorException()  : void
          - testOAuthInstance() + testRequestCredentialsToken()  : void
          -
          - testProviderInstance() +
          + assertMeErrorException()  : void
          -
          - testRequestCredentialsToken() +
          + assertMeResponse()  : void
          -
          - testTokenInvalidate() +
          + getEnvPrefix() -  : void +  : string
          @@ -387,67 +327,55 @@

          - getReflectionProperty() + getReflectionProperty()  : mixed
          - initFactories() + initEnvConfig()  : void
          - initHttp() - -  : ClientInterface -
          - -
          - initLogger() - -  : LoggerInterface -
          - -
          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
          - initStorage() + initStorage()  : OAuthStorageInterface
          - initTestProperties() + invokeReflection() -  : void +  : object
          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
          - setReflectionProperty() + setReflectionProperty()  : void
          - setUp() + setUp()  : void
          @@ -465,16 +393,16 @@

          -
          -protected " > -

          - $CFG - +

          + $CFG_DIR +

          +
          + +
          +

          + Methods + + +

          -

          - $testuser - +

          + testRequestCredentialsToken() + - -

          -

          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

          - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
          +
          +
          -

          - $FACTORIES - +

          + assertMeResponse() + - -

          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
          +
          - +
          Parameters
          +
          +
          + $response + : ResponseInterface +
          +
          + +
          +
          + $json + : object|null +
          +
          + +
          +
          + +
          -
          - -
          -

          - Methods - - -

          -

          - requestTargetProvider() - +

          + getEnvPrefix() +

          - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
          @@ -1229,305 +1141,9 @@

          Return values
          - array<string|int, mixed> + string
          -

          -
          -

          - testGetRequestTarget() - - -

          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
          -
          - -
          Parameters
          -
          -
          - $path - : string -
          -
          - -
          -
          - $expected - : string -
          -
          - -
          -
          - - - - -
          - - -
          -

          - testMeErrorException() - - -

          - - - - - public - testMeErrorException() : void - -
          -
          - - - - - -
          -
          -

          - testOAuth2Instance() - - -

          - - - - - public - testOAuth2Instance() : void - -
          -
          - - - - - -
          - -
          -

          - testProviderInstance() - - -

          - - - - - public - testProviderInstance() : void - -
          -
          - - - - - -
          -
          -

          - testRequestCredentialsToken() - - -

          - - - - - public - testRequestCredentialsToken() : void - -
          -
          - - - - - -
          - -
          -

          - initHttp() - +

          + initEnvConfig() +

          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
          -
          Parameters
          -
          -
          - $options - : SettingsContainerInterface -
          -
          - -
          -
          - $logger - : LoggerInterface -
          -
          - -
          -
          - - -
          -
          Return values
          - ClientInterface -
          - -
          -
          -

          - initLogger() - - -

          - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
          -
          -
          Parameters
          -
          -
          - $is_ci - : bool -
          -
          - -
          -
          - - - -
          -
          Return values
          - LoggerInterface -
          -
          @@ -1791,13 +1295,13 @@
          Return values
          >

          initProvider() - +

          @@ -1836,20 +1340,20 @@
          Return values
          >

          initStorage() - +

          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
          @@ -1858,7 +1362,7 @@
          Parameters
          $options - : SettingsContainerInterface + : OAuthOptions
          @@ -1879,30 +1383,51 @@
          Return values
          -protected " > -

          - initTestProperties() - +

          + invokeReflection() +

          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
          - - +
          Parameters
          +
          +
          + $FQCN + : string +
          +
          + +
          +
          + $args + : array<string|int, mixed> + = []
          +
          + +
          +
          + +
          +
          Return values
          + object +
          +
          >

          invokeReflectionMethod() - +

          @@ -1960,13 +1485,13 @@
          Parameters
          >

          setReflectionProperty() - +

          @@ -2008,13 +1533,13 @@
          Parameters
          >

          setUp() - +

          @@ -2144,8 +1669,8 @@

        • Constants
        • @@ -2153,53 +1678,41 @@

        • Methods
        • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html index 82cbfa19..5c630e14 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html @@ -121,7 +121,7 @@

          OpenStreetmapAPITest - extends OAuth1APITestAbstract + extends OAuth1ProviderLiveTestAbstract
          @@ -142,7 +142,7 @@

          @@ -171,15 +171,15 @@

          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
          @@ -198,114 +198,78 @@

          - $provider + $provider  : OAuth1Interface
          -
          - $provider - -  : OAuthInterface -
          -
          - $CFG + $CFG_DIR  : string
          - $dotEnv + $dotEnv  : DotEnv
          - $ENV + $ENV_IS_CI -  : string +  : bool
          - $http + $ENV_PREFIX -  : ClientInterface +  : string
          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
          - $logger + $logger  : LoggerInterface
          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
          - $reflection + $reflection  : ReflectionClass
          - $requestFactory - -  : RequestFactoryInterface -
          - -
          - $responseFactory - -  : ResponseFactoryInterface -
          - -
          - $storage + $storage  : OAuthStorageInterface
          - $streamFactory - -  : StreamFactoryInterface -
          - -
          - $testuser + $TEST_USER  : string
          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
          -
          - $uriFactory - -  : UriFactoryInterface -
          - -
          - $FACTORIES - -  : array<string|int, mixed> -
          -

          @@ -315,57 +279,33 @@

          - requestTargetProvider() - -  : array<string|int, mixed> -
          - -
          - testGetRequestTarget() - -  : void -
          - -
          - testMagicGet() - -  : void -
          - -
          - testMe() - -  : void -
          - -
          - testMeErrorException() + testMe()  : void
          - testOAuth1Instance() + testMeErrorException()  : void
          -
          - testOAuthInstance() +
          + assertMeErrorException()  : void
          -
          - testProviderInstance() +
          + assertMeResponse()  : void
          -
          - testTokenInvalidate() +
          + getEnvPrefix() -  : void +  : string
          @@ -375,67 +315,55 @@

          - getReflectionProperty() + getReflectionProperty()  : mixed
          - initFactories() + initEnvConfig()  : void
          - initHttp() - -  : ClientInterface -
          - -
          - initLogger() - -  : LoggerInterface -
          - -
          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
          - initStorage() + initStorage()  : OAuthStorageInterface
          - initTestProperties() + invokeReflection() -  : void +  : object
          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
          - setReflectionProperty() + setReflectionProperty()  : void
          - setUp() + setUp()  : void
          @@ -453,16 +381,16 @@

          -
          -protected " > -

          - $CFG - +

          + $CFG_DIR +

          +
          + +
          +

          + Methods + + +

          -

          - $uriFactory - +

          + assertMeResponse() + - -

          protected - UriFactoryInterface - $uriFactory - + assertMeResponse(ResponseInterface $response, object|null $json) : void +
          +
          - +
          Parameters
          +
          +
          + $response + : ResponseInterface +
          +
          + +
          +
          + $json + : object|null +
          +
          + +
          +
          + +
          -

          - $FACTORIES - +

          + getEnvPrefix() + - -

          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + getEnvPrefix() : string +
          +
          -
          +
          +
          Return values
          + string
          -
          -

          - Methods - - -

          -
          -

          - requestTargetProvider() - - -

          - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
          -
          - - - - -
          -
          Return values
          - array<string|int, mixed> -
          - -
          -
          -

          - testGetRequestTarget() - - -

          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
          -
          - -
          Parameters
          -
          -
          - $path - : string -
          -
          - -
          -
          - $expected - : string -
          -
          - -
          -
          - - - - -
          - - -
          -

          - testMeErrorException() - - -

          - - - - - public - testMeErrorException() : void - -
          -
          - - - - - -
          -
          -

          - testOAuth1Instance() - - -

          - - - - - public - testOAuth1Instance() : void - -
          -
          - - - - - -
          - -
          -

          - testProviderInstance() - - -

          - - - - - public - testProviderInstance() : void - -
          -
          - - - - - -
          - + -
          -

          - initHttp() - +

          + initEnvConfig() +

          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
          -
          Parameters
          -
          -
          - $options - : SettingsContainerInterface -
          -
          - -
          -
          - $logger - : LoggerInterface -
          -
          - -
          -
          - - -
          -
          Return values
          - ClientInterface -
          - -
          -
          -

          - initLogger() - - -

          - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
          -
          - -
          Parameters
          -
          -
          - $is_ci - : bool -
          -
          - -
          -
          - -
          -
          Return values
          - LoggerInterface -
          -
          @@ -1715,13 +1219,13 @@
          Return values
          >

          initProvider() - +

          @@ -1760,20 +1264,20 @@
          Return values
          >

          initStorage() - +

          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
          @@ -1782,7 +1286,7 @@
          Parameters
          $options - : SettingsContainerInterface + : OAuthOptions
          @@ -1803,30 +1307,51 @@
          Return values
          -protected " > -

          - initTestProperties() - +

          + invokeReflection() +

          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
          - - +
          Parameters
          +
          +
          + $FQCN + : string +
          +
          + +
          +
          + $args + : array<string|int, mixed> + = []
          +
          + +
          +
          + +
          +
          Return values
          + object +
          +
          >

          invokeReflectionMethod() - +

          @@ -1884,13 +1409,13 @@
          Parameters
          >

          setReflectionProperty() - +

          @@ -1932,13 +1457,13 @@
          Parameters
          >

          setUp() - +

          @@ -2068,8 +1593,8 @@

        • Constants
        • @@ -2077,51 +1602,39 @@

        • Methods
        • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html deleted file mode 100644 index 5d4b2051..00000000 --- a/classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html +++ /dev/null @@ -1,2234 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
          -

          Documentation

          - - - - - -
          - -
          -
          - - - - -
          -
          - - -
          -

          - Patreon1APITest - - - extends OAuth2APITestAbstract - - -
          - in package - -
          - - -

          - -
          - - -
          - - - - - - - - - -

          - Table of Contents - - -

          - - - - - - - -

          - Constants - - -

          -
          -
          - TEST_PROPERTIES - -  = [] -
          - -
          - TEST_RESPONSES - -  = [] -
          - -
          - - -

          - Properties - - -

          -
          -
          - $provider - -  : Patreon -
          - -
          - $provider - -  : OAuth2Interface -
          - -
          - $provider - -  : OAuthInterface -
          - -
          - $CFG - -  : string -
          - -
          - $clientCredentialsScopes - -  : array<string|int, mixed> -
          - -
          - $dotEnv - -  : DotEnv -
          - -
          - $ENV - -  : string -
          - -
          - $http - -  : ClientInterface -
          - -
          - $is_ci - -  : bool -
          - -
          - $logger - -  : LoggerInterface -
          - -
          - $options - -  : OAuthOptions|SettingsContainerInterface -
          - -
          - $provider - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
          - -
          - $reflection - -  : ReflectionClass -
          - -
          - $requestFactory - -  : RequestFactoryInterface -
          - -
          - $responseFactory - -  : ResponseFactoryInterface -
          - -
          - $storage - -  : OAuthStorageInterface -
          - -
          - $streamFactory - -  : StreamFactoryInterface -
          - -
          - $testuser - -  : string -
          -
          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
          - -
          - $uriFactory - -  : UriFactoryInterface -
          - -
          - $FACTORIES - -  : array<string|int, mixed> -
          - -
          - -

          - Methods - - -

          -
          -
          - requestTargetProvider() - -  : array<string|int, mixed> -
          - -
          - testGetRequestTarget() - -  : void -
          - -
          - testMagicGet() - -  : void -
          - -
          - testMe() - -  : void -
          - -
          - testMeErrorException() - -  : void -
          - -
          - testOAuth2Instance() - -  : void -
          - -
          - testOAuthInstance() - -  : void -
          - -
          - testProviderInstance() - -  : void -
          - -
          - testRequestCredentialsToken() - -  : void -
          - -
          - testTokenInvalidate() - -  : void -
          - -
          - getProviderFQCN() - -  : string -
          - -
          - getReflectionProperty() - -  : mixed -
          - -
          - initFactories() - -  : void -
          - -
          - initHttp() - -  : ClientInterface -
          - -
          - initLogger() - -  : LoggerInterface -
          - -
          - initOptions() - -  : SettingsContainerInterface -
          - -
          - initProvider() - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
          - -
          - initStorage() - -  : OAuthStorageInterface -
          - -
          - initTestProperties() - -  : void -
          - -
          - invokeReflectionMethod() - -  : mixed -
          - -
          - setReflectionProperty() - -  : void -
          - -
          - setUp() - -  : void -
          - -
          - - - - - -
          -

          - Constants - - -

          - - -
          - - -
          -

          - Properties - - -

          - - - - -
          -

          - $clientCredentialsScopes - - - - -

          - - - - - protected - array<string|int, mixed> - $clientCredentialsScopes - = [] - - - - - -
          - -
          -

          - $ENV - - - - -

          - - - - - protected - string - $ENV - = 'PATREON1' - - - - - -
          - - - - - - -
          -

          - $requestFactory - - - - -

          - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
          -
          -

          - $responseFactory - - - - -

          - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - - -
          - -
          -

          - $streamFactory - - - - -

          - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
          -
          -

          - $testuser - - - - -

          - - -

          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

          - - - protected - string - $testuser - - - - - - -
          -
          -

          - $uriFactory - - - - -

          - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
          -
          -

          - $FACTORIES - - - - -

          - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
          -
          - -
          -

          - Methods - - -

          -
          -

          - requestTargetProvider() - - -

          - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
          -
          - - - - -
          -
          Return values
          - array<string|int, mixed> -
          - -
          -
          -

          - testGetRequestTarget() - - -

          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
          -
          - -
          Parameters
          -
          -
          - $path - : string -
          -
          - -
          -
          - $expected - : string -
          -
          - -
          -
          - - - - -
          - -
          -

          - testMe() - - -

          - - - - - public - testMe() : void - -
          -
          - - - - - -
          -
          -

          - testMeErrorException() - - -

          - - - - - public - testMeErrorException() : void - -
          -
          - - - - - -
          -
          -

          - testOAuth2Instance() - - -

          - - - - - public - testOAuth2Instance() : void - -
          -
          - - - - - -
          - -
          -

          - testProviderInstance() - - -

          - - - - - public - testProviderInstance() : void - -
          -
          - - - - - -
          -
          -

          - testRequestCredentialsToken() - - -

          - - - - - public - testRequestCredentialsToken() : void - -
          -
          - - - - - -
          - -
          -

          - getProviderFQCN() - - -

          - - - - - protected - getProviderFQCN() : string - -
          -
          - - - - -
          -
          Return values
          - string -
          - -
          -
          -

          - getReflectionProperty() - - -

          - - - - - protected - getReflectionProperty(string $property) : mixed - -
          -
          - -
          Parameters
          -
          -
          - $property - : string -
          -
          - -
          -
          - - - - -
          -
          -

          - initFactories() - - -

          - - - - - protected - initFactories() : void - -
          -
          - - - -
          - Tags - - -
          -
          -
          - throws -
          -
          - Exception - - -
          -
          - - -
          -
          -

          - initHttp() - - -

          - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
          -
          - -
          Parameters
          -
          -
          - $options - : SettingsContainerInterface -
          -
          - -
          -
          - $logger - : LoggerInterface -
          -
          - -
          -
          - - - -
          -
          Return values
          - ClientInterface -
          - -
          -
          -

          - initLogger() - - -

          - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
          -
          - -
          Parameters
          -
          -
          - $is_ci - : bool -
          -
          - -
          -
          - - - -
          -
          Return values
          - LoggerInterface -
          - -
          -
          -

          - initOptions() - - -

          - - - - - protected - initOptions() : SettingsContainerInterface - -
          -
          - - - - -
          -
          Return values
          - SettingsContainerInterface -
          - -
          - - -
          -

          - initTestProperties() - - -

          - - - - - protected - initTestProperties() : void - -
          -
          - - - - - -
          -
          -

          - invokeReflectionMethod() - - -

          - - - - - protected - invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed - -
          -
          - -
          Parameters
          -
          -
          - $method - : string -
          -
          - -
          -
          - $args - : array<string|int, mixed> - = []
          -
          - -
          -
          - - - - -
          -
          -

          - setReflectionProperty() - - -

          - - - - - protected - setReflectionProperty(string $property, mixed $value) : void - -
          -
          - -
          Parameters
          -
          -
          - $property - : string -
          -
          - -
          -
          - $value - : mixed -
          -
          - -
          -
          - - - - -
          -
          -

          - setUp() - - -

          - - - - - protected - setUp() : void - -
          -
          - - - - - -
          -
          - -
          -
          -
          -
          -
          
          -        
          - -
          -
          - - - -
          -
          -
          - -
          - On this page - - -
          - -
          -
          -
          -
          -
          -

          Search results

          - -
          -
          -
            -
            -
            -
            -
            - - -
            - - - - - - - - diff --git a/classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html deleted file mode 100644 index 0ae5b462..00000000 --- a/classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html +++ /dev/null @@ -1,2234 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
            -

            Documentation

            - - - - - -
            - -
            -
            - - - - -
            -
            - - -
            -

            - Patreon2APITest - - - extends OAuth2APITestAbstract - - -
            - in package - -
            - - -

            - -
            - - -
            - - - - - - - - - -

            - Table of Contents - - -

            - - - - - - - -

            - Constants - - -

            -
            -
            - TEST_PROPERTIES - -  = [] -
            - -
            - TEST_RESPONSES - -  = [] -
            - -
            - - -

            - Properties - - -

            -
            -
            - $provider - -  : Patreon -
            - -
            - $provider - -  : OAuth2Interface -
            - -
            - $provider - -  : OAuthInterface -
            - -
            - $CFG - -  : string -
            - -
            - $clientCredentialsScopes - -  : array<string|int, mixed> -
            - -
            - $dotEnv - -  : DotEnv -
            - -
            - $ENV - -  : string -
            - -
            - $http - -  : ClientInterface -
            - -
            - $is_ci - -  : bool -
            - -
            - $logger - -  : LoggerInterface -
            - -
            - $options - -  : OAuthOptions|SettingsContainerInterface -
            - -
            - $provider - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
            - -
            - $reflection - -  : ReflectionClass -
            - -
            - $requestFactory - -  : RequestFactoryInterface -
            - -
            - $responseFactory - -  : ResponseFactoryInterface -
            - -
            - $storage - -  : OAuthStorageInterface -
            - -
            - $streamFactory - -  : StreamFactoryInterface -
            - -
            - $testuser - -  : string -
            -
            a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
            - -
            - $uriFactory - -  : UriFactoryInterface -
            - -
            - $FACTORIES - -  : array<string|int, mixed> -
            - -
            - -

            - Methods - - -

            -
            -
            - requestTargetProvider() - -  : array<string|int, mixed> -
            - -
            - testGetRequestTarget() - -  : void -
            - -
            - testMagicGet() - -  : void -
            - -
            - testMe() - -  : void -
            - -
            - testMeErrorException() - -  : void -
            - -
            - testOAuth2Instance() - -  : void -
            - -
            - testOAuthInstance() - -  : void -
            - -
            - testProviderInstance() - -  : void -
            - -
            - testRequestCredentialsToken() - -  : void -
            - -
            - testTokenInvalidate() - -  : void -
            - -
            - getProviderFQCN() - -  : string -
            - -
            - getReflectionProperty() - -  : mixed -
            - -
            - initFactories() - -  : void -
            - -
            - initHttp() - -  : ClientInterface -
            - -
            - initLogger() - -  : LoggerInterface -
            - -
            - initOptions() - -  : SettingsContainerInterface -
            - -
            - initProvider() - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
            - -
            - initStorage() - -  : OAuthStorageInterface -
            - -
            - initTestProperties() - -  : void -
            - -
            - invokeReflectionMethod() - -  : mixed -
            - -
            - setReflectionProperty() - -  : void -
            - -
            - setUp() - -  : void -
            - -
            - - - - - -
            -

            - Constants - - -

            - - -
            - - -
            -

            - Properties - - -

            - - - - -
            -

            - $clientCredentialsScopes - - - - -

            - - - - - protected - array<string|int, mixed> - $clientCredentialsScopes - = [] - - - - - -
            - -
            -

            - $ENV - - - - -

            - - - - - protected - string - $ENV - = 'PATREON2' - - - - - -
            - - - - - - -
            -

            - $requestFactory - - - - -

            - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
            -
            -

            - $responseFactory - - - - -

            - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - - -
            - -
            -

            - $streamFactory - - - - -

            - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
            -
            -

            - $testuser - - - - -

            - - -

            a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

            - - - protected - string - $testuser - - - - - - -
            -
            -

            - $uriFactory - - - - -

            - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
            -
            -

            - $FACTORIES - - - - -

            - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
            -
            - -
            -

            - Methods - - -

            -
            -

            - requestTargetProvider() - - -

            - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
            -
            - - - - -
            -
            Return values
            - array<string|int, mixed> -
            - -
            -
            -

            - testGetRequestTarget() - - -

            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
            -
            - -
            Parameters
            -
            -
            - $path - : string -
            -
            - -
            -
            - $expected - : string -
            -
            - -
            -
            - - - - -
            - -
            -

            - testMe() - - -

            - - - - - public - testMe() : void - -
            -
            - - - - - -
            -
            -

            - testMeErrorException() - - -

            - - - - - public - testMeErrorException() : void - -
            -
            - - - - - -
            -
            -

            - testOAuth2Instance() - - -

            - - - - - public - testOAuth2Instance() : void - -
            -
            - - - - - -
            - -
            -

            - testProviderInstance() - - -

            - - - - - public - testProviderInstance() : void - -
            -
            - - - - - -
            -
            -

            - testRequestCredentialsToken() - - -

            - - - - - public - testRequestCredentialsToken() : void - -
            -
            - - - - - -
            - -
            -

            - getProviderFQCN() - - -

            - - - - - protected - getProviderFQCN() : string - -
            -
            - - - - -
            -
            Return values
            - string -
            - -
            -
            -

            - getReflectionProperty() - - -

            - - - - - protected - getReflectionProperty(string $property) : mixed - -
            -
            - -
            Parameters
            -
            -
            - $property - : string -
            -
            - -
            -
            - - - - -
            -
            -

            - initFactories() - - -

            - - - - - protected - initFactories() : void - -
            -
            - - - -
            - Tags - - -
            -
            -
            - throws -
            -
            - Exception - - -
            -
            - - -
            -
            -

            - initHttp() - - -

            - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
            -
            - -
            Parameters
            -
            -
            - $options - : SettingsContainerInterface -
            -
            - -
            -
            - $logger - : LoggerInterface -
            -
            - -
            -
            - - - -
            -
            Return values
            - ClientInterface -
            - -
            -
            -

            - initLogger() - - -

            - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
            -
            - -
            Parameters
            -
            -
            - $is_ci - : bool -
            -
            - -
            -
            - - - -
            -
            Return values
            - LoggerInterface -
            - -
            -
            -

            - initOptions() - - -

            - - - - - protected - initOptions() : SettingsContainerInterface - -
            -
            - - - - -
            -
            Return values
            - SettingsContainerInterface -
            - -
            - - -
            -

            - initTestProperties() - - -

            - - - - - protected - initTestProperties() : void - -
            -
            - - - - - -
            -
            -

            - invokeReflectionMethod() - - -

            - - - - - protected - invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed - -
            -
            - -
            Parameters
            -
            -
            - $method - : string -
            -
            - -
            -
            - $args - : array<string|int, mixed> - = []
            -
            - -
            -
            - - - - -
            -
            -

            - setReflectionProperty() - - -

            - - - - - protected - setReflectionProperty(string $property, mixed $value) : void - -
            -
            - -
            Parameters
            -
            -
            - $property - : string -
            -
            - -
            -
            - $value - : mixed -
            -
            - -
            -
            - - - - -
            -
            -

            - setUp() - - -

            - - - - - protected - setUp() : void - -
            -
            - - - - - -
            -
            - -
            -
            -
            -
            -
            
            -        
            - -
            -
            - - - -
            -
            -
            - -
            - On this page - - -
            - -
            -
            -
            -
            -
            -

            Search results

            - -
            -
            -
              -
              -
              -
              -
              - - -
              - - - - - - - - diff --git a/classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html new file mode 100644 index 00000000..6fc9b0ed --- /dev/null +++ b/classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html @@ -0,0 +1,1747 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
              +

              Documentation

              + + + + + +
              + +
              +
              + + + + +
              +
              + + +
              +

              + PatreonAPITest + + + extends OAuth2ProviderLiveTestAbstract + + +
              + in package + +
              + + +

              + +
              + + +
              + + + + + + + + + +

              + Table of Contents + + +

              + + + + + + + +

              + Constants + + +

              +
              +
              + CACERT + +  = __DIR__ . '/../cacert.pem' +
              + +
              + PROJECT_ROOT + +  = __DIR__ . '/../../' +
              + +
              + + +

              + Properties + + +

              +
              +
              + $provider + +  : Patreon +
              + +
              + $provider + +  : OAuth2Interface +
              + +
              + $CFG_DIR + +  : string +
              + +
              + $clientCredentialsScopes + +  : array<string|int, mixed> +
              + +
              + $dotEnv + +  : DotEnv +
              + +
              + $ENV_IS_CI + +  : bool +
              + +
              + $ENV_PREFIX + +  : string +
              + +
              + $HTTP_CLIENT_FACTORY + +  : string +
              + +
              + $logger + +  : LoggerInterface +
              + +
              + $options + +  : OAuthOptions +
              + +
              + $provider + +  : OAuthInterface +
              + +
              + $reflection + +  : ReflectionClass +
              + +
              + $storage + +  : OAuthStorageInterface +
              + +
              + $TEST_USER + +  : string +
              +
              a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
              + +
              + +

              + Methods + + +

              +
              +
              + testMe() + +  : void +
              + +
              + testMeErrorException() + +  : void +
              + +
              + testRequestCredentialsToken() + +  : void +
              + +
              + assertMeErrorException() + +  : void +
              + +
              + assertMeResponse() + +  : void +
              + +
              + getEnvPrefix() + +  : string +
              + +
              + getProviderFQCN() + +  : string +
              + +
              + getReflectionProperty() + +  : mixed +
              + +
              + initEnvConfig() + +  : void +
              + +
              + 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 + + +

              + + + +
              +

              + $clientCredentialsScopes + + + + +

              + + + + + protected + array<string|int, mixed> + $clientCredentialsScopes + = [] + + + + + +
              + + + +
              +

              + $HTTP_CLIENT_FACTORY + + + + +

              + + + + + protected + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class + + + + + +
              + + + + + +
              +

              + $TEST_USER + + + + +

              + + +

              a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

              + + + protected + string + $TEST_USER + = '' + + + + + +
              +
              + +
              +

              + Methods + + +

              + + + + +
              +

              + assertMeResponse() + + +

              + + + + + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void + +
              +
              + +
              Parameters
              +
              +
              + $response + : ResponseInterface +
              +
              + +
              +
              + $json + : object|null +
              +
              + +
              +
              + + + + +
              +
              +

              + getEnvPrefix() + + +

              + + + + + protected + getEnvPrefix() : string + +
              +
              + + + + +
              +
              Return values
              + string +
              + +
              +
              +

              + getProviderFQCN() + + +

              + + + + + protected + getProviderFQCN() : string + +
              +
              + + + + +
              +
              Return values
              + string +
              + +
              +
              +

              + getReflectionProperty() + + +

              + + + + + protected + getReflectionProperty(string $property) : mixed + +
              +
              + +
              Parameters
              +
              +
              + $property + : string +
              +
              + +
              +
              + + + + +
              + + + + +
              +

              + invokeReflection() + + +

              + + + + + protected + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object + +
              +
              + +
              Parameters
              +
              +
              + $FQCN + : string +
              +
              + +
              +
              + $args + : array<string|int, mixed> + = []
              +
              + +
              +
              + + + +
              +
              Return values
              + object +
              + +
              +
              +

              + invokeReflectionMethod() + + +

              + + + + + protected + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + +
              +
              + +
              Parameters
              +
              +
              + $method + : string +
              +
              + +
              +
              + $args + : array<string|int, mixed> + = []
              +
              + +
              +
              + + + + +
              +
              +

              + setReflectionProperty() + + +

              + + + + + protected + setReflectionProperty(string $property, mixed $value) : void + +
              +
              + +
              Parameters
              +
              +
              + $property + : string +
              +
              + +
              +
              + $value + : mixed +
              +
              + +
              +
              + + + + +
              + +
              + +
              +
              +
              +
              +
              
              +        
              + +
              +
              + + + +
              +
              +
              + +
              + On this page + + +
              + +
              +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                + + +
                + + + + + + + + diff --git a/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html index 8cf43f13..4fc82dc0 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html @@ -121,7 +121,7 @@

                PayPalAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + -
                -
                - -
                -

                - Methods - - -

                -
                -

                - requestTargetProvider() - - -

                - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                -
                - - - - -
                -
                Return values
                - array<string|int, mixed> -
                - -
                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                -
                -

                - testMe() - +

                + getEnvPrefix() +

                - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
                @@ -1496,38 +1139,11 @@

                - -

                -
                -

                - testTokenInvalidate() - - -

                - - - - - public - testTokenInvalidate() : void - -
                -
                - - - +
                +
                Return values
                + string +
                -
                -
                -

                - initHttp() - - -

                - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                -
                - -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                - -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html index 96faa47e..a03911b1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html @@ -121,7 +121,7 @@

                SlackAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + +
                -
                - -
                -

                - Methods - - -

                -

                - requestTargetProvider() - +

                + getEnvPrefix() +

                - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1229,305 +1141,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - - - - public - testRequestCredentialsToken() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html index 623e0ede..c3b9ef22 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html @@ -121,7 +121,7 @@

                SoundcloudAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() + initOptions() -  : LoggerInterface +  : OAuthOptions
                - initOptions() - -  : SettingsContainerInterface -
                - -
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - - - -
                -
                - -
                -

                - Methods - - -

                -
                -

                - requestTargetProvider() - - -

                - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                -
                - - - - -
                -
                Return values
                - array<string|int, mixed> -
                - -
                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                -
                -

                - testOAuthInstance() - - -

                - - - - - public - testOAuthInstance() : void - -
                -
                - - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + @@ -1439,56 +1113,25 @@

                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - +

                + getEnvPrefix() +

                - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
                @@ -1496,38 +1139,11 @@

                - -

                -
                -

                - testTokenInvalidate() - - -

                - - - - - public - testTokenInvalidate() : void - -
                -
                - - - +
                +
                Return values
                + string +
                -
                -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - -
                -
                Return values
                - LoggerInterface -
                -
                Return values

                >

                initOptions() - +

                protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
                @@ -1779,7 +1283,7 @@

                Return values
                - SettingsContainerInterface + OAuthOptions

                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html index 8875b793..7c2041bc 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html @@ -121,7 +121,7 @@

                SpotifyAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,30 +142,13 @@

                -

                Spotify API usage tests/examples

                - -

                Please note that Spotify ids may change and so these test may fail at times

                -
                - + -

                - Tags - -
                -
                -
                - link -
                -
                - https://developer.spotify.com/web-api/endpoint-reference/ - -
                -
                @@ -188,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -215,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -338,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -404,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -482,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + - - -
                -
                - -
                -

                - Methods - - -

                -
                -

                - requestTargetProvider() - - -

                - - - - - public - static requestTargetProvider() : array<string|int, mixed> -
                -
                - - - -
                -
                Return values
                - array<string|int, mixed> -
                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - +

                + getEnvPrefix() +

                - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
                @@ -1513,38 +1139,11 @@

                - -

                -
                -

                - testTokenInvalidate() - - -

                - - - - - public - testTokenInvalidate() : void - -
                -
                - - - +
                +
                Return values
                + string +
                -
                -
                -

                - initHttp() - - -

                - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                -
                - -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                - -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1808,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1853,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1875,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1896,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1977,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2025,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2161,8 +1669,8 @@

              • Constants
              • @@ -2170,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html index 14d6179f..89b0dc88 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html @@ -121,7 +121,7 @@

                SteamOpenIDAPITest - extends OAuthAPITestAbstract + extends OAuthProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -197,115 +197,79 @@

                 : SteamOpenID -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $id + $HTTP_CLIENT_FACTORY -  : int +  : string
                - $is_ci + $id -  : bool +  : int
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -315,51 +279,33 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() + testMe()  : void
                - testMeErrorException() + testMeErrorException()  : void
                -
                - testOAuthInstance() +
                + assertMeErrorException()  : void
                -
                - testProviderInstance() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -369,61 +315,49 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                @@ -447,16 +381,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $streamFactory - +

                + testMeErrorException() + - -

                - protected - StreamFactoryInterface - $streamFactory - + public + testMeErrorException() : void +
                +
                +
                -

                - $uriFactory - +

                + assertMeResponse() + - -

                protected - UriFactoryInterface - $uriFactory - + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + +
                -

                - $FACTORIES - +

                + getEnvPrefix() + - -

                - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
                -
                - -
                -

                - Methods - - -

                -
                -

                - requestTargetProvider() - - -

                - - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1178,243 +1065,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - - -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1678,13 +1219,13 @@
                Return values
                >

                initProvider() - +

                @@ -1723,20 +1264,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1745,7 +1286,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1766,30 +1307,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1847,13 +1409,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -1901,7 +1463,7 @@

                @@ -2031,8 +1593,8 @@

              • Constants
              • @@ -2040,49 +1602,38 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html index dfe228d1..04e26f14 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html @@ -121,7 +121,7 @@

                StripeAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,28 +142,13 @@

                -

                Stripe API usage tests/examples

                - - + -

                - Tags - -
                -
                -
                - link -
                -
                - https://stripe.com/docs/api - -
                -
                @@ -186,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -213,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -336,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -402,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -480,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - - - -
                -
                - -
                -

                - Methods - - -

                -
                -

                - requestTargetProvider() - - -

                - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                -
                - - - - -
                -
                Return values
                - array<string|int, mixed> -
                - -
                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                -
                -

                - testMagicGet() - - -

                - - - - - public - testMagicGet() : void - -
                -
                - - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + @@ -1330,180 +1113,25 @@

                -

                - testMe() - +

                + getEnvPrefix() +

                - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
                @@ -1511,38 +1139,11 @@

                - -

                -
                -

                - testTokenInvalidate() - - -

                - - - - - public - testTokenInvalidate() : void - -
                -
                - - - +
                +
                Return values
                + string +
                -
                -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - -
                -
                Return values
                - LoggerInterface -
                -
                Return values

                >

                initOptions() - +

                protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
                @@ -1794,7 +1283,7 @@

                Return values
                - SettingsContainerInterface + OAuthOptions

                @@ -1806,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1851,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1873,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1894,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1975,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2023,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2159,8 +1669,8 @@

              • Constants
              • @@ -2168,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html index 9389c22a..8618c4e9 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html @@ -121,7 +121,7 @@

                Tumblr2APITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + +
                -
                - -
                -

                - Methods - - -

                -

                - requestTargetProvider() - +

                + getEnvPrefix() +

                - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1229,305 +1141,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - - - - public - testRequestCredentialsToken() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html index f878646b..aab64bb5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html @@ -121,7 +121,7 @@

                TumblrAPITest - extends OAuth1APITestAbstract + extends OAuth1ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,114 +198,78 @@

                - $provider + $provider  : OAuth1Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -315,63 +279,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth1Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testTokenExchange()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testTokenExchange() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -381,67 +321,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() + initOptions() -  : LoggerInterface +  : OAuthOptions
                - initOptions() - -  : SettingsContainerInterface -
                - -
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -459,16 +387,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testTokenExchange() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testTokenExchange() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + +
                -
                - -
                -

                - Methods - - -

                -

                - requestTargetProvider() - +

                + getEnvPrefix() +

                - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1190,305 +1102,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth1Instance() - - -

                - - - - - public - testOAuth1Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testTokenExchange() - - -

                - - - - - public - testTokenExchange() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1752,13 +1256,13 @@
                Return values
                >

                initProvider() - +

                @@ -1797,20 +1301,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1819,7 +1323,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1840,30 +1344,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1921,13 +1446,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -1969,13 +1494,13 @@
                Parameters
                >

                setUp() - +

                @@ -2105,8 +1630,8 @@

              • Constants
              • @@ -2114,52 +1639,40 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html index e3c9d482..e1f51578 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html @@ -121,7 +121,7 @@

                TwitchAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + +
                -
                - -
                -

                - Methods - - -

                -

                - requestTargetProvider() - +

                + getEnvPrefix() +

                - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1229,305 +1141,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - - - - public - testRequestCredentialsToken() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html index db94fd29..5fb3ba8f 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html @@ -121,7 +121,7 @@

                TwitterAPITest - extends OAuth1APITestAbstract + extends OAuth1ProviderLiveTestAbstract
                @@ -142,28 +142,13 @@

                -

                Twitter API tests & examples

                - - + -

                - Tags - -
                -
                -
                - link -
                -
                - https://developer.twitter.com/en/docs/api-reference-index - -
                -
                @@ -186,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -213,83 +198,65 @@

                - $provider + $provider  : OAuth1Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                -
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                -
                $screen_name @@ -297,42 +264,24 @@

                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                -
                $user_id  : int
                -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -342,57 +291,33 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() + testMe()  : void
                - testMeErrorException() + testMeErrorException()  : void
                -
                - testOAuth1Instance() - -  : void -
                - -
                - testOAuthInstance() +
                + assertMeErrorException()  : void
                -
                - testProviderInstance() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -402,61 +327,49 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                @@ -480,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testMeErrorException() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testMeErrorException() : void +
                +
                +
                -

                - $user_id - +

                + assertMeResponse() + - -

                protected - int - $user_id - + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + - - -
                -
                -

                - $FACTORIES - - - - -

                - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - -
                -
                - -
                -

                - Methods - - -

                -

                - requestTargetProvider() - +

                + getEnvPrefix() +

                - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1277,274 +1143,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth1Instance() - - -

                - - - - - public - testOAuth1Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - - -

                - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                -
                - -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                - -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1808,13 +1297,13 @@
                Return values
                >

                initProvider() - +

                @@ -1853,20 +1342,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1875,7 +1364,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1896,30 +1385,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1977,13 +1487,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2031,7 +1541,7 @@

                @@ -2161,8 +1671,8 @@

              • Constants
              • @@ -2170,52 +1680,40 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html index 97d4e942..7c68162b 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html @@ -121,7 +121,7 @@

                TwitterCCAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,25 +285,7 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() + testMe()  : void
                @@ -351,33 +297,27 @@

                - testOAuth2Instance() - -  : void -
                - -
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $streamFactory - +

                + testMeErrorException() + - -

                - protected - StreamFactoryInterface - $streamFactory - + public + testMeErrorException() : void +
                +
                +
                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + -
                -
                - -
                -

                - Methods - - -

                -
                -

                - requestTargetProvider() - - -

                - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                -
                - - - - -
                -
                Return values
                - array<string|int, mixed> -
                - -
                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMeErrorException() - +

                + getEnvPrefix() +

                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - - - - public - testRequestCredentialsToken() : void + protected + getEnvPrefix() : string
                @@ -1496,38 +1139,11 @@

                - -

                -
                -

                - testTokenInvalidate() - - -

                - - - - - public - testTokenInvalidate() : void - -
                -
                - - - +
                +
                Return values
                + string +
                -
                -
                -

                - initHttp() - - -

                - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                -
                - -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                - -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html index 4b8fff0e..7e52fa17 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html @@ -121,7 +121,7 @@

                VimeoAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + +
                -
                - -
                -

                - Methods - - -

                -

                - requestTargetProvider() - +

                + getEnvPrefix() +

                - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1229,305 +1141,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - - - - public - testRequestCredentialsToken() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - - -

                - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                -
                - -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                - -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html index fe82d04f..e6a84542 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html @@ -121,7 +121,7 @@

                WordpressAPITest - extends OAuth2APITestAbstract + extends OAuth2ProviderLiveTestAbstract
                @@ -142,7 +142,7 @@

                @@ -171,15 +171,15 @@

                - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                @@ -198,120 +198,84 @@

                - $provider + $provider  : OAuth2Interface
                -
                - $provider - -  : OAuthInterface -
                -
                - $CFG + $CFG_DIR  : string
                - $clientCredentialsScopes + $clientCredentialsScopes  : array<string|int, mixed>
                - $dotEnv + $dotEnv  : DotEnv
                - $ENV + $ENV_IS_CI -  : string +  : bool
                - $http + $ENV_PREFIX -  : ClientInterface +  : string
                - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                - $logger + $logger  : LoggerInterface
                - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                - $reflection + $reflection  : ReflectionClass
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage + $storage  : OAuthStorageInterface
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $testuser + $TEST_USER  : string
                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                -

                @@ -321,63 +285,39 @@

                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testMe() - -  : void -
                - -
                - testMeErrorException() + testMe()  : void
                - testOAuth2Instance() + testMeErrorException()  : void
                - testOAuthInstance() + testRequestCredentialsToken()  : void
                -
                - testProviderInstance() +
                + assertMeErrorException()  : void
                -
                - testRequestCredentialsToken() +
                + assertMeResponse()  : void
                -
                - testTokenInvalidate() +
                + getEnvPrefix() -  : void +  : string
                @@ -387,67 +327,55 @@

                - getReflectionProperty() + getReflectionProperty()  : mixed
                - initFactories() + initEnvConfig()  : void
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                - initStorage() + initStorage()  : OAuthStorageInterface
                - initTestProperties() + invokeReflection() -  : void +  : object
                - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                - setReflectionProperty() + setReflectionProperty()  : void
                - setUp() + setUp()  : void
                @@ -465,16 +393,16 @@

                -
                -protected " > -

                - $CFG - +

                + $CFG_DIR +

                +
                + +
                +

                + Methods + + +

                -

                - $testuser - +

                + testRequestCredentialsToken() + - -

                -

                a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                - + - protected - string - $testuser - + public + testRequestCredentialsToken() : void +
                +
                +
                -

                - $FACTORIES - +

                + assertMeResponse() + - -

                - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + protected + assertMeResponse(ResponseInterface $response, object|null $json) : void +
                +
                - +
                Parameters
                +
                +
                + $response + : ResponseInterface +
                +
                + +
                +
                + $json + : object|null +
                +
                + +
                +
                + +
                -
                - -
                -

                - Methods - - -

                -

                - requestTargetProvider() - +

                + getEnvPrefix() +

                - public - static requestTargetProvider() : array<string|int, mixed> + protected + getEnvPrefix() : string
                @@ -1229,305 +1141,9 @@

                Return values
                - array<string|int, mixed> + string
                -

                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testMe() - - -

                - - - - - public - testMe() : void - -
                -
                - - - - - -
                -
                -

                - testMeErrorException() - - -

                - - - - - public - testMeErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testOAuth2Instance() - - -

                - - - - - public - testOAuth2Instance() : void - -
                -
                - - - - - -
                - -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                -
                -

                - testRequestCredentialsToken() - - -

                - - - - - public - testRequestCredentialsToken() : void - -
                -
                - - - - - -
                - -
                -

                - initHttp() - +

                + initEnvConfig() +

                protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initEnvConfig() : void
                -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - protected - initLogger(bool $is_ci) : LoggerInterface -
                -
                -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                -
                @@ -1791,13 +1295,13 @@
                Return values
                >

                initProvider() - +

                @@ -1836,20 +1340,20 @@
                Return values
                >

                initStorage() - +

                protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                @@ -1858,7 +1362,7 @@
                Parameters
                $options - : SettingsContainerInterface + : OAuthOptions
                @@ -1879,30 +1383,51 @@
                Return values
                -protected " > -

                - initTestProperties() - +

                + invokeReflection() +

                protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                - - +
                Parameters
                +
                +
                + $FQCN + : string +
                +
                + +
                +
                + $args + : array<string|int, mixed> + = []
                +
                + +
                +
                + +
                +
                Return values
                + object +
                +
                >

                invokeReflectionMethod() - +

                @@ -1960,13 +1485,13 @@
                Parameters
                >

                setReflectionProperty() - +

                @@ -2008,13 +1533,13 @@
                Parameters
                >

                setUp() - +

                @@ -2144,8 +1669,8 @@

              • Constants
              • @@ -2153,53 +1678,41 @@

              • Methods
              • diff --git a/classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html deleted file mode 100644 index d9edea1d..00000000 --- a/classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html +++ /dev/null @@ -1,2221 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                -

                Documentation

                - - - - - -
                - -
                -
                - - - - -
                -
                - - -
                -

                - OAuth1ProviderTestAbstract - - - extends OAuthProviderTestAbstract - - -
                - in package - -
                - - -

                - -
                - - -
                AbstractYes
                - -
                - - - - - - - - - -

                - Table of Contents - - -

                - - - - - - - -

                - Constants - - -

                -
                -
                - TEST_PROPERTIES - -  = ['requestTokenURL' => 'https://localhost/oauth1/request_token', 'accessTokenURL' => 'https://localhost/oauth1/access_token', 'revokeURL' => 'https://localhost/oauth1/revoke_token', 'apiURL' => 'https://localhost/oauth1/api'] -
                - -
                - TEST_RESPONSES - -  = ['/oauth1/request_token' => 'oauth_token=test_request_token&oauth_token_secret=test_request_token_secret&oauth_callback_confirmed=true', '/oauth1/access_token' => 'oauth_token=test_access_token&oauth_token_secret=test_access_token_secret&oauth_callback_confirmed=true', '/oauth1/revoke_token' => '{"message":"token revoked"}', '/oauth1/api/request' => '{"data":"such data! much wow!"}'] -
                - -
                - - -

                - Properties - - -

                -
                -
                - $provider - -  : OAuth1Interface -
                - -
                - $http - -  : ClientInterface -
                - -
                - $is_ci - -  : bool -
                - -
                - $logger - -  : LoggerInterface -
                - -
                - $options - -  : OAuthOptions|SettingsContainerInterface -
                - -
                - $provider - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
                - -
                - $reflection - -  : ReflectionClass -
                - -
                - $requestFactory - -  : RequestFactoryInterface -
                - -
                - $responseFactory - -  : ResponseFactoryInterface -
                - -
                - $storage - -  : OAuthStorageInterface -
                - -
                - $streamFactory - -  : StreamFactoryInterface -
                - -
                - $uriFactory - -  : UriFactoryInterface -
                - -
                - $FACTORIES - -  : array<string|int, mixed> -
                - -
                - -

                - Methods - - -

                -
                -
                - requestTargetProvider() - -  : array<string|int, mixed> -
                - -
                - testGetAccessToken() - -  : void -
                - -
                - testGetAuthURL() - -  : void -
                - -
                - testGetRequestAuthorization() - -  : void -
                - -
                - testGetRequestTarget() - -  : void -
                - -
                - testGetSignature() - -  : void -
                - -
                - testGetSignatureInvalidURLException() - -  : void -
                - -
                - testMagicGet() - -  : void -
                - -
                - testOAuth1Instance() - -  : void -
                - -
                - testOAuthInstance() - -  : void -
                - -
                - testParseTokenResponseCallbackUnconfirmedException() - -  : void -
                - -
                - testParseTokenResponseErrorException() - -  : void -
                - -
                - testParseTokenResponseNoDataException() - -  : void -
                - -
                - testParseTokenResponseNoTokenException() - -  : void -
                - -
                - testProviderInstance() - -  : void -
                - -
                - testRequest() - -  : void -
                - -
                - testTokenInvalidate() - -  : void -
                - -
                - getProviderFQCN() - -  : string -
                -
                returns the fully qualified class name (FQCN) of the test subject
                - -
                - getReflectionProperty() - -  : mixed -
                - -
                - initFactories() - -  : void -
                - -
                - initHttp() - -  : ClientInterface -
                - -
                - initLogger() - -  : LoggerInterface -
                - -
                - initOptions() - -  : SettingsContainerInterface -
                - -
                - initProvider() - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
                - -
                - initStorage() - -  : OAuthStorageInterface -
                - -
                - initTestProperties() - -  : void -
                - -
                - invokeReflectionMethod() - -  : mixed -
                - -
                - setReflectionProperty() - -  : void -
                - -
                - setUp() - -  : void -
                - -
                - - - - - -
                -

                - Constants - - -

                -
                -

                - TEST_PROPERTIES - - -

                - - - - - - protected - mixed - TEST_PROPERTIES - = ['requestTokenURL' => 'https://localhost/oauth1/request_token', 'accessTokenURL' => 'https://localhost/oauth1/access_token', 'revokeURL' => 'https://localhost/oauth1/revoke_token', 'apiURL' => 'https://localhost/oauth1/api'] - - - - - - - -
                -
                -

                - TEST_RESPONSES - - -

                - - - - - - protected - mixed - TEST_RESPONSES - = ['/oauth1/request_token' => 'oauth_token=test_request_token&oauth_token_secret=test_request_token_secret&oauth_callback_confirmed=true', '/oauth1/access_token' => 'oauth_token=test_access_token&oauth_token_secret=test_access_token_secret&oauth_callback_confirmed=true', '/oauth1/revoke_token' => '{"message":"token revoked"}', '/oauth1/api/request' => '{"data":"such data! much wow!"}'] - - - - - - - -
                -
                - - -
                -

                - Properties - - -

                - - - - - - - -
                -

                - $requestFactory - - - - -

                - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                -
                -

                - $responseFactory - - - - -

                - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - - -
                - -
                -

                - $streamFactory - - - - -

                - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                -
                -

                - $uriFactory - - - - -

                - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                -
                -

                - $FACTORIES - - - - -

                - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
                -
                - -
                -

                - Methods - - -

                -
                -

                - requestTargetProvider() - - -

                - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                -
                - - - - -
                -
                Return values
                - array<string|int, mixed> -
                - -
                - - -
                -

                - testGetRequestAuthorization() - - -

                - - - - - public - testGetRequestAuthorization() : void - -
                -
                - - - - - -
                -
                -

                - testGetRequestTarget() - - -

                - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                -
                - -
                Parameters
                -
                -
                - $path - : string -
                -
                - -
                -
                - $expected - : string -
                -
                - -
                -
                - - - - -
                - -
                -

                - testGetSignatureInvalidURLException() - - -

                - - - - - public - testGetSignatureInvalidURLException() : void - -
                -
                - - - - - -
                - - - -
                -

                - testParseTokenResponseCallbackUnconfirmedException() - - -

                - - - - - public - testParseTokenResponseCallbackUnconfirmedException() : void - -
                -
                - - - - - -
                -
                -

                - testParseTokenResponseErrorException() - - -

                - - - - - public - testParseTokenResponseErrorException() : void - -
                -
                - - - - - -
                -
                -

                - testParseTokenResponseNoDataException() - - -

                - - - - - public - testParseTokenResponseNoDataException() : void - -
                -
                - - - - - -
                -
                -

                - testParseTokenResponseNoTokenException() - - -

                - - - - - public - testParseTokenResponseNoTokenException() : void - -
                -
                - - - - - -
                -
                -

                - testProviderInstance() - - -

                - - - - - public - testProviderInstance() : void - -
                -
                - - - - - -
                - - -
                -

                - getProviderFQCN() - - -

                - - -

                returns the fully qualified class name (FQCN) of the test subject

                - - - protected - abstract getProviderFQCN() : string - -
                -
                - - - - -
                -
                Return values
                - string -
                - -
                -
                -

                - getReflectionProperty() - - -

                - - - - - protected - getReflectionProperty(string $property) : mixed - -
                -
                - -
                Parameters
                -
                -
                - $property - : string -
                -
                - -
                -
                - - - - -
                -
                -

                - initFactories() - - -

                - - - - - protected - initFactories() : void - -
                -
                - - - -
                - Tags - - -
                -
                -
                - throws -
                -
                - Exception - - -
                -
                - - -
                -
                -

                - initHttp() - - -

                - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                -
                - -
                Parameters
                -
                -
                - $options - : SettingsContainerInterface -
                -
                - -
                -
                - $logger - : LoggerInterface -
                -
                - -
                -
                - - - -
                -
                Return values
                - ClientInterface -
                - -
                -
                -

                - initLogger() - - -

                - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                -
                - -
                Parameters
                -
                -
                - $is_ci - : bool -
                -
                - -
                -
                - - - -
                -
                Return values
                - LoggerInterface -
                - -
                -
                -

                - initOptions() - - -

                - - - - - protected - initOptions() : SettingsContainerInterface - -
                -
                - - - - -
                -
                Return values
                - SettingsContainerInterface -
                - -
                - - -
                -

                - initTestProperties() - - -

                - - - - - protected - initTestProperties() : void - -
                -
                - - - - - -
                -
                -

                - invokeReflectionMethod() - - -

                - - - - - protected - invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed - -
                -
                - -
                Parameters
                -
                -
                - $method - : string -
                -
                - -
                -
                - $args - : array<string|int, mixed> - = []
                -
                - -
                -
                - - - - -
                -
                -

                - setReflectionProperty() - - -

                - - - - - protected - setReflectionProperty(string $property, mixed $value) : void - -
                -
                - -
                Parameters
                -
                -
                - $property - : string -
                -
                - -
                -
                - $value - : mixed -
                -
                - -
                -
                - - - - -
                - -
                - -
                -
                -
                -
                -
                
                -        
                - -
                -
                - - - -
                -
                -
                - -
                - On this page - - -
                - -
                -
                -
                -
                -
                -

                Search results

                - -
                -
                -
                  -
                  -
                  -
                  -
                  - - -
                  - - - - - - - - diff --git a/classes/chillerlan-OAuthTest-Providers-OAuth2APITestAbstract.html b/classes/chillerlan-OAuthTest-Providers-OAuth2APITestAbstract.html deleted file mode 100644 index 370d6942..00000000 --- a/classes/chillerlan-OAuthTest-Providers-OAuth2APITestAbstract.html +++ /dev/null @@ -1,2197 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                  -

                  Documentation

                  - - - - - -
                  - -
                  -
                  - - - - -
                  -
                  - - -
                  -

                  - OAuth2APITestAbstract - - - extends OAuthAPITestAbstract - - -
                  - in package - -
                  - - -

                  - -
                  - - -
                  AbstractYes
                  - -
                  - - - - - - - - - -

                  - Table of Contents - - -

                  - - - - - - - -

                  - Constants - - -

                  -
                  -
                  - TEST_PROPERTIES - -  = [] -
                  - -
                  - TEST_RESPONSES - -  = [] -
                  - -
                  - - -

                  - Properties - - -

                  -
                  -
                  - $provider - -  : OAuth2Interface -
                  - -
                  - $provider - -  : OAuthInterface -
                  - -
                  - $CFG - -  : string -
                  - -
                  - $clientCredentialsScopes - -  : array<string|int, mixed> -
                  - -
                  - $dotEnv - -  : DotEnv -
                  - -
                  - $ENV - -  : string -
                  - -
                  - $http - -  : ClientInterface -
                  - -
                  - $is_ci - -  : bool -
                  - -
                  - $logger - -  : LoggerInterface -
                  - -
                  - $options - -  : OAuthOptions|SettingsContainerInterface -
                  - -
                  - $provider - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
                  - -
                  - $reflection - -  : ReflectionClass -
                  - -
                  - $requestFactory - -  : RequestFactoryInterface -
                  - -
                  - $responseFactory - -  : ResponseFactoryInterface -
                  - -
                  - $storage - -  : OAuthStorageInterface -
                  - -
                  - $streamFactory - -  : StreamFactoryInterface -
                  - -
                  - $testuser - -  : string -
                  -
                  a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                  - -
                  - $uriFactory - -  : UriFactoryInterface -
                  - -
                  - $FACTORIES - -  : array<string|int, mixed> -
                  - -
                  - -

                  - Methods - - -

                  -
                  -
                  - requestTargetProvider() - -  : array<string|int, mixed> -
                  - -
                  - testGetRequestTarget() - -  : void -
                  - -
                  - testMagicGet() - -  : void -
                  - -
                  - testMe() - -  : void -
                  - -
                  - testMeErrorException() - -  : void -
                  - -
                  - testOAuth2Instance() - -  : void -
                  - -
                  - testOAuthInstance() - -  : void -
                  - -
                  - testProviderInstance() - -  : void -
                  - -
                  - testRequestCredentialsToken() - -  : void -
                  - -
                  - testTokenInvalidate() - -  : void -
                  - -
                  - getProviderFQCN() - -  : string -
                  -
                  returns the fully qualified class name (FQCN) of the test subject
                  - -
                  - getReflectionProperty() - -  : mixed -
                  - -
                  - initFactories() - -  : void -
                  - -
                  - initHttp() - -  : ClientInterface -
                  - -
                  - initLogger() - -  : LoggerInterface -
                  - -
                  - initOptions() - -  : SettingsContainerInterface -
                  - -
                  - initProvider() - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
                  - -
                  - initStorage() - -  : OAuthStorageInterface -
                  - -
                  - initTestProperties() - -  : void -
                  - -
                  - invokeReflectionMethod() - -  : mixed -
                  - -
                  - setReflectionProperty() - -  : void -
                  - -
                  - setUp() - -  : void -
                  - -
                  - - - - - -
                  -

                  - Constants - - -

                  - - -
                  - - -
                  -

                  - Properties - - -

                  - - - -
                  -

                  - $clientCredentialsScopes - - - - -

                  - - - - - protected - array<string|int, mixed> - $clientCredentialsScopes - = [] - - - - - -
                  - - - - - - - - -
                  -

                  - $requestFactory - - - - -

                  - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                  -
                  -

                  - $responseFactory - - - - -

                  - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - - -
                  - -
                  -

                  - $streamFactory - - - - -

                  - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                  -
                  -

                  - $testuser - - - - -

                  - - -

                  a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                  - - - protected - string - $testuser - - - - - - -
                  -
                  -

                  - $uriFactory - - - - -

                  - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                  -
                  -

                  - $FACTORIES - - - - -

                  - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
                  -
                  - -
                  -

                  - Methods - - -

                  -
                  -

                  - requestTargetProvider() - - -

                  - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                  -
                  - - - - -
                  -
                  Return values
                  - array<string|int, mixed> -
                  - -
                  -
                  -

                  - testGetRequestTarget() - - -

                  - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                  -
                  - -
                  Parameters
                  -
                  -
                  - $path - : string -
                  -
                  - -
                  -
                  - $expected - : string -
                  -
                  - -
                  -
                  - - - - -
                  - - -
                  -

                  - testMeErrorException() - - -

                  - - - - - public - testMeErrorException() : void - -
                  -
                  - - - - - -
                  -
                  -

                  - testOAuth2Instance() - - -

                  - - - - - public - testOAuth2Instance() : void - -
                  -
                  - - - - - -
                  - -
                  -

                  - testProviderInstance() - - -

                  - - - - - public - testProviderInstance() : void - -
                  -
                  - - - - - -
                  -
                  -

                  - testRequestCredentialsToken() - - -

                  - - - - - public - testRequestCredentialsToken() : void - -
                  -
                  - - - - - -
                  - -
                  -

                  - getProviderFQCN() - - -

                  - - -

                  returns the fully qualified class name (FQCN) of the test subject

                  - - - protected - abstract getProviderFQCN() : string - -
                  -
                  - - - - -
                  -
                  Return values
                  - string -
                  - -
                  -
                  -

                  - getReflectionProperty() - - -

                  - - - - - protected - getReflectionProperty(string $property) : mixed - -
                  -
                  - -
                  Parameters
                  -
                  -
                  - $property - : string -
                  -
                  - -
                  -
                  - - - - -
                  -
                  -

                  - initFactories() - - -

                  - - - - - protected - initFactories() : void - -
                  -
                  - - - -
                  - Tags - - -
                  -
                  -
                  - throws -
                  -
                  - Exception - - -
                  -
                  - - -
                  -
                  -

                  - initHttp() - - -

                  - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                  -
                  - -
                  Parameters
                  -
                  -
                  - $options - : SettingsContainerInterface -
                  -
                  - -
                  -
                  - $logger - : LoggerInterface -
                  -
                  - -
                  -
                  - - - -
                  -
                  Return values
                  - ClientInterface -
                  - -
                  -
                  -

                  - initLogger() - - -

                  - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                  -
                  - -
                  Parameters
                  -
                  -
                  - $is_ci - : bool -
                  -
                  - -
                  -
                  - - - -
                  -
                  Return values
                  - LoggerInterface -
                  - -
                  -
                  -

                  - initOptions() - - -

                  - - - - - protected - initOptions() : SettingsContainerInterface - -
                  -
                  - - - - -
                  -
                  Return values
                  - SettingsContainerInterface -
                  - -
                  - - -
                  -

                  - initTestProperties() - - -

                  - - - - - protected - initTestProperties() : void - -
                  -
                  - - - - - -
                  -
                  -

                  - invokeReflectionMethod() - - -

                  - - - - - protected - invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed - -
                  -
                  - -
                  Parameters
                  -
                  -
                  - $method - : string -
                  -
                  - -
                  -
                  - $args - : array<string|int, mixed> - = []
                  -
                  - -
                  -
                  - - - - -
                  -
                  -

                  - setReflectionProperty() - - -

                  - - - - - protected - setReflectionProperty(string $property, mixed $value) : void - -
                  -
                  - -
                  Parameters
                  -
                  -
                  - $property - : string -
                  -
                  - -
                  -
                  - $value - : mixed -
                  -
                  - -
                  -
                  - - - - -
                  - -
                  - -
                  -
                  -
                  -
                  -
                  
                  -        
                  - -
                  -
                  - - - -
                  -
                  -
                  - -
                  - On this page - - -
                  - -
                  -
                  -
                  -
                  -
                  -

                  Search results

                  - -
                  -
                  -
                    -
                    -
                    -
                    -
                    - - -
                    - - - - - - - - diff --git a/classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html deleted file mode 100644 index 1384b7f4..00000000 --- a/classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html +++ /dev/null @@ -1,2373 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                    -

                    Documentation

                    - - - - - -
                    - -
                    -
                    - - - - -
                    -
                    - - -
                    -

                    - OAuth2ProviderTestAbstract - - - extends OAuthProviderTestAbstract - - -
                    - in package - -
                    - - -

                    - -
                    - - -
                    AbstractYes
                    - -
                    - - - - - - - - - -

                    - Table of Contents - - -

                    - - - - - - - -

                    - Constants - - -

                    -
                    -
                    - TEST_PROPERTIES - -  = ['apiURL' => 'https://localhost/oauth2/api', 'accessTokenURL' => 'https://localhost/oauth2/access_token', 'refreshTokenURL' => 'https://localhost/oauth2/refresh_token', 'clientCredentialsTokenURL' => 'https://localhost/oauth2/client_credentials', 'revokeURL' => 'https://localhost/oauth2/revoke_token'] -
                    - -
                    - TEST_RESPONSES - -  = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/refresh_token' => '{"access_token":"test_refreshed_access_token","expires_in":60,"state":"test_state"}', '/oauth2/revoke_token' => '{"message":"token revoked"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] -
                    - -
                    - - -

                    - Properties - - -

                    -
                    -
                    - $provider - -  : OAuth2Interface -
                    - -
                    - $http - -  : ClientInterface -
                    - -
                    - $is_ci - -  : bool -
                    - -
                    - $logger - -  : LoggerInterface -
                    - -
                    - $options - -  : OAuthOptions|SettingsContainerInterface -
                    - -
                    - $provider - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
                    - -
                    - $reflection - -  : ReflectionClass -
                    - -
                    - $requestFactory - -  : RequestFactoryInterface -
                    - -
                    - $responseFactory - -  : ResponseFactoryInterface -
                    - -
                    - $storage - -  : OAuthStorageInterface -
                    - -
                    - $streamFactory - -  : StreamFactoryInterface -
                    - -
                    - $uriFactory - -  : UriFactoryInterface -
                    - -
                    - $FACTORIES - -  : array<string|int, mixed> -
                    - -
                    - -

                    - Methods - - -

                    -
                    -
                    - requestTargetProvider() - -  : array<string|int, mixed> -
                    - -
                    - testCheckCSRFState() - -  : void -
                    - -
                    - testCheckStateInvalidCSRFStateException() - -  : void -
                    - -
                    - testCheckStateInvalidException() - -  : void -
                    - -
                    - testGetAccessToken() - -  : void -
                    - -
                    - testGetAuthURL() - -  : void -
                    - -
                    - testGetClientCredentials() - -  : void -
                    - -
                    - testGetRequestAuthorization() - -  : void -
                    - -
                    - testGetRequestTarget() - -  : void -
                    - -
                    - testMagicGet() - -  : void -
                    - -
                    - testOAuth2Instance() - -  : void -
                    - -
                    - testOAuthInstance() - -  : void -
                    - -
                    - testParseTokenResponseErrorException() - -  : void -
                    - -
                    - testParseTokenResponseNoDataException() - -  : void -
                    - -
                    - testParseTokenResponseNoTokenException() - -  : void -
                    - -
                    - testProviderInstance() - -  : void -
                    - -
                    - testRefreshAccessToken() - -  : void -
                    - -
                    - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                    - -
                    - testRequest() - -  : void -
                    - -
                    - testRequestWithTokenRefresh() - -  : void -
                    - -
                    - testTokenInvalidate() - -  : void -
                    - -
                    - getProviderFQCN() - -  : string -
                    -
                    returns the fully qualified class name (FQCN) of the test subject
                    - -
                    - getReflectionProperty() - -  : mixed -
                    - -
                    - initFactories() - -  : void -
                    - -
                    - initHttp() - -  : ClientInterface -
                    - -
                    - initLogger() - -  : LoggerInterface -
                    - -
                    - initOptions() - -  : SettingsContainerInterface -
                    - -
                    - initProvider() - -  : OAuthInterface|OAuth1Interface|OAuth2Interface -
                    - -
                    - initStorage() - -  : OAuthStorageInterface -
                    - -
                    - initTestProperties() - -  : void -
                    - -
                    - invokeReflectionMethod() - -  : mixed -
                    - -
                    - setReflectionProperty() - -  : void -
                    - -
                    - setUp() - -  : void -
                    - -
                    - - - - - -
                    -

                    - Constants - - -

                    -
                    -

                    - TEST_PROPERTIES - - -

                    - - - - - - protected - mixed - TEST_PROPERTIES - = ['apiURL' => 'https://localhost/oauth2/api', 'accessTokenURL' => 'https://localhost/oauth2/access_token', 'refreshTokenURL' => 'https://localhost/oauth2/refresh_token', 'clientCredentialsTokenURL' => 'https://localhost/oauth2/client_credentials', 'revokeURL' => 'https://localhost/oauth2/revoke_token'] - - - - - - - -
                    -
                    -

                    - TEST_RESPONSES - - -

                    - - - - - - protected - mixed - TEST_RESPONSES - = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/refresh_token' => '{"access_token":"test_refreshed_access_token","expires_in":60,"state":"test_state"}', '/oauth2/revoke_token' => '{"message":"token revoked"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] - - - - - - - -
                    -
                    - - -
                    -

                    - Properties - - -

                    - - - - - - - -
                    -

                    - $requestFactory - - - - -

                    - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                    -
                    -

                    - $responseFactory - - - - -

                    - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - - -
                    - -
                    -

                    - $streamFactory - - - - -

                    - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                    -
                    -

                    - $uriFactory - - - - -

                    - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                    -
                    -

                    - $FACTORIES - - - - -

                    - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
                    -
                    - -
                    -

                    - Methods - - -

                    -
                    -

                    - requestTargetProvider() - - -

                    - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                    -
                    - - - - -
                    -
                    Return values
                    - array<string|int, mixed> -
                    - -
                    - -
                    -

                    - testCheckStateInvalidCSRFStateException() - - -

                    - - - - - public - testCheckStateInvalidCSRFStateException() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testCheckStateInvalidException() - - -

                    - - - - - public - testCheckStateInvalidException() : void - -
                    -
                    - - - - - -
                    - - -
                    -

                    - testGetClientCredentials() - - -

                    - - - - - public - testGetClientCredentials() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testGetRequestAuthorization() - - -

                    - - - - - public - testGetRequestAuthorization() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testGetRequestTarget() - - -

                    - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                    -
                    - -
                    Parameters
                    -
                    -
                    - $path - : string -
                    -
                    - -
                    -
                    - $expected - : string -
                    -
                    - -
                    -
                    - - - - -
                    - - - -
                    -

                    - testParseTokenResponseErrorException() - - -

                    - - - - - public - testParseTokenResponseErrorException() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testParseTokenResponseNoDataException() - - -

                    - - - - - public - testParseTokenResponseNoDataException() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testParseTokenResponseNoTokenException() - - -

                    - - - - - public - testParseTokenResponseNoTokenException() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testProviderInstance() - - -

                    - - - - - public - testProviderInstance() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testRefreshAccessToken() - - -

                    - - - - - public - testRefreshAccessToken() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                    - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                    -
                    - - - - - -
                    - -
                    -

                    - testRequestWithTokenRefresh() - - -

                    - - - - - public - testRequestWithTokenRefresh() : void - -
                    -
                    - - - - - -
                    - -
                    -

                    - getProviderFQCN() - - -

                    - - -

                    returns the fully qualified class name (FQCN) of the test subject

                    - - - protected - abstract getProviderFQCN() : string - -
                    -
                    - - - - -
                    -
                    Return values
                    - string -
                    - -
                    -
                    -

                    - getReflectionProperty() - - -

                    - - - - - protected - getReflectionProperty(string $property) : mixed - -
                    -
                    - -
                    Parameters
                    -
                    -
                    - $property - : string -
                    -
                    - -
                    -
                    - - - - -
                    -
                    -

                    - initFactories() - - -

                    - - - - - protected - initFactories() : void - -
                    -
                    - - - -
                    - Tags - - -
                    -
                    -
                    - throws -
                    -
                    - Exception - - -
                    -
                    - - -
                    -
                    -

                    - initHttp() - - -

                    - - - - - protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface - -
                    -
                    - -
                    Parameters
                    -
                    -
                    - $options - : SettingsContainerInterface -
                    -
                    - -
                    -
                    - $logger - : LoggerInterface -
                    -
                    - -
                    -
                    - - - -
                    -
                    Return values
                    - ClientInterface -
                    - -
                    -
                    -

                    - initLogger() - - -

                    - - - - - protected - initLogger(bool $is_ci) : LoggerInterface - -
                    -
                    - -
                    Parameters
                    -
                    -
                    - $is_ci - : bool -
                    -
                    - -
                    -
                    - - - -
                    -
                    Return values
                    - LoggerInterface -
                    - -
                    -
                    -

                    - initOptions() - - -

                    - - - - - protected - initOptions() : SettingsContainerInterface - -
                    -
                    - - - - -
                    -
                    Return values
                    - SettingsContainerInterface -
                    - -
                    - - -
                    -

                    - initTestProperties() - - -

                    - - - - - protected - initTestProperties() : void - -
                    -
                    - - - - - -
                    -
                    -

                    - invokeReflectionMethod() - - -

                    - - - - - protected - invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed - -
                    -
                    - -
                    Parameters
                    -
                    -
                    - $method - : string -
                    -
                    - -
                    -
                    - $args - : array<string|int, mixed> - = []
                    -
                    - -
                    -
                    - - - - -
                    -
                    -

                    - setReflectionProperty() - - -

                    - - - - - protected - setReflectionProperty(string $property, mixed $value) : void - -
                    -
                    - -
                    Parameters
                    -
                    -
                    - $property - : string -
                    -
                    - -
                    -
                    - $value - : mixed -
                    -
                    - -
                    -
                    - - - - -
                    - -
                    - -
                    -
                    -
                    -
                    -
                    
                    -        
                    - -
                    -
                    - - - -
                    -
                    -
                    - -
                    - On this page - - -
                    - -
                    -
                    -
                    -
                    -
                    -

                    Search results

                    - -
                    -
                    -
                      -
                      -
                      -
                      -
                      - - -
                      - - - - - - - - diff --git a/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html new file mode 100644 index 00000000..af16418a --- /dev/null +++ b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html @@ -0,0 +1,1430 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                      +

                      Documentation

                      + + + + + +
                      + +
                      +
                      + + + + +
                      +
                      + + +
                      +

                      + ProviderLiveTestAbstract + + + extends ProviderUnitTestAbstract + + +
                      + in package + +
                      + + +

                      + +
                      + + +
                      AbstractYes
                      + +
                      + + + + + + + + + +

                      + Table of Contents + + +

                      + + + + + + + +

                      + Constants + + +

                      +
                      +
                      + CACERT + +  = __DIR__ . '/../cacert.pem' +
                      + +
                      + PROJECT_ROOT + +  = __DIR__ . '/../../' +
                      + +
                      + + +

                      + Properties + + +

                      +
                      +
                      + $CFG_DIR + +  : string +
                      + +
                      + $dotEnv + +  : DotEnv +
                      + +
                      + $ENV_IS_CI + +  : bool +
                      + +
                      + $ENV_PREFIX + +  : string +
                      + +
                      + $HTTP_CLIENT_FACTORY + +  : string +
                      + +
                      + $logger + +  : LoggerInterface +
                      + +
                      + $options + +  : OAuthOptions +
                      + +
                      + $provider + +  : OAuthInterface +
                      + +
                      + $reflection + +  : ReflectionClass +
                      + +
                      + $storage + +  : OAuthStorageInterface +
                      + +
                      + $TEST_USER + +  : string +
                      +
                      a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                      + +
                      + +

                      + Methods + + +

                      +
                      +
                      + getEnvPrefix() + +  : string|null +
                      +
                      returns the prefix in the .env file for the current provider
                      + +
                      + getProviderFQCN() + +  : string +
                      +
                      returns the fully qualified class name (FQCN) of the test subject
                      + +
                      + getReflectionProperty() + +  : mixed +
                      + +
                      + initEnvConfig() + +  : void +
                      + +
                      + 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 + + +

                      + + + + +
                      +

                      + $HTTP_CLIENT_FACTORY + + + + +

                      + + + + + protected + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderLiveTestHttpClientFactory::class + + + + + +
                      + + + + + +
                      +

                      + $TEST_USER + + + + +

                      + + +

                      a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER

                      + + + protected + string + $TEST_USER + = '' + + + + + +
                      +
                      + +
                      +

                      + Methods + + +

                      +
                      +

                      + getEnvPrefix() + + +

                      + + +

                      returns the prefix in the .env file for the current provider

                      + + + protected + abstract getEnvPrefix() : string|null + +
                      +
                      + + + + +
                      +
                      Return values
                      + string|null +
                      + +
                      +
                      +

                      + getProviderFQCN() + + +

                      + + +

                      returns the fully qualified class name (FQCN) of the test subject

                      + + + protected + abstract getProviderFQCN() : string + +
                      +
                      + + + + +
                      +
                      Return values
                      + string +
                      + +
                      +
                      +

                      + getReflectionProperty() + + +

                      + + + + + protected + getReflectionProperty(string $property) : mixed + +
                      +
                      + +
                      Parameters
                      +
                      +
                      + $property + : string +
                      +
                      + +
                      +
                      + + + + +
                      + + + + +
                      +

                      + invokeReflection() + + +

                      + + + + + protected + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object + +
                      +
                      + +
                      Parameters
                      +
                      +
                      + $FQCN + : string +
                      +
                      + +
                      +
                      + $args + : array<string|int, mixed> + = []
                      +
                      + +
                      +
                      + + + +
                      +
                      Return values
                      + object +
                      + +
                      +
                      +

                      + invokeReflectionMethod() + + +

                      + + + + + protected + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + +
                      +
                      + +
                      Parameters
                      +
                      +
                      + $method + : string +
                      +
                      + +
                      +
                      + $args + : array<string|int, mixed> + = []
                      +
                      + +
                      +
                      + + + + +
                      +
                      +

                      + setReflectionProperty() + + +

                      + + + + + protected + setReflectionProperty(string $property, mixed $value) : void + +
                      +
                      + +
                      Parameters
                      +
                      +
                      + $property + : string +
                      +
                      + +
                      +
                      + $value + : mixed +
                      +
                      + +
                      +
                      + + + + +
                      +
                      +

                      + setUp() + + +

                      + + + + + protected + setUp() : void + +
                      +
                      + + + +
                      + Tags + + +
                      +
                      +
                      + throws +
                      +
                      + InvalidArgumentException + + +
                      +
                      + + +
                      +
                      + +
                      +
                      +
                      +
                      +
                      
                      +        
                      + +
                      +
                      + + + +
                      +
                      +
                      + +
                      + On this page + + +
                      + +
                      +
                      +
                      +
                      +
                      +

                      Search results

                      + +
                      +
                      +
                        +
                        +
                        +
                        +
                        + + +
                        + + + + + + + + diff --git a/classes/chillerlan-OAuthTest-Helpers-ChillerlanHttpClientFactory.html b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestHttpClientFactory.html similarity index 78% rename from classes/chillerlan-OAuthTest-Helpers-ChillerlanHttpClientFactory.html rename to classes/chillerlan-OAuthTest-Providers-ProviderLiveTestHttpClientFactory.html index e0b822fc..283c3af0 100644 --- a/classes/chillerlan-OAuthTest-Helpers-ChillerlanHttpClientFactory.html +++ b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestHttpClientFactory.html @@ -112,12 +112,12 @@

                        Fil

                        @@ -177,16 +175,15 @@

                        Methods - +

                        - getClient() + getClient()  : ClientInterface
                        -
                        Returns a fully prepared http client instance
                        @@ -200,32 +197,31 @@

                        Methods - +

                        getClient() - +

                        -

                        Returns a fully prepared http client instance

                        - + public - static getClient(string $cfgdir) : ClientInterface + getClient(string $cacert, ResponseFactoryInterface $responseFactory) : ClientInterface
                        @@ -233,29 +229,22 @@

                        Parameters
                        - $cfgdir + $cacert : string
                        +
                        +
                        + $responseFactory + : ResponseFactoryInterface +
                        +
                        +
                        -
                        - Tags - - -
                        -
                        -
                        - inheritDoc -
                        -
                        - - -
                        -
                        Return values
                        @@ -269,7 +258,7 @@
                        Return values
                        -
                        
                        +            
                        
                                 
                        @@ -368,7 +357,7 @@
                        Return values
                      • Table Of Contents
                      • @@ -376,7 +365,7 @@
                        Return values
                      • Methods
                      • @@ -396,7 +385,7 @@

                        Search results

                        - + diff --git a/classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html similarity index 93% rename from classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html rename to classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html index 8c0d7eaa..2da94d4f 100644 --- a/classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html +++ b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html @@ -112,12 +112,12 @@

                        Fil

                        - OAuthTestMemoryStorage + ProviderLiveTestMemoryStorage extends MemoryStorage @@ -141,9 +141,9 @@

                        @@ -156,7 +156,7 @@

                        Table of Contents - +

                        @@ -170,7 +170,7 @@

                        Properties - +

                        @@ -194,7 +194,7 @@

                        the CSRF state storage array
                        - $storagePath + $storagePath  : string
                        @@ -210,12 +210,12 @@

                        Methods - +

                        - __construct() + __construct()  : mixed
                        @@ -252,7 +252,7 @@

                        Retrieves token JOSN from the underlying storage engine and returns an AccessToken
                        - getAccessToken() + getAccessToken()  : AccessToken
                        @@ -283,7 +283,7 @@

                        Sets a logger. (LoggerAwareInterface is stupid)
                        - storeAccessToken() + storeAccessToken()  : static
                        @@ -328,7 +328,7 @@

                        Properties - +

                        >

                        $storagePath - +

                        @@ -503,7 +503,7 @@

                        Methods - +

                        >

                        __construct() - +

                        @@ -838,13 +838,13 @@
                        Return values
                        >

                        getAccessToken() - +

                        @@ -870,7 +870,7 @@
                        Parameters
                        Tags - +
                        @@ -1141,13 +1141,13 @@
                        Return values
                        >

                        storeAccessToken() - +

                        @@ -1180,7 +1180,7 @@
                        Parameters
                        Tags - +
                        @@ -1422,7 +1422,7 @@
                        Return values
                        -
                        
                        +            
                        
                                 
                        @@ -1521,37 +1521,37 @@
                        Return values
                      • Table Of Contents
                      • Properties
                      • Methods
                      • - + diff --git a/classes/chillerlan-OAuthTest-Providers-OAuthTestHttpClientFactoryInterface.html b/classes/chillerlan-OAuthTest-Providers-ProviderTestLoggerFactory.html similarity index 78% rename from classes/chillerlan-OAuthTest-Providers-OAuthTestHttpClientFactoryInterface.html rename to classes/chillerlan-OAuthTest-Providers-ProviderTestLoggerFactory.html index f252a334..5c7f9ac3 100644 --- a/classes/chillerlan-OAuthTest-Providers-OAuthTestHttpClientFactoryInterface.html +++ b/classes/chillerlan-OAuthTest-Providers-ProviderTestLoggerFactory.html @@ -115,21 +115,30 @@

                        Fil
                      • Providers
                      • -
                        +

                        - OAuthTestHttpClientFactoryInterface -
                        - in + ProviderTestLoggerFactory + + +
                        + in package
                        + +

                        +
                        + + +
                        + @@ -141,7 +150,7 @@

                        Table of Contents - +

                        @@ -156,16 +165,15 @@

                        Methods - +

                        - getClient() + getLogger() -  : ClientInterface +  : LoggerInterface
                        -
                        Returns a fully prepared http client instance
                        @@ -174,35 +182,36 @@

                        + +

                        Methods - +

                        -

                        - getClient() - +

                        + getLogger() +

                        -

                        Returns a fully prepared http client instance

                        - + public - static getClient(string $cfgdir) : ClientInterface + getLogger(bool $env_is_ci) : LoggerInterface
                        @@ -210,8 +219,8 @@

                        Parameters
                        - $cfgdir - : string + $env_is_ci + : bool
                        @@ -222,7 +231,7 @@
                        Parameters
                        Return values
                        - ClientInterface + LoggerInterface
                        @@ -232,7 +241,7 @@
                        Return values
                        -
                        
                        +            
                        
                                 
                        @@ -323,7 +332,7 @@
                        Return values

                        - +
                        On this page @@ -331,17 +340,17 @@
                        Return values
                      • Table Of Contents
                      • +
                      • Methods
                      • + -
                      • Methods
                      • -
                      • - -
                      • + +
                      • Methods
                      • +
                      • + +
                      • @@ -359,7 +368,7 @@

                        Search results

                        - + diff --git a/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html new file mode 100644 index 00000000..19c4d2f4 --- /dev/null +++ b/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html @@ -0,0 +1,1174 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                        +

                        Documentation

                        + + + + + +
                        + +
                        +
                        + + + + +
                        +
                        + + +
                        +

                        + ProviderUnitTestAbstract + + + extends TestCase + + +
                        + in package + +
                        + + + + Uses + HttpFactoryTrait +

                        + +
                        + + +
                        AbstractYes
                        + +
                        + + + + + + + + + +

                        + Table of Contents + + +

                        + + + + + + + +

                        + Constants + + +

                        +
                        +
                        + CACERT + +  = __DIR__ . '/../cacert.pem' +
                        + +
                        + PROJECT_ROOT + +  = __DIR__ . '/../../' +
                        + +
                        + + +

                        + Properties + + +

                        +
                        +
                        + $ENV_IS_CI + +  : bool +
                        + +
                        + $HTTP_CLIENT_FACTORY + +  : string +
                        + +
                        + $logger + +  : LoggerInterface +
                        + +
                        + $options + +  : OAuthOptions +
                        + +
                        + $provider + +  : OAuthInterface +
                        + +
                        + $reflection + +  : ReflectionClass +
                        + +
                        + $storage + +  : OAuthStorageInterface +
                        + +
                        + +

                        + Methods + + +

                        +
                        +
                        + 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 + + +

                        + +
                        +

                        + $HTTP_CLIENT_FACTORY + + + + +

                        + + + + + protected + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class + + + + + +
                        + + + + + +
                        + +
                        +

                        + Methods + + +

                        +
                        +

                        + getProviderFQCN() + + +

                        + + +

                        returns the fully qualified class name (FQCN) of the test subject

                        + + + protected + abstract getProviderFQCN() : string + +
                        +
                        + + + + +
                        +
                        Return values
                        + string +
                        + +
                        +
                        +

                        + getReflectionProperty() + + +

                        + + + + + protected + getReflectionProperty(string $property) : mixed + +
                        +
                        + +
                        Parameters
                        +
                        +
                        + $property + : string +
                        +
                        + +
                        +
                        + + + + +
                        + + + +
                        +

                        + invokeReflection() + + +

                        + + + + + protected + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object + +
                        +
                        + +
                        Parameters
                        +
                        +
                        + $FQCN + : string +
                        +
                        + +
                        +
                        + $args + : array<string|int, mixed> + = []
                        +
                        + +
                        +
                        + + + +
                        +
                        Return values
                        + object +
                        + +
                        +
                        +

                        + invokeReflectionMethod() + + +

                        + + + + + protected + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + +
                        +
                        + +
                        Parameters
                        +
                        +
                        + $method + : string +
                        +
                        + +
                        +
                        + $args + : array<string|int, mixed> + = []
                        +
                        + +
                        +
                        + + + + +
                        +
                        +

                        + setReflectionProperty() + + +

                        + + + + + protected + setReflectionProperty(string $property, mixed $value) : void + +
                        +
                        + +
                        Parameters
                        +
                        +
                        + $property + : string +
                        +
                        + +
                        +
                        + $value + : mixed +
                        +
                        + +
                        +
                        + + + + +
                        + +
                        + +
                        +
                        +
                        +
                        +
                        
                        +        
                        + +
                        +
                        + + + +
                        +
                        +
                        + +
                        + On this page + + +
                        + +
                        +
                        +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + + + + + diff --git a/classes/chillerlan-OAuthTest-Helpers-GuzzleHttpClientFactory.html b/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestHttpClientFactory.html similarity index 79% rename from classes/chillerlan-OAuthTest-Helpers-GuzzleHttpClientFactory.html rename to classes/chillerlan-OAuthTest-Providers-ProviderUnitTestHttpClientFactory.html index 8fbe1b36..af7536a8 100644 --- a/classes/chillerlan-OAuthTest-Helpers-GuzzleHttpClientFactory.html +++ b/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestHttpClientFactory.html @@ -112,12 +112,12 @@

                          Fil

                          @@ -177,16 +177,15 @@

                          Methods - +

                          - getClient() + getClient()  : ClientInterface
                          -
                          Returns a fully prepared http client instance
                          @@ -200,32 +199,31 @@

                          Methods - +

                          getClient() - +

                          -

                          Returns a fully prepared http client instance

                          - + public - static getClient(string $cfgdir) : ClientInterface + getClient(string $cacert, ResponseFactoryInterface $responseFactory) : ClientInterface
                          @@ -233,11 +231,18 @@

                          Parameters
                          - $cfgdir + $cacert : string
                          +
                          +
                          + $responseFactory + : ResponseFactoryInterface +
                          +
                          +
                          @@ -255,7 +260,7 @@
                          Return values
                          -
                          
                          +            
                          
                                   
                          @@ -354,7 +359,7 @@
                          Return values
                        • Table Of Contents
                        • @@ -362,7 +367,7 @@
                          Return values
                        • Methods
                        • @@ -382,7 +387,7 @@

                          Search results

                          - + diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html index cd8f9532..05304614 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html @@ -121,7 +121,7 @@

                          AmazonTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - - -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html index 5d54bf97..2002dd03 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html @@ -121,7 +121,7 @@

                          BattleNetTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,6 +136,8 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,121 +256,79 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() - -  : void -
                          - -
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          @@ -416,7 +346,7 @@

                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -428,67 +358,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -506,16 +418,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1112,22 +1031,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1143,22 +1062,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1174,22 +1093,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1205,22 +1124,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1236,349 +1155,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestAuthorization() - - -

                          - - - - - public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void + testProviderInstance() : void
                          @@ -1596,13 +1188,13 @@

                          >

                          testRefreshAccessTokenNoRefreshTokenAvailable() - +

                          @@ -1618,68 +1210,6 @@

                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void - -
                          -
                          - - - - -
                          >

                          testTokenInvalidate() - +

                          @@ -1817,13 +1347,13 @@
                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1856,45 +1386,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1925,15 +1444,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1944,7 +1456,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1954,22 +1466,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1977,8 +1489,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1989,42 +1501,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -2034,22 +1511,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -2063,48 +1540,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2114,40 +1553,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2205,13 +1613,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2253,13 +1661,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2389,8 +1797,8 @@

                        • Constants
                        • @@ -2398,60 +1806,45 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html index d872f941..b8ec5ce1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html @@ -121,7 +121,7 @@

                          BigCartelTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}', '/oauth2/api/accounts' => '{"data":[{"id":"12345"}]}', '/oauth2/revoke_token/12345' => ''] +  = __DIR__ . '/../../'
                          @@ -198,83 +198,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +254,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetClientCredentials() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() + testCheckCSRFState()  : void
                          - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                          - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                          - testOAuthInstance() + testGetRequestAuthorization()  : void
                          - testParseTokenResponseErrorException() + testGetRequestTarget()  : void
                          - testParseTokenResponseNoDataException() + testGetRequestTargetInvalidSchemeException()  : void
                          - testParseTokenResponseNoTokenException() + testGetRequestTargetProviderMismatchException()  : void
                          - testProviderInstance() + testMagicGet()  : void
                          - testRefreshAccessToken() + testOAuth2Instance()  : void
                          - testRefreshAccessTokenNoRefreshTokenAvailable() + testOAuthInstance()  : void
                          - testRequest() + testProviderInstance()  : void
                          - testRequestWithTokenRefresh() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +344,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +404,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -539,8 +449,8 @@

                          protected mixed - TEST_RESPONSES - = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}', '/oauth2/api/accounts' => '{"data":[{"id":"12345"}]}', '/oauth2/revoke_token/12345' => ''] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -600,13 +510,13 @@

                          >

                          $provider - +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1017,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1048,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1079,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1110,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1141,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1172,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1205,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1242,7 @@

                          @@ -1743,13 +1271,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1310,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1368,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1380,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1390,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1413,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1425,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1435,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1464,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1477,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1537,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1585,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1721,8 @@

                        • Constants
                        • @@ -2324,58 +1730,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html index 70dd4d12..52e8bd4d 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html @@ -121,7 +121,7 @@

                          BitbucketTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html index 6104ea53..c9942ca7 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html @@ -121,7 +121,7 @@

                          DeezerTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = ['apiURL' => 'https://localhost/oauth2/api', 'accessTokenURL' => 'https://localhost/oauth2/access_token'] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/oauth2/access_token' => 'access_token=test_access_token&expires_in=3600&state=test_state&scope=some_scope%20other_scope', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] +  = __DIR__ . '/../../'
                          @@ -198,83 +198,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,133 +254,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetClientCredentials() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() + testCheckCSRFState()  : void
                          - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                          - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                          - testOAuthInstance() + testGetRequestAuthorization()  : void
                          - testParseTokenResponse() + testGetRequestTarget()  : void
                          - testParseTokenResponseErrorException() + testGetRequestTargetInvalidSchemeException()  : void
                          - testParseTokenResponseNoDataException() + testGetRequestTargetProviderMismatchException()  : void
                          - testParseTokenResponseNoTokenException() + testMagicGet()  : void
                          - testProviderInstance() + testOAuth2Instance()  : void
                          - testRefreshAccessToken() + testOAuthInstance()  : void
                          - testRefreshAccessTokenNoRefreshTokenAvailable() + testProviderInstance()  : void
                          - testRequest() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -422,67 +344,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -500,16 +404,16 @@

                          -

                          - TEST_PROPERTIES - +

                          + CACERT +

                          @@ -517,8 +421,8 @@

                          protected mixed - TEST_PROPERTIES - = ['apiURL' => 'https://localhost/oauth2/api', 'accessTokenURL' => 'https://localhost/oauth2/access_token'] + CACERT + = __DIR__ . '/../cacert.pem' @@ -528,16 +432,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -545,8 +449,8 @@

                          protected mixed - TEST_RESPONSES - = ['/oauth2/access_token' => 'access_token=test_access_token&expires_in=3600&state=test_state&scope=some_scope%20other_scope', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -606,13 +510,13 @@

                          >

                          $provider - +

                          -
                          -

                          - $requestFactory - - - - -

                          - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                          -
                          -

                          - $responseFactory - - - - -

                          - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                          -
                          -

                          - $streamFactory - - - - -

                          - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                          -
                          -

                          - $uriFactory - - - - -

                          - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                          -
                          -

                          - $FACTORIES - - - - -

                          - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                          @@ -1042,13 +781,13 @@

                          >

                          requestTargetProvider() - +

                          @@ -1077,13 +816,13 @@
                          Return values
                          >

                          testCheckCSRFState() - +

                          @@ -1106,22 +845,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testCheckCSRFStateEmptyException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testCheckCSRFStateEmptyException() : void
                          @@ -1137,22 +876,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testCheckCSRFStateInvalidStateException() +

                          public - testCheckStateInvalidException() : void + testCheckCSRFStateInvalidStateException() : void
                          @@ -1168,22 +907,22 @@

                          -

                          - testGetAccessToken() - +

                          + testGetRequestAuthorization() +

                          public - testGetAccessToken() : void + testGetRequestAuthorization() : void
                          @@ -1199,27 +938,44 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testGetRequestTarget() +

                          public - testGetAuthURL() : void + testGetRequestTarget(string $path, string $expected) : void
                          - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          + @@ -1230,22 +986,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testGetClientCredentials() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1261,22 +1017,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testGetRequestAuthorization() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1285,54 +1041,6 @@

                          -

                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - -
                          Parameters >

                          testMagicGet() - +

                          @@ -1373,13 +1081,13 @@

                          >

                          testOAuth2Instance() - +

                          @@ -1404,13 +1112,13 @@

                          >

                          testOAuthInstance() - +

                          @@ -1426,130 +1134,6 @@

                          -

                          -
                          -

                          - testParseTokenResponse() - - -

                          - - - - - public - testParseTokenResponse() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - -
                          testProviderInstance() - + @@ -1581,37 +1165,6 @@

                          -

                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - -
                          >

                          testRefreshAccessTokenNoRefreshTokenAvailable() - +

                          @@ -1643,68 +1196,6 @@

                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void - -
                          -
                          - - - - -
                          >

                          testTokenInvalidate() - +

                          @@ -1751,7 +1242,7 @@

                          @@ -1780,13 +1271,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1819,45 +1310,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1888,15 +1368,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1907,7 +1380,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1917,22 +1390,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1940,8 +1413,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1952,42 +1425,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1997,22 +1435,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -2026,48 +1464,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2077,40 +1477,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2168,13 +1537,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2216,13 +1585,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2352,8 +1721,8 @@

                        • Constants
                        • @@ -2361,59 +1730,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html index 78ad1288..2794e3e1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html @@ -121,7 +121,7 @@

                          DeviantArtTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/refresh_token' => '{"access_token":"test_refreshed_access_token","expires_in":60,"state":"test_state"}', '/oauth2/revoke_token' => '{"success": true}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] +  = __DIR__ . '/../../'
                          @@ -198,83 +198,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +254,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetClientCredentials() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() + testCheckCSRFState()  : void
                          - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                          - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                          - testOAuthInstance() + testGetRequestAuthorization()  : void
                          - testParseTokenResponseErrorException() + testGetRequestTarget()  : void
                          - testParseTokenResponseNoDataException() + testGetRequestTargetInvalidSchemeException()  : void
                          - testParseTokenResponseNoTokenException() + testGetRequestTargetProviderMismatchException()  : void
                          - testProviderInstance() + testMagicGet()  : void
                          - testRefreshAccessToken() + testOAuth2Instance()  : void
                          - testRefreshAccessTokenNoRefreshTokenAvailable() + testOAuthInstance()  : void
                          - testRequest() + testProviderInstance()  : void
                          - testRequestWithTokenRefresh() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +344,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +404,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -539,8 +449,8 @@

                          protected mixed - TEST_RESPONSES - = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/refresh_token' => '{"access_token":"test_refreshed_access_token","expires_in":60,"state":"test_state"}', '/oauth2/revoke_token' => '{"success": true}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -600,13 +510,13 @@

                          >

                          $provider - +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1017,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1048,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1079,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1110,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1141,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1172,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1205,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1242,7 @@

                          @@ -1743,13 +1271,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1310,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1368,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1380,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1390,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1413,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1425,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1435,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1464,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1477,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1537,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1585,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1721,8 @@

                        • Constants
                        • @@ -2324,58 +1730,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html index 7fb45f51..e8f7b6d6 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html @@ -121,7 +121,7 @@

                          DiscogsTest - extends OAuth1ProviderTestAbstract + extends OAuth1ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth1Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,103 +256,73 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() - -  : void -
                          - -
                          - testGetSignature() - -  : void -
                          - -
                          - testGetSignatureInvalidURLException() + testGetRequestAuthorization()  : void
                          - testMagicGet() + testGetRequestTarget()  : void
                          - testOAuth1Instance() + testGetRequestTargetInvalidSchemeException()  : void
                          - testOAuthInstance() + testGetRequestTargetProviderMismatchException()  : void
                          - testParseTokenResponseCallbackUnconfirmedException() + testGetSignature()  : void
                          - testParseTokenResponseErrorException() + testGetSignatureInvalidURLException()  : void
                          - testParseTokenResponseNoDataException() + testMagicGet()  : void
                          - testParseTokenResponseNoTokenException() + testOAuth1Instance()  : void
                          - testProviderInstance() + testOAuthInstance()  : void
                          - testRequest() + testProviderInstance()  : void
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -392,67 +334,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() + initOptions() -  : void -
                          - -
                          - initHttp() - -  : ClientInterface +  : OAuthOptions
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() - -  : SettingsContainerInterface -
                          - -
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -470,16 +394,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          -
                          -

                          - $requestFactory - - - - -

                          - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                          -
                          -

                          - $responseFactory - - - - -

                          - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                          -
                          -

                          - $streamFactory - - - - -

                          - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                          -
                          -

                          - $uriFactory - - - - -

                          - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                          -
                          -

                          - $FACTORIES - - - - -

                          - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                          @@ -1012,13 +771,13 @@

                          >

                          requestTargetProvider() - +

                          @@ -1038,68 +797,6 @@
                          Return values
                          array<string|int, mixed> -

                          -
                          -

                          - testGetAccessToken() - - -

                          - - - - - public - testGetAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetAuthURL() - - -

                          - - - - - public - testGetAuthURL() : void - -
                          -
                          - - - - -
                          >

                          testGetRequestAuthorization() - +

                          @@ -1140,13 +837,13 @@

                          >

                          testGetRequestTarget() - +

                          @@ -1186,53 +883,22 @@
                          Parameters
                          -public " > -

                          - testGetSignature() - - -

                          - - - - - public - testGetSignature() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetSignatureInvalidURLException() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testGetSignatureInvalidURLException() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1248,22 +914,22 @@

                          -

                          - testMagicGet() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testMagicGet() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1279,13 +945,13 @@

                          -public " > -

                          - testOAuth1Instance() - +

                          + testGetSignature() +

                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void + testGetSignature() : void
                          @@ -1341,22 +976,22 @@

                          -public " > -

                          - testParseTokenResponseCallbackUnconfirmedException() - +

                          + testGetSignatureInvalidURLException() +

                          public - testParseTokenResponseCallbackUnconfirmedException() : void + testGetSignatureInvalidURLException() : void
                          @@ -1372,22 +1007,22 @@

                          -

                          - testParseTokenResponseErrorException() - +

                          + testMagicGet() +

                          public - testParseTokenResponseErrorException() : void + testMagicGet() : void
                          @@ -1403,22 +1038,22 @@

                          -

                          - testParseTokenResponseNoDataException() - +

                          + testOAuth1Instance() +

                          public - testParseTokenResponseNoDataException() : void + testOAuth1Instance() : void
                          @@ -1434,22 +1069,22 @@

                          -

                          - testParseTokenResponseNoTokenException() - +

                          + testOAuthInstance() +

                          public - testParseTokenResponseNoTokenException() : void + testOAuthInstance() : void
                          @@ -1467,13 +1102,13 @@

                          testProviderInstance() - +

                          @@ -1489,37 +1124,6 @@

                          -

                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - -
                          >

                          testTokenInvalidate() - +

                          @@ -1566,7 +1170,7 @@

                          @@ -1595,13 +1199,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1634,45 +1238,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1703,15 +1296,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1722,7 +1308,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1732,22 +1318,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1755,8 +1341,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1767,42 +1353,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1812,22 +1363,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1841,48 +1392,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -1892,40 +1405,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -1983,13 +1465,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2031,13 +1513,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2167,8 +1649,8 @@

                        • Constants
                        • @@ -2176,54 +1658,41 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html index 070f9ae4..80c49bb2 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html @@ -121,7 +121,7 @@

                          DiscordTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html index 1d8c05a3..7b37d58a 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html @@ -121,7 +121,7 @@

                          FlickrTest - extends OAuth1ProviderTestAbstract + extends OAuth1ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,20 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = ['requestTokenURL' => 'https://localhost/oauth1/request_token', 'accessTokenURL' => 'https://localhost/oauth1/access_token', 'apiURL' => 'https://localhost/oauth1/api'] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [ - '/oauth1/request_token' => 'oauth_token=test_request_token&oauth_token_secret=test_request_token_secret&oauth_callback_confirmed=true', - '/oauth1/access_token' => 'oauth_token=test_access_token&oauth_token_secret=test_access_token_secret&oauth_callback_confirmed=true', - // the Flickr client does not add a path, so "/request" is missing - '/oauth1/api' => '{"data":"such data! much wow!"}', -] +  = __DIR__ . '/../../'
                          @@ -203,83 +198,53 @@

                          - $provider + $provider  : OAuth1Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -289,103 +254,73 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetRequestAuthorization() + testGetRequestAuthorization()  : void
                          - testGetRequestTarget() + testGetRequestTarget()  : void
                          - testGetSignature() + testGetRequestTargetInvalidSchemeException()  : void
                          - testGetSignatureInvalidURLException() + testGetRequestTargetProviderMismatchException()  : void
                          - testMagicGet() + testGetSignature()  : void
                          - testOAuth1Instance() + testGetSignatureInvalidURLException()  : void
                          - testOAuthInstance() + testMagicGet()  : void
                          - testParseTokenResponseCallbackUnconfirmedException() + testOAuth1Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() - -  : void -
                          - -
                          - testProviderInstance() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -397,67 +332,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() + initOptions() -  : void +  : OAuthOptions
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() - -  : SettingsContainerInterface -
                          - -
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -475,16 +392,16 @@

                          -

                          - TEST_PROPERTIES - +

                          + CACERT +

                          @@ -492,8 +409,8 @@

                          protected mixed - TEST_PROPERTIES - = ['requestTokenURL' => 'https://localhost/oauth1/request_token', 'accessTokenURL' => 'https://localhost/oauth1/access_token', 'apiURL' => 'https://localhost/oauth1/api'] + CACERT + = __DIR__ . '/../cacert.pem' @@ -503,16 +420,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -520,13 +437,8 @@

                          protected mixed - TEST_RESPONSES - = [ - '/oauth1/request_token' => 'oauth_token=test_request_token&oauth_token_secret=test_request_token_secret&oauth_callback_confirmed=true', - '/oauth1/access_token' => 'oauth_token=test_access_token&oauth_token_secret=test_access_token_secret&oauth_callback_confirmed=true', - // the Flickr client does not add a path, so "/request" is missing - '/oauth1/api' => '{"data":"such data! much wow!"}', -] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -586,13 +498,13 @@

                          >

                          $provider - +

                          -
                          -

                          - $requestFactory - - - - -

                          - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                          -
                          -

                          - $responseFactory - - - - -

                          - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                          -
                          -

                          - $streamFactory - - - - -

                          - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                          -
                          -

                          - $uriFactory - - - - -

                          - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                          -
                          -

                          - $FACTORIES - - - - -

                          - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                          @@ -1022,13 +769,13 @@

                          >

                          requestTargetProvider() - +

                          @@ -1048,68 +795,6 @@
                          Return values
                          array<string|int, mixed> -

                          -
                          -

                          - testGetAccessToken() - - -

                          - - - - - public - testGetAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetAuthURL() - - -

                          - - - - - public - testGetAuthURL() : void - -
                          -
                          - - - - -
                          >

                          testGetRequestAuthorization() - +

                          @@ -1150,13 +835,13 @@

                          >

                          testGetRequestTarget() - +

                          @@ -1196,53 +881,22 @@
                          Parameters
                          -public " > -

                          - testGetSignature() - - -

                          - - - - - public - testGetSignature() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetSignatureInvalidURLException() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testGetSignatureInvalidURLException() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1258,22 +912,22 @@

                          -

                          - testMagicGet() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testMagicGet() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1289,13 +943,13 @@

                          -public " > -

                          - testOAuth1Instance() - +

                          + testGetSignature() +

                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void + testGetSignature() : void
                          @@ -1351,22 +974,22 @@

                          -public " > -

                          - testParseTokenResponseCallbackUnconfirmedException() - +

                          + testGetSignatureInvalidURLException() +

                          public - testParseTokenResponseCallbackUnconfirmedException() : void + testGetSignatureInvalidURLException() : void
                          @@ -1382,22 +1005,22 @@

                          -

                          - testParseTokenResponseErrorException() - +

                          + testMagicGet() +

                          public - testParseTokenResponseErrorException() : void + testMagicGet() : void
                          @@ -1413,22 +1036,22 @@

                          -

                          - testParseTokenResponseNoDataException() - +

                          + testOAuth1Instance() +

                          public - testParseTokenResponseNoDataException() : void + testOAuth1Instance() : void
                          @@ -1444,22 +1067,22 @@

                          -

                          - testParseTokenResponseNoTokenException() - +

                          + testOAuthInstance() +

                          public - testParseTokenResponseNoTokenException() : void + testOAuthInstance() : void
                          @@ -1477,13 +1100,13 @@

                          testProviderInstance() - +

                          @@ -1499,37 +1122,6 @@

                          -

                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - -
                          >

                          testTokenInvalidate() - +

                          @@ -1576,7 +1168,7 @@

                          @@ -1605,13 +1197,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1644,45 +1236,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1713,15 +1294,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1732,7 +1306,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1742,22 +1316,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1765,8 +1339,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1777,42 +1351,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1822,22 +1361,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1851,48 +1390,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -1902,40 +1403,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -1993,13 +1463,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2041,13 +1511,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2177,8 +1647,8 @@

                        • Constants
                        • @@ -2186,54 +1656,41 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html index 135f6699..d637fbe9 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html @@ -121,7 +121,7 @@

                          FoursquareTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html index 8bac2787..7aec1596 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html @@ -121,7 +121,7 @@

                          GitHubTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html index 15d0caba..2c313434 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html @@ -121,7 +121,7 @@

                          GitLabTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html index af80a187..5b4fa16c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html @@ -121,7 +121,7 @@

                          GoogleTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html index fac44137..be133d7a 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html @@ -121,7 +121,7 @@

                          GuildWars2Test - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = ['authURL' => 'https://localhost/gw2/auth', 'apiURL' => 'https://localhost/gw2/api'] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/gw2/auth' => '{"id":"00000000-1111-2222-3333-444444444444","name":"GW2Token","permissions":["foo","bar"]}', '/gw2/api/request' => '{"data":"such data! much wow!"}'] +  = __DIR__ . '/../../'
                          @@ -198,83 +198,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,151 +254,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetClientCredentials() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() - -  : void -
                          - -
                          - testMagicGet() - -  : void -
                          - -
                          - testOAuth2Instance() - -  : void -
                          - -
                          - testOAuthInstance() + testCheckCSRFState()  : void
                          - testParseTokenResponseErrorException() + testCheckCSRFStateEmptyException()  : void
                          - testParseTokenResponseNoDataException() + testCheckCSRFStateInvalidStateException()  : void
                          - testParseTokenResponseNoTokenException() + testGetRequestAuthorization()  : void
                          - testProviderInstance() + testGetRequestTarget()  : void
                          - testRefreshAccessToken() + testGetRequestTargetInvalidSchemeException()  : void
                          - testRefreshAccessTokenNoRefreshTokenAvailable() + testGetRequestTargetProviderMismatchException()  : void
                          - testRequest() + testMagicGet()  : void
                          - testRequestGetAccessTokenNotSupportedException() + testOAuth2Instance()  : void
                          - testRequestGetAuthURLNotSupportedException() + testOAuthInstance()  : void
                          - testRequestWithTokenRefresh() + testProviderInstance()  : void
                          - testStoreGW2InvalidToken() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testStoreGW2Token() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -440,67 +344,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -518,16 +404,16 @@

                          -

                          - TEST_PROPERTIES - +

                          + CACERT +

                          @@ -535,8 +421,8 @@

                          protected mixed - TEST_PROPERTIES - = ['authURL' => 'https://localhost/gw2/auth', 'apiURL' => 'https://localhost/gw2/api'] + CACERT + = __DIR__ . '/../cacert.pem' @@ -546,16 +432,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -563,8 +449,8 @@

                          protected mixed - TEST_RESPONSES - = ['/gw2/auth' => '{"id":"00000000-1111-2222-3333-444444444444","name":"GW2Token","permissions":["foo","bar"]}', '/gw2/api/request' => '{"data":"such data! much wow!"}'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -624,13 +510,13 @@

                          >

                          $provider - +

                          -
                          -

                          - $requestFactory - - - - -

                          - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                          -
                          -

                          - $responseFactory - - - - -

                          - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                          -
                          -

                          - $streamFactory - - - - -

                          - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                          -
                          -

                          - $uriFactory - - - - -

                          - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                          -
                          -

                          - $FACTORIES - - - - -

                          - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                          @@ -1060,13 +781,13 @@

                          >

                          requestTargetProvider() - +

                          @@ -1095,13 +816,13 @@
                          Return values
                          >

                          testCheckCSRFState() - +

                          @@ -1124,22 +845,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testCheckCSRFStateEmptyException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testCheckCSRFStateEmptyException() : void
                          @@ -1155,22 +876,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testCheckCSRFStateInvalidStateException() +

                          public - testCheckStateInvalidException() : void + testCheckCSRFStateInvalidStateException() : void
                          @@ -1186,22 +907,22 @@

                          -

                          - testGetAccessToken() - +

                          + testGetRequestAuthorization() +

                          public - testGetAccessToken() : void + testGetRequestAuthorization() : void
                          @@ -1217,115 +938,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testGetRequestTarget() +

                          public - testGetAuthURL() : void - -
                          -
                          - - - - - -

                          -
                          -

                          - testGetClientCredentials() - - -

                          - - - - - public - testGetClientCredentials() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestAuthorization() - - -

                          - - - - - public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void + testGetRequestTarget(string $path, string $expected) : void
                          @@ -1358,22 +986,22 @@
                          Parameters
                          -public " > -

                          - testMagicGet() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testMagicGet() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1389,22 +1017,22 @@

                          -public " > -

                          - testOAuth2Instance() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testOAuth2Instance() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1420,53 +1048,22 @@

                          -public " > -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - +

                          + testMagicGet() +

                          public - testParseTokenResponseErrorException() : void + testMagicGet() : void
                          @@ -1482,22 +1079,22 @@

                          -

                          - testParseTokenResponseNoDataException() - +

                          + testOAuth2Instance() +

                          public - testParseTokenResponseNoDataException() : void + testOAuth2Instance() : void
                          @@ -1513,22 +1110,22 @@

                          -

                          - testParseTokenResponseNoTokenException() - +

                          + testOAuthInstance() +

                          public - testParseTokenResponseNoTokenException() : void + testOAuthInstance() : void
                          @@ -1546,13 +1143,13 @@

                          testProviderInstance() - +

                          @@ -1568,37 +1165,6 @@

                          -

                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - -
                          >

                          testRefreshAccessTokenNoRefreshTokenAvailable() - +

                          @@ -1630,192 +1196,6 @@

                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestGetAccessTokenNotSupportedException() - - -

                          - - - - - public - testRequestGetAccessTokenNotSupportedException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestGetAuthURLNotSupportedException() - - -

                          - - - - - public - testRequestGetAuthURLNotSupportedException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testStoreGW2InvalidToken() - - -

                          - - - - - public - testStoreGW2InvalidToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testStoreGW2Token() - - -

                          - - - - - public - testStoreGW2Token() : void - -
                          -
                          - - - - -
                          >

                          testTokenInvalidate() - +

                          @@ -1862,7 +1242,7 @@

                          @@ -1891,13 +1271,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1930,45 +1310,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1999,15 +1368,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -2018,7 +1380,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -2028,22 +1390,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -2051,8 +1413,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -2063,42 +1425,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -2108,22 +1435,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -2137,48 +1464,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2188,40 +1477,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2279,13 +1537,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2327,13 +1585,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2463,8 +1721,8 @@

                        • Constants
                        • @@ -2472,62 +1730,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html index 81558a2b..f44816ab 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html @@ -121,7 +121,7 @@

                          ImgurTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html index 2dc41a38..7841d972 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html @@ -121,7 +121,7 @@

                          LastFMTest - extends OAuthProviderTestAbstract + extends OAuthProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = ['apiURL' => 'https://localhost/lastfm/api', 'accessTokenURL' => 'https://localhost/lastfm/token'] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/lastfm/token' => '{"session":{"key":"session_key"}}', '/lastfm/api' => '{"data":"such data! much wow!"}'] +  = __DIR__ . '/../../'
                          @@ -198,77 +198,47 @@

                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -278,97 +248,49 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - setUp() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetRequestTarget() - -  : void -
                          - -
                          - testGetSignature() - -  : void -
                          - -
                          - testMagicGet() - -  : void -
                          - -
                          - testOAuthInstance() - -  : void -
                          - -
                          - testParseTokenResponse() + testGetRequestTarget()  : void
                          - testParseTokenResponseError() + testGetRequestTargetInvalidSchemeException()  : void
                          - testParseTokenResponseNoData() + testGetRequestTargetProviderMismatchException()  : void
                          - testParseTokenResponseNoToken() + testMagicGet()  : void
                          - testProviderInstance() + testOAuthInstance()  : void
                          - testRequest() + testProviderInstance()  : void
                          - testRequestPost() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -378,64 +300,51 @@

                           : string -
                          returns the fully qualified class name (FQCN) of the test subject
                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() + initOptions() -  : ClientInterface +  : OAuthOptions
                          - initLogger() + initProvider() -  : LoggerInterface +  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initOptions() + initStorage() -  : SettingsContainerInterface +  : OAuthStorageInterface
                          - initProvider() + invokeReflection() -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : object
                          - initStorage() + invokeReflectionMethod() -  : OAuthStorageInterface +  : mixed
                          - initTestProperties() + setReflectionProperty()  : void
                          - invokeReflectionMethod() - -  : mixed -
                          - -
                          - setReflectionProperty() + setUp()  : void
                          @@ -453,16 +362,16 @@

                          -

                          - TEST_PROPERTIES - +

                          + CACERT +

                          @@ -470,8 +379,8 @@

                          protected mixed - TEST_PROPERTIES - = ['apiURL' => 'https://localhost/lastfm/api', 'accessTokenURL' => 'https://localhost/lastfm/token'] + CACERT + = __DIR__ . '/../cacert.pem' @@ -481,16 +390,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -498,8 +407,8 @@

                          protected mixed - TEST_RESPONSES - = ['/lastfm/token' => '{"session":{"key":"session_key"}}', '/lastfm/api' => '{"data":"such data! much wow!"}'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -557,25 +466,25 @@

                          -protected " > -

                          - $http - +

                          + $ENV_IS_CI +

                          protected - ClientInterface - $http + bool + $ENV_IS_CI @@ -590,26 +499,26 @@

                          -protected " > -

                          - $is_ci - +

                          + $HTTP_CLIENT_FACTORY +

                          protected - bool - $is_ci - + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class @@ -625,15 +534,15 @@

                          >

                          $logger - +

                          @@ -658,22 +567,22 @@

                          >

                          $options - +

                          protected - OAuthOptions|SettingsContainerInterface + OAuthOptions $options @@ -691,22 +600,22 @@

                          >

                          $provider - +

                          protected - OAuthInterface|OAuth1Interface|OAuth2Interface + OAuthInterface $provider @@ -724,15 +633,15 @@

                          >

                          $reflection - +

                          @@ -755,25 +664,25 @@

                          -protected " > -

                          - $requestFactory - +

                          + $storage +

                          protected - RequestFactoryInterface - $requestFactory + OAuthStorageInterface + $storage @@ -781,201 +690,212 @@

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $streamFactory - +

                          + testGetRequestTargetInvalidSchemeException() + - -

                          - protected - StreamFactoryInterface - $streamFactory - + public + testGetRequestTargetInvalidSchemeException() : void +
                          +
                          +
                          -

                          - $uriFactory - +

                          + testGetRequestTargetProviderMismatchException() + - -

                          - protected - UriFactoryInterface - $uriFactory - + public + testGetRequestTargetProviderMismatchException() : void +
                          +
                          +
                          -

                          - $FACTORIES - +

                          + testMagicGet() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testMagicGet() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          Return values

                          -public " > -

                          - setUp() - +

                          + testProviderInstance() +

                          public - setUp() : void + testProviderInstance() : void
                          @@ -1026,22 +942,22 @@

                          -public " > -

                          - testGetAccessToken() - +

                          + testTokenInvalidate() +

                          public - testGetAccessToken() : void + testTokenInvalidate() : void
                          @@ -1054,443 +970,22 @@

                          -

                          - testGetAuthURL() - +

                          + getProviderFQCN() +

                          - - - - public - testGetAuthURL() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testGetSignature() - - -

                          - - - - - public - testGetSignature() : void - -
                          -
                          - - - - - -
                          - - -
                          -

                          - testParseTokenResponse() - - -

                          - - - - - public - testParseTokenResponse() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseError() - - -

                          - - - - - public - testParseTokenResponseError() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoData() - - -

                          - - - - - public - testParseTokenResponseNoData() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoToken() - - -

                          - - - - - public - testParseTokenResponseNoToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestPost() - - -

                          - - - - - public - testRequestPost() : void - -
                          -
                          - - - - - -
                          - -
                          -

                          - getProviderFQCN() - - -

                          - - -

                          returns the fully qualified class name (FQCN) of the test subject

                          - protected getProviderFQCN() : string @@ -1515,13 +1010,13 @@
                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1554,45 +1049,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1623,15 +1107,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1642,7 +1119,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1652,22 +1129,22 @@

                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1675,8 +1152,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1687,42 +1164,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - -
                          -
                          -

                          - initOptions() - - -

                          - - - - - protected - initOptions() : SettingsContainerInterface - -
                          -
                          - - - - -
                          -
                          Return values
                          - SettingsContainerInterface + OAuthStorageInterface
                          @@ -1732,22 +1174,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1760,6 +1202,13 @@
                          Parameters
                          +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          +
                          @@ -1767,7 +1216,7 @@
                          Parameters
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface + object
                          @@ -1777,22 +1226,22 @@
                          Return values
                          -protected " > -

                          - initStorage() - +

                          + invokeReflectionMethod() +

                          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
                          @@ -1800,51 +1249,23 @@

                          Parameters
                          - $options - : SettingsContainerInterface + $method + : string
                          +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          +
                          -
                          -
                          Return values
                          - OAuthStorageInterface -
                          - - -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - -
                          -protected " > -

                          - invokeReflectionMethod() - +

                          + setReflectionProperty() +

                          protected - invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + setReflectionProperty(string $property, mixed $value) : void
                          @@ -1876,16 +1297,16 @@

                          Parameters
                          - $method + $property : string
                          - $args - : array<string|int, mixed> - = []
                          + $value + : mixed +
                          @@ -1901,44 +1322,27 @@
                          Parameters
                          -protected " > -

                          - setReflectionProperty() - +

                          + setUp() +

                          protected - setReflectionProperty(string $property, mixed $value) : void + setUp() : void
                          -
                          Parameters
                          -
                          -
                          - $property - : string -
                          -
                          - -
                          -
                          - $value - : mixed -
                          -
                          - -
                          -
                          - + @@ -2056,8 +1460,8 @@
                          Parameters
                        • Constants
                        • @@ -2065,51 +1469,36 @@
                          Parameters
                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html index 09437086..810476ce 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html @@ -121,7 +121,7 @@

                          MailChimpTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = ['apiURL' => 'https://localhost/oauth2/api', 'accessTokenURL' => 'https://localhost/oauth2/access_token'] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/metadata' => '{"metadata":"whatever"}', '/3.0/' => '{"data":"such data! much wow! (/3.0/)"}'] +  = __DIR__ . '/../../'
                          @@ -198,89 +198,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $token - -  : AccessToken -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -290,139 +254,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - setUp() - -  : void -
                          - -
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetClientCredentials() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() - -  : void -
                          - -
                          - testGetTokenMetadata() + testCheckCSRFState()  : void
                          - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                          - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                          - testOAuthInstance() + testGetRequestAuthorization()  : void
                          - testParseTokenResponseErrorException() + testGetRequestTarget()  : void
                          - testParseTokenResponseNoDataException() + testGetRequestTargetInvalidSchemeException()  : void
                          - testParseTokenResponseNoTokenException() + testGetRequestTargetProviderMismatchException()  : void
                          - testProviderInstance() + testMagicGet()  : void
                          - testRefreshAccessToken() + testOAuth2Instance()  : void
                          - testRefreshAccessTokenNoRefreshTokenAvailable() + testOAuthInstance()  : void
                          - testRequest() + testProviderInstance()  : void
                          - testRequestWithTokenRefresh() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -434,61 +344,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() + initOptions() -  : ClientInterface +  : OAuthOptions
                          - initLogger() + initProvider() -  : LoggerInterface +  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initOptions() + initStorage() -  : SettingsContainerInterface +  : OAuthStorageInterface
                          - initProvider() + invokeReflection() -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : object
                          - initStorage() + invokeReflectionMethod() -  : OAuthStorageInterface +  : mixed
                          - initTestProperties() + setReflectionProperty()  : void
                          - invokeReflectionMethod() - -  : mixed -
                          - -
                          - setReflectionProperty() + setUp()  : void
                          @@ -506,16 +404,16 @@

                          -

                          - TEST_PROPERTIES - +

                          + CACERT +

                          @@ -523,8 +421,8 @@

                          protected mixed - TEST_PROPERTIES - = ['apiURL' => 'https://localhost/oauth2/api', 'accessTokenURL' => 'https://localhost/oauth2/access_token'] + CACERT + = __DIR__ . '/../cacert.pem' @@ -534,16 +432,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -551,8 +449,8 @@

                          protected mixed - TEST_RESPONSES - = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/metadata' => '{"metadata":"whatever"}', '/3.0/' => '{"data":"such data! much wow! (/3.0/)"}'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -612,13 +510,13 @@

                          >

                          $provider - +

                          -
                          -

                          - $requestFactory - - - - -

                          - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                          -
                          -

                          - $responseFactory - - - - -

                          - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - - -
                          - -
                          -

                          - $streamFactory - - - - -

                          - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                          - -
                          -

                          - $uriFactory - - - - -

                          - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                          -
                          -

                          - $FACTORIES - - - - -

                          - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - - -
                          - - -
                          -

                          - Methods - - -

                          -
                          -

                          - requestTargetProvider() - - -

                          - - - - - public - static requestTargetProvider() : array<string|int, mixed> - -
                          -
                          - - - - -
                          -
                          Return values
                          - array<string|int, mixed> -
                          - -
                          -
                          -

                          - setUp() - - -

                          - - - - - public - setUp() : void - -
                          -
                          - - - - - -
                          - -
                          -

                          - testCheckStateInvalidCSRFStateException() - - -

                          - - - - - public - testCheckStateInvalidCSRFStateException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testCheckStateInvalidException() - - -

                          - - - - - public - testCheckStateInvalidException() : void - -
                          -
                          - - - - - -
                          - - -
                          -

                          - testGetClientCredentials() - - -

                          - - - - - public - testGetClientCredentials() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestAuthorization() - - -

                          - - - - - public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          - +
                          + +
                          +

                          + Methods + + +

                          -public " > -

                          - testOAuthInstance() - +

                          + testCheckCSRFState() +

                          public - testOAuthInstance() : void + testCheckCSRFState() : void
                          @@ -1534,22 +845,22 @@

                          -public " > -

                          - testParseTokenResponseErrorException() - +

                          + testCheckCSRFStateEmptyException() +

                          public - testParseTokenResponseErrorException() : void + testCheckCSRFStateEmptyException() : void
                          @@ -1565,22 +876,22 @@

                          -

                          - testParseTokenResponseNoDataException() - +

                          + testCheckCSRFStateInvalidStateException() +

                          public - testParseTokenResponseNoDataException() : void + testCheckCSRFStateInvalidStateException() : void
                          @@ -1596,22 +907,22 @@

                          -

                          - testParseTokenResponseNoTokenException() - +

                          + testGetRequestAuthorization() +

                          public - testParseTokenResponseNoTokenException() : void + testGetRequestAuthorization() : void
                          @@ -1627,27 +938,44 @@

                          -

                          - testProviderInstance() - +

                          + testGetRequestTarget() +

                          public - testProviderInstance() : void + testGetRequestTarget(string $path, string $expected) : void
                          - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          + @@ -1658,22 +986,22 @@

                          -public " > -

                          - testRefreshAccessToken() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testRefreshAccessToken() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1689,22 +1017,22 @@

                          -public " > -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testRefreshAccessTokenNoRefreshTokenAvailable() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1720,22 +1048,22 @@

                          -

                          - testRequest() - +

                          + testMagicGet() +

                          public - testRequest() : void + testMagicGet() : void
                          @@ -1751,22 +1079,22 @@

                          -public " > -

                          - testRequestWithTokenRefresh() - +

                          + testOAuth2Instance() +

                          public - testRequestWithTokenRefresh() : void + testOAuth2Instance() : void
                          @@ -1782,22 +1110,22 @@

                          -public " > -

                          - testTokenInvalidate() - +

                          + testOAuthInstance() +

                          public - testTokenInvalidate() : void + testOAuthInstance() : void
                          @@ -1810,25 +1138,25 @@

                          -

                          - getProviderFQCN() - +

                          + testProviderInstance() +

                          - protected - getProviderFQCN() : string + public + testProviderInstance() : void
                          @@ -1836,49 +1164,35 @@

                          -
                          -
                          Return values
                          - string -
                          - +

                          -

                          - getReflectionProperty() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          - protected - getReflectionProperty(string $property) : mixed + public + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          -
                          Parameters
                          -
                          -
                          - $property - : string -
                          -
                          - -
                          -
                          - + @@ -1886,46 +1200,31 @@
                          Parameters
                          @@ -1935,49 +1234,32 @@
                          -protected " > -

                          - initHttp() - +

                          + getProviderFQCN() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + getProviderFQCN() : string
                          -
                          Parameters
                          -
                          -
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface -
                          -
                          - -
                          -
                          - +
                          Return values
                          - ClientInterface + string
                          @@ -1987,22 +1269,22 @@

                          Return values
                          -protected " > -

                          - initLogger() - +

                          + getReflectionProperty() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + getReflectionProperty(string $property) : mixed
                          @@ -2010,8 +1292,8 @@

                          Parameters
                          - $is_ci - : bool + $property + : string
                          @@ -2020,11 +1302,7 @@
                          Parameters
                          -
                          -
                          Return values
                          - LoggerInterface -
                          - +
                          @@ -2069,13 +1347,13 @@
                          Return values
                          >

                          initProvider() - +

                          @@ -2114,20 +1392,20 @@
                          Return values
                          >

                          initStorage() - +

                          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -2136,7 +1414,7 @@
                          Parameters
                          $options - : SettingsContainerInterface + : OAuthOptions
                          @@ -2157,30 +1435,51 @@
                          Return values
                          -protected " > -

                          - initTestProperties() - +

                          + invokeReflection() +

                          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          - - +
                          Parameters
                          +
                          +
                          + $FQCN + : string +
                          +
                          + +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          + +
                          +
                          + +
                          +
                          Return values
                          + object +
                          +
                          >

                          invokeReflectionMethod() - +

                          @@ -2238,13 +1537,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2277,6 +1576,37 @@
                          Parameters
                          +
                          +
                          +

                          + setUp() + + +

                          + + + + + protected + setUp() : void + +
                          +
                          + + + + +
                          @@ -2391,8 +1721,8 @@
                          Parameters
                        • Constants
                        • @@ -2400,60 +1730,43 @@
                          Parameters
                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html index c9c013b5..b7d8c98a 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html @@ -121,7 +121,7 @@

                          MastodonTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +198,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,121 +254,79 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetClientCredentials() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() + testCheckCSRFState()  : void
                          - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                          - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                          - testOAuthInstance() + testGetRequestAuthorization()  : void
                          - testParseTokenResponseErrorException() + testGetRequestTarget()  : void
                          - testParseTokenResponseNoDataException() + testGetRequestTargetInvalidSchemeException()  : void
                          - testParseTokenResponseNoTokenException() + testGetRequestTargetProviderMismatchException()  : void
                          - testProviderInstance() + testMagicGet()  : void
                          - testRefreshAccessToken() + testOAuth2Instance()  : void
                          - testRefreshAccessTokenNoRefreshTokenAvailable() + testOAuthInstance()  : void
                          - testRequest() + testProviderInstance()  : void
                          - testRequestWithTokenRefresh() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          @@ -410,7 +338,7 @@

                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -422,67 +350,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -500,16 +410,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1106,22 +1023,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1137,22 +1054,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1168,22 +1085,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1199,22 +1116,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1230,22 +1147,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1261,411 +1178,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - - -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1689,7 +1217,7 @@

                          @@ -1714,13 +1242,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1751,7 +1279,7 @@

                          @@ -1780,13 +1308,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1819,45 +1347,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1888,15 +1405,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1907,7 +1417,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1917,22 +1427,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1940,8 +1450,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1952,42 +1462,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1997,22 +1472,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -2026,48 +1501,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2077,40 +1514,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2168,13 +1574,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2216,13 +1622,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2352,8 +1758,8 @@

                        • Constants
                        • @@ -2361,59 +1767,44 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html index 513b18ee..4f119584 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html @@ -121,7 +121,7 @@

                          MicrosoftGraphTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html index 6bcbea37..4b844e0a 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html @@ -121,7 +121,7 @@

                          MixcloudTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html index ed24a18e..eb2ace91 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html @@ -121,7 +121,7 @@

                          MusicBrainzTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -136,13 +136,15 @@

                          +
                          FinalYes
                          +
                          @@ -171,15 +173,15 @@

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -198,83 +200,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,127 +256,85 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() + testCheckCSRFState()  : void
                          - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                          - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                          - testGetClientCredentials() + testGetRequestAuthorization()  : void
                          - testGetRequestAuthorization() + testGetRequestTarget()  : void
                          - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth2Instance() + testMagicGet()  : void
                          - testOAuthInstance() + testOAuth2Instance()  : void
                          - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                          - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                          - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          - testProviderInstance() - -  : void -
                          - -
                          - testRefreshAccessToken() - -  : void -
                          - -
                          - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                          - -
                          - testRequest() - -  : void -
                          - -
                          - testRequestWithTokenRefresh() - -  : void -
                          - -
                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -416,67 +346,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -494,16 +406,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1100,22 +1019,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1131,22 +1050,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1162,22 +1081,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1193,22 +1112,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1224,22 +1143,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1255,411 +1174,22 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          @@ -1677,13 +1207,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1714,7 +1244,7 @@

                          @@ -1743,13 +1273,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1782,45 +1312,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1851,15 +1370,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1870,7 +1382,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1880,22 +1392,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1903,8 +1415,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1915,42 +1427,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1960,22 +1437,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -1989,48 +1466,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2040,40 +1479,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2131,13 +1539,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2179,13 +1587,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2315,8 +1723,8 @@

                        • Constants
                        • @@ -2324,58 +1732,43 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html index a0e5dcfe..15b89897 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html @@ -121,7 +121,7 @@

                          NPROneTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -142,7 +142,7 @@

                          @@ -171,15 +171,15 @@

                          - TEST_PROPERTIES + CACERT -  = ['apiURL' => '/oauth2/api', 'accessTokenURL' => '/oauth2/access_token', 'refreshTokenURL' => '/oauth2/refresh_token', 'clientCredentialsTokenURL' => '/oauth2/client_credentials', 'revokeURL' => '/revoke_token'] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/refresh_token' => '{"access_token":"test_refreshed_access_token","expires_in":60,"state":"test_state"}', '/oauth2/api/revoke_token' => '{"message":"token revoked"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] +  = __DIR__ . '/../../'
                          @@ -198,83 +198,53 @@

                          - $provider + $provider  : OAuth2Interface
                          - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                          - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          @@ -284,121 +254,79 @@

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testCheckCSRFState() - -  : void -
                          - -
                          - testCheckStateInvalidCSRFStateException() - -  : void -
                          - -
                          - testCheckStateInvalidException() - -  : void -
                          - -
                          - testGetAccessToken() - -  : void -
                          - -
                          - testGetAuthURL() - -  : void -
                          - -
                          - testGetClientCredentials() - -  : void -
                          - -
                          - testGetRequestAuthorization() - -  : void -
                          - -
                          - testGetRequestTarget() + testCheckCSRFState()  : void
                          - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                          - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                          - testOAuthInstance() + testGetRequestAuthorization()  : void
                          - testParseTokenResponseErrorException() + testGetRequestTarget()  : void
                          - testParseTokenResponseNoDataException() + testGetRequestTargetInvalidSchemeException()  : void
                          - testParseTokenResponseNoTokenException() + testGetRequestTargetProviderMismatchException()  : void
                          - testProviderInstance() + testMagicGet()  : void
                          - testRefreshAccessToken() + testOAuth2Instance()  : void
                          - testRefreshAccessTokenNoRefreshTokenAvailable() + testOAuthInstance()  : void
                          - testRequest() + testProviderInstance()  : void
                          - testRequestWithTokenRefresh() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                          @@ -410,7 +338,7 @@

                          - testTokenInvalidate() + testTokenInvalidate()  : void
                          @@ -422,67 +350,49 @@

                          - getReflectionProperty() + getReflectionProperty()  : mixed
                          - initFactories() - -  : void -
                          - -
                          - initHttp() - -  : ClientInterface -
                          - -
                          - initLogger() - -  : LoggerInterface -
                          - -
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -500,16 +410,16 @@

                          -

                          - TEST_PROPERTIES - +

                          + CACERT +

                          @@ -517,8 +427,8 @@

                          protected mixed - TEST_PROPERTIES - = ['apiURL' => '/oauth2/api', 'accessTokenURL' => '/oauth2/access_token', 'refreshTokenURL' => '/oauth2/refresh_token', 'clientCredentialsTokenURL' => '/oauth2/client_credentials', 'revokeURL' => '/revoke_token'] + CACERT + = __DIR__ . '/../cacert.pem' @@ -528,16 +438,16 @@

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -545,8 +455,8 @@

                          protected mixed - TEST_RESPONSES - = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/refresh_token' => '{"access_token":"test_refreshed_access_token","expires_in":60,"state":"test_state"}', '/oauth2/api/revoke_token' => '{"message":"token revoked"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -606,13 +516,13 @@

                          >

                          $provider - +

                          + + +
                          +

                          + Methods + + +

                          -

                          - $responseFactory - +

                          + requestTargetProvider() + - -

                          - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testGetRequestAuthorization() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                          +
                          +
                          -
                          - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testGetRequestTarget() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                          - - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          + +
                          Return values

                          -public " > -

                          - testCheckCSRFState() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1106,22 +1023,22 @@

                          -public " > -

                          - testCheckStateInvalidCSRFStateException() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1137,22 +1054,22 @@

                          -

                          - testCheckStateInvalidException() - +

                          + testMagicGet() +

                          public - testCheckStateInvalidException() : void + testMagicGet() : void
                          @@ -1168,22 +1085,22 @@

                          -

                          - testGetAccessToken() - +

                          + testOAuth2Instance() +

                          public - testGetAccessToken() : void + testOAuth2Instance() : void
                          @@ -1199,22 +1116,22 @@

                          -public " > -

                          - testGetAuthURL() - +

                          + testOAuthInstance() +

                          public - testGetAuthURL() : void + testOAuthInstance() : void
                          @@ -1230,22 +1147,22 @@

                          -public " > -

                          - testGetClientCredentials() - +

                          + testProviderInstance() +

                          public - testGetClientCredentials() : void + testProviderInstance() : void
                          @@ -1261,342 +1178,15 @@

                          -public " > -

                          - testGetRequestAuthorization() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          - - - - public - testGetRequestAuthorization() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testGetRequestTarget() - - -

                          - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                          -
                          - -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - - - - -
                          -
                          -

                          - testMagicGet() - - -

                          - - - - - public - testMagicGet() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuth2Instance() - - -

                          - - - - - public - testOAuth2Instance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testOAuthInstance() - - -

                          - - - - - public - testOAuthInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseErrorException() - - -

                          - - - - - public - testParseTokenResponseErrorException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoDataException() - - -

                          - - - - - public - testParseTokenResponseNoDataException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testParseTokenResponseNoTokenException() - - -

                          - - - - - public - testParseTokenResponseNoTokenException() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testProviderInstance() - - -

                          - - - - - public - testProviderInstance() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessToken() - - -

                          - - - - - public - testRefreshAccessToken() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                          - @@ -1612,68 +1202,6 @@

                          -

                          - testRequest() - - -

                          - - - - - public - testRequest() : void - -
                          -
                          - - - - - -
                          -
                          -

                          - testRequestWithTokenRefresh() - - -

                          - - - - - public - testRequestWithTokenRefresh() : void - -
                          -
                          - - - - -
                          @@ -1714,13 +1242,13 @@

                          >

                          testTokenInvalidate() - +

                          @@ -1751,7 +1279,7 @@

                          @@ -1780,13 +1308,13 @@

                          Return values
                          >

                          getReflectionProperty() - +

                          @@ -1819,45 +1347,34 @@
                          Parameters
                          -protected " > -

                          - initFactories() - +

                          + initOptions() +

                          protected - initFactories() : void + initOptions() : OAuthOptions
                          -
                          - Tags - -
                          -
                          -
                          - throws -
                          -
                          - Exception - - -
                          -
                          +
                          +
                          Return values
                          + OAuthOptions +
                          -
                          -protected " > -

                          - initHttp() - +

                          + initProvider() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1888,15 +1405,8 @@

                          Parameters
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface + $FQCN + : string
                          @@ -1907,7 +1417,7 @@
                          Parameters
                          Return values
                          - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                          @@ -1917,22 +1427,22 @@
                          Return values
                          -protected " > -

                          - initLogger() - +

                          + initStorage() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1940,8 +1450,8 @@

                          Parameters
                          - $is_ci - : bool + $options + : OAuthOptions
                          @@ -1952,42 +1462,7 @@
                          Parameters
                          Return values
                          - LoggerInterface -
                          - - - @@ -1997,22 +1472,22 @@
                          Return values
                          -protected " > -

                          - initProvider() - +

                          + invokeReflection() +

                          protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          @@ -2026,48 +1501,10 @@
                          Parameters
                          -
                          - - - -
                          -
                          Return values
                          - OAuthInterface|OAuth1Interface|OAuth2Interface -
                          - - -
                          -

                          - initStorage() - - -

                          - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                          -
                          - -
                          Parameters
                          -
                          - $options - : SettingsContainerInterface -
                          + $args + : array<string|int, mixed> + = []
                          @@ -2077,40 +1514,9 @@
                          Parameters
                          Return values
                          - OAuthStorageInterface + object
                          -
                          -
                          -

                          - initTestProperties() - - -

                          - - - - - protected - initTestProperties() : void - -
                          -
                          - - - - -
                          >

                          invokeReflectionMethod() - +

                          @@ -2168,13 +1574,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -2216,13 +1622,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -2352,8 +1758,8 @@

                        • Constants
                        • @@ -2361,59 +1767,44 @@

                        • Methods
                        • diff --git a/classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html similarity index 60% rename from classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html rename to classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html index 56724bc8..b547ceaa 100644 --- a/classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html @@ -113,14 +113,15 @@

                          Fil
                        • chillerlan
                        • OAuthTest
                        • Providers
                        • +
                        • Unit
                        • - OAuthProviderTestAbstract + OAuth1ProviderUnitTestAbstract - extends TestCase + extends OAuthProviderUnitTestAbstract
                          @@ -131,9 +132,6 @@

                          - - Uses - HTTPFactoryTrait

                          @@ -144,9 +142,9 @@

                          @@ -158,7 +156,7 @@

                          Table of Contents - +

                          @@ -170,20 +168,20 @@

                          Constants - +

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -191,195 +189,189 @@

                          Properties - +

                          -
                          - $http +
                          + $provider -  : ClientInterface +  : OAuth1Interface
                          - $is_ci + $ENV_IS_CI  : bool
                          - $logger - -  : LoggerInterface -
                          - -
                          - $options + $HTTP_CLIENT_FACTORY -  : OAuthOptions|SettingsContainerInterface +  : string
                          - $provider + $logger -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : LoggerInterface
                          - $reflection + $options -  : ReflectionClass +  : OAuthOptions
                          - $requestFactory + $provider -  : RequestFactoryInterface +  : OAuthInterface|OAuth1Interface
                          - $responseFactory + $reflection -  : ResponseFactoryInterface +  : ReflectionClass
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory +
                          + +

                          + Methods + + +

                          +
                          +
                          + requestTargetProvider() -  : StreamFactoryInterface +  : array<string|int, mixed>
                          -
                          - $uriFactory +
                          + testGetRequestAuthorization() -  : UriFactoryInterface +  : void
                          -
                          - $FACTORIES +
                          + testGetRequestTarget() -  : array<string|int, mixed> +  : void
                          -
                          - -

                          - Methods - - -

                          -
                          - requestTargetProvider() + testGetRequestTargetInvalidSchemeException() -  : array<string|int, mixed> +  : void
                          - testGetRequestTarget() + testGetRequestTargetProviderMismatchException()  : void
                          - testMagicGet() + testGetSignature()  : void
                          - testOAuthInstance() + testGetSignatureInvalidURLException()  : void
                          - testProviderInstance() + testMagicGet()  : void
                          - testTokenInvalidate() + testOAuth1Instance()  : void
                          -
                          - getProviderFQCN() +
                          + testOAuthInstance() -  : string +  : void
                          -
                          returns the fully qualified class name (FQCN) of the test subject
                          -
                          - getReflectionProperty() +
                          + testProviderInstance() -  : mixed +  : void
                          -
                          - initFactories() +
                          + testTokenInvalidate()  : void
                          - initHttp() + getProviderFQCN() -  : ClientInterface +  : string
                          +
                          returns the fully qualified class name (FQCN) of the test subject
                          - initLogger() + getReflectionProperty() -  : LoggerInterface +  : mixed
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -393,20 +385,20 @@

                          Constants - +

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          Return values

                          >

                          initOptions() - +

                          protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
                          @@ -1323,7 +1226,7 @@

                          Return values
                          - SettingsContainerInterface + OAuthOptions

                          @@ -1335,13 +1238,13 @@

                          Return values
                          >

                          initProvider() - +

                          @@ -1380,20 +1283,20 @@
                          Return values
                          >

                          initStorage() - +

                          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1402,7 +1305,7 @@
                          Parameters
                          $options - : SettingsContainerInterface + : OAuthOptions
                          @@ -1423,30 +1326,51 @@
                          Return values
                          -protected " > -

                          - initTestProperties() - +

                          + invokeReflection() +

                          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          - - +
                          Parameters
                          +
                          +
                          + $FQCN + : string +
                          +
                          + +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          + +
                          +
                          + +
                          +
                          Return values
                          + object +
                          +
                          >

                          invokeReflectionMethod() - +

                          @@ -1504,13 +1428,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -1552,13 +1476,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -1581,7 +1505,7 @@

                          -
                          
                          +            
                          
                                   
                          @@ -1680,58 +1604,57 @@

                        • Table Of Contents
                        • Constants
                        • Properties
                        • Methods
                        • @@ -1751,7 +1674,7 @@

                          Search results

                          - + diff --git a/classes/chillerlan-OAuthTest-Providers-OAuth1APITestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html similarity index 54% rename from classes/chillerlan-OAuthTest-Providers-OAuth1APITestAbstract.html rename to classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html index a320b753..cbb7eeb8 100644 --- a/classes/chillerlan-OAuthTest-Providers-OAuth1APITestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html @@ -113,14 +113,15 @@

                          Fil
                        • chillerlan
                        • OAuthTest
                        • Providers
                        • +
                        • Unit
                        • - OAuth1APITestAbstract + OAuth1Test - extends OAuthAPITestAbstract + extends OAuth1ProviderUnitTestAbstract
                          @@ -135,19 +136,20 @@

                          +
                          FinalYes
                          -
                          AbstractYes
                          - +

                          The built-in dummy test for OAuth1

                          + @@ -155,7 +157,7 @@

                          Table of Contents - +

                          @@ -167,20 +169,20 @@

                          Constants - +

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -188,250 +190,194 @@

                          Properties - +

                          - $provider + $provider -  : OAuth1Interface +  : DummyOAuth1Provider
                          - $provider - -  : OAuthInterface -
                          - -
                          - $CFG + $provider -  : string +  : OAuth1Interface
                          - $dotEnv + $ENV_IS_CI -  : DotEnv +  : bool
                          - $ENV + $HTTP_CLIENT_FACTORY  : string
                          - $http - -  : ClientInterface -
                          - -
                          - $is_ci - -  : bool -
                          - -
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $testuser - -  : string -
                          -
                          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          Methods - +

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testGetRequestTarget() + testGetRequestAuthorization()  : void
                          - testMagicGet() + testGetRequestTarget()  : void
                          - testMe() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMeErrorException() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuth1Instance() + testGetSignature()  : void
                          - testOAuthInstance() + testGetSignatureInvalidURLException()  : void
                          - testProviderInstance() + testMagicGet()  : void
                          - testTokenInvalidate() + testOAuth1Instance()  : void
                          -
                          - getProviderFQCN() +
                          + testOAuthInstance() -  : string +  : void
                          -
                          returns the fully qualified class name (FQCN) of the test subject
                          -
                          - getReflectionProperty() +
                          + testProviderInstance() -  : mixed +  : void
                          -
                          - initFactories() +
                          + testTokenInvalidate()  : void
                          - initHttp() + getProviderFQCN() -  : ClientInterface +  : string
                          - initLogger() + getReflectionProperty() -  : LoggerInterface +  : mixed
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -445,20 +391,20 @@

                          Constants - +

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          +

                          -

                          - $FACTORIES - +

                          + requestTargetProvider() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          -
                          +
                          +
                          Return values
                          + array<string|int, mixed>
                          -
                          -

                          - Methods - - -

                          +

                          -

                          - requestTargetProvider() - +

                          + testGetRequestAuthorization() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestAuthorization() : void
                          @@ -1145,11 +828,7 @@

                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          - +

                          Return values

                          >

                          testGetRequestTarget() - +

                          @@ -1205,22 +884,22 @@
                          Parameters
                          -public " > -

                          - testMagicGet() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testMagicGet() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1236,22 +915,22 @@

                          -public " > -

                          - testMe() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testMe() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1267,22 +946,22 @@

                          -public " > -

                          - testMeErrorException() - +

                          + testGetSignature() +

                          public - testMeErrorException() : void + testGetSignature() : void
                          @@ -1298,22 +977,22 @@

                          -public " > -

                          - testOAuth1Instance() - +

                          + testGetSignatureInvalidURLException() +

                          public - testOAuth1Instance() : void + testGetSignatureInvalidURLException() : void
                          @@ -1329,22 +1008,22 @@

                          -public " > -

                          - testOAuthInstance() - +

                          + testMagicGet() +

                          public - testOAuthInstance() : void + testMagicGet() : void
                          @@ -1360,22 +1039,22 @@

                          -public " > -

                          - testProviderInstance() - +

                          + testOAuth1Instance() +

                          public - testProviderInstance() : void + testOAuth1Instance() : void
                          @@ -1391,22 +1070,22 @@

                          -public " > -

                          - testTokenInvalidate() - +

                          + testOAuthInstance() +

                          public - testTokenInvalidate() : void + testOAuthInstance() : void
                          @@ -1419,76 +1098,30 @@

                          -

                          - getProviderFQCN() - - -

                          - - -

                          returns the fully qualified class name (FQCN) of the test subject

                          - - - protected - abstract getProviderFQCN() : string - -
                          -
                          - - - - -
                          -
                          Return values
                          - string -
                          - -
                          -
                          -

                          - getReflectionProperty() - +

                          + testProviderInstance() +

                          - protected - getReflectionProperty(string $property) : mixed + public + testProviderInstance() : void
                          -
                          Parameters
                          -
                          -
                          - $property - : string -
                          -
                          - -
                          -
                          - + @@ -1496,46 +1129,31 @@
                          Parameters
                          @@ -1545,49 +1163,32 @@
                          -protected " > -

                          - initHttp() - +

                          + getProviderFQCN() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + getProviderFQCN() : string
                          -
                          Parameters
                          -
                          -
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface -
                          -
                          - -
                          -
                          - +
                          Return values
                          - ClientInterface + string
                          @@ -1597,22 +1198,22 @@

                          Return values
                          -protected " > -

                          - initLogger() - +

                          + getReflectionProperty() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + getReflectionProperty(string $property) : mixed
                          @@ -1620,8 +1221,8 @@

                          Parameters
                          - $is_ci - : bool + $property + : string
                          @@ -1630,11 +1231,7 @@
                          Parameters
                          -
                          -
                          Return values
                          - LoggerInterface -
                          - +
                          Return values >

                          initOptions() - +

                          protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
                          @@ -1667,7 +1264,7 @@

                          Return values
                          - SettingsContainerInterface + OAuthOptions

                          @@ -1679,13 +1276,13 @@
                          Return values
                          >

                          initProvider() - +

                          @@ -1724,20 +1321,20 @@
                          Return values
                          >

                          initStorage() - +

                          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1746,7 +1343,7 @@
                          Parameters
                          $options - : SettingsContainerInterface + : OAuthOptions
                          @@ -1767,30 +1364,51 @@
                          Return values
                          -protected " > -

                          - initTestProperties() - +

                          + invokeReflection() +

                          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          - - +
                          Parameters
                          +
                          +
                          + $FQCN + : string +
                          +
                          + +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          + +
                          +
                          + +
                          +
                          Return values
                          + object +
                          +
                          >

                          invokeReflectionMethod() - +

                          @@ -1848,13 +1466,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -1896,13 +1514,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -1925,7 +1543,7 @@

                          -
                          
                          +            
                          
                                   
                          @@ -2024,67 +1642,58 @@

                        • Table Of Contents
                        • Constants
                        • Properties
                        • Methods
                        • @@ -2104,7 +1713,7 @@

                          Search results

                          - + diff --git a/classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html similarity index 55% rename from classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html rename to classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html index 6d7006f0..b29e7a5e 100644 --- a/classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html @@ -113,14 +113,15 @@

                          Fil
                        • chillerlan
                        • OAuthTest
                        • Providers
                        • +
                        • Unit
                        • - OAuthAPITestAbstract + OAuth2ProviderUnitTestAbstract - extends OAuthProviderTestAbstract + extends OAuthProviderUnitTestAbstract
                          @@ -141,9 +142,9 @@

                          @@ -155,7 +156,7 @@

                          Table of Contents - +

                          @@ -167,20 +168,20 @@

                          Constants - +

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                          @@ -188,238 +189,201 @@

                          Properties - +

                          - $provider + $provider -  : OAuthInterface +  : OAuth2Interface
                          - $CFG + $ENV_IS_CI -  : string -
                          - -
                          - $dotEnv - -  : DotEnv +  : bool
                          - $ENV + $HTTP_CLIENT_FACTORY  : string
                          - $http - -  : ClientInterface -
                          - -
                          - $is_ci - -  : bool -
                          - -
                          - $logger + $logger  : LoggerInterface
                          - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                          - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface|OAuth2Interface
                          - $reflection + $reflection  : ReflectionClass
                          - $requestFactory - -  : RequestFactoryInterface -
                          - -
                          - $responseFactory - -  : ResponseFactoryInterface -
                          - -
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          +
                          -
                          - $testuser +

                          + Methods + + +

                          +
                          +
                          + requestTargetProvider() -  : string +  : array<string|int, mixed>
                          -
                          a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
                          -
                          - $uriFactory +
                          + testCheckCSRFState() -  : UriFactoryInterface +  : void
                          -
                          - $FACTORIES +
                          + testCheckCSRFStateEmptyException() -  : array<string|int, mixed> +  : void
                          -
                          - -

                          - Methods - - -

                          -
                          - requestTargetProvider() + testCheckCSRFStateInvalidStateException() -  : array<string|int, mixed> +  : void
                          - testGetRequestTarget() + testGetRequestAuthorization()  : void
                          - testMagicGet() + testGetRequestTarget()  : void
                          - testMe() + testGetRequestTargetInvalidSchemeException()  : void
                          - testMeErrorException() + testGetRequestTargetProviderMismatchException()  : void
                          - testOAuthInstance() + testMagicGet()  : void
                          - testProviderInstance() + testOAuth2Instance()  : void
                          - testTokenInvalidate() + testOAuthInstance()  : void
                          -
                          - getProviderFQCN() +
                          + testProviderInstance() -  : string +  : void
                          -
                          returns the fully qualified class name (FQCN) of the test subject
                          -
                          - getReflectionProperty() +
                          + testRefreshAccessTokenNoRefreshTokenAvailable() -  : mixed +  : void
                          -
                          - initFactories() +
                          + testTokenInvalidate()  : void
                          - initHttp() + getProviderFQCN() -  : ClientInterface +  : string
                          +
                          returns the fully qualified class name (FQCN) of the test subject
                          - initLogger() + getReflectionProperty() -  : LoggerInterface +  : mixed
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -433,20 +397,20 @@

                          Constants - +

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          Return values

                          >

                          initOptions() - +

                          protected - initOptions() : SettingsContainerInterface + initOptions() : OAuthOptions
                          @@ -1591,7 +1300,7 @@

                          Return values
                          - SettingsContainerInterface + OAuthOptions

                          @@ -1603,13 +1312,13 @@

                          Return values
                          >

                          initProvider() - +

                          @@ -1648,20 +1357,20 @@
                          Return values
                          >

                          initStorage() - +

                          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1670,7 +1379,7 @@
                          Parameters
                          $options - : SettingsContainerInterface + : OAuthOptions
                          @@ -1691,30 +1400,51 @@
                          Return values
                          -protected " > -

                          - initTestProperties() - +

                          + invokeReflection() +

                          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          - - +
                          Parameters
                          +
                          +
                          + $FQCN + : string +
                          +
                          + +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          + +
                          +
                          + +
                          +
                          Return values
                          + object +
                          +
                          @@ -1864,7 +1579,7 @@
                          -
                          
                          +            
                          
                                   
                          @@ -1963,65 +1678,59 @@
                        • Table Of Contents
                        • Constants
                        • Properties
                        • Methods
                        • @@ -2041,7 +1750,7 @@

                          Search results

                          - + diff --git a/classes/chillerlan-OAuthTest-Core-RequestTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html similarity index 60% rename from classes/chillerlan-OAuthTest-Core-RequestTest.html rename to classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html index be18a662..6ca01458 100644 --- a/classes/chillerlan-OAuthTest-Core-RequestTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html @@ -112,15 +112,16 @@

                          Fil

                          - RequestTest + OAuth2Test - extends OAuthProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                          @@ -141,13 +142,14 @@

                          - +

                          The built-in dummy test for OAuth2

                          + @@ -155,7 +157,7 @@

                          Table of Contents - +

                          @@ -167,20 +169,20 @@

                          Constants - +

                          - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                          - TEST_RESPONSES + PROJECT_ROOT -  = ['/api/gimme' => 'much data'] +  = __DIR__ . '/../../'
                          @@ -188,213 +190,206 @@

                          Properties - +

                          -
                          - $http +
                          + $provider -  : ClientInterface +  : DummyOAuth2Provider
                          -
                          - $is_ci +
                          + $provider -  : bool +  : OAuth2Interface
                          - $logger + $ENV_IS_CI -  : LoggerInterface +  : bool
                          - $options + $HTTP_CLIENT_FACTORY -  : OAuthOptions|SettingsContainerInterface +  : string
                          - $provider + $logger -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : LoggerInterface
                          - $reflection + $options -  : ReflectionClass +  : OAuthOptions
                          - $requestFactory + $provider -  : RequestFactoryInterface +  : OAuthInterface
                          - $responseFactory + $reflection -  : ResponseFactoryInterface +  : ReflectionClass
                          - $storage + $storage  : OAuthStorageInterface
                          -
                          - $streamFactory - -  : StreamFactoryInterface -
                          - -
                          - $uriFactory - -  : UriFactoryInterface -
                          - -
                          - $FACTORIES - -  : array<string|int, mixed> -
                          -

                          Methods - +

                          - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                          - testGetRequestTarget() + testCheckCSRFState()  : void
                          - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                          - testOAuthInstance() + testCheckCSRFStateInvalidStateException()  : void
                          - testProviderInstance() + testGetRequestAuthorization()  : void
                          - testRequestBody() + testGetRequestTarget()  : void
                          - testRequestHostMismatchException() + testGetRequestTargetInvalidSchemeException()  : void
                          - testRequestURI() + testGetRequestTargetProviderMismatchException()  : void
                          - testTokenInvalidate() + testMagicGet()  : void
                          -
                          - getProviderFQCN() +
                          + testOAuth2Instance() -  : string +  : void
                          -
                          returns the fully qualified class name (FQCN) of the test subject
                          -
                          - getReflectionProperty() +
                          + testOAuthInstance() -  : mixed +  : void
                          -
                          - initFactories() +
                          + testProviderInstance() + +  : void +
                          + +
                          + testRefreshAccessTokenNoRefreshTokenAvailable() + +  : void +
                          + +
                          + testTokenInvalidate()  : void
                          - initHttp() + getProviderFQCN() -  : ClientInterface +  : string
                          - initLogger() + getReflectionProperty() -  : LoggerInterface +  : mixed
                          - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                          - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                          - initStorage() + initStorage()  : OAuthStorageInterface
                          - initTestProperties() + invokeReflection() -  : void +  : object
                          - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                          - setReflectionProperty() + setReflectionProperty()  : void
                          - setUp() + setUp()  : void
                          @@ -408,20 +403,20 @@

                          Constants - +

                          -

                          - TEST_RESPONSES - +

                          + PROJECT_ROOT +

                          @@ -457,8 +452,8 @@

                          protected mixed - TEST_RESPONSES - = ['/api/gimme' => 'much data'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -473,35 +468,35 @@

                          Properties - +

                          -

                          - $http - +

                          + $provider +

                          - protected - ClientInterface - $http + public + DummyOAuth2Provider + $provider @@ -513,28 +508,28 @@

                          class=" phpdocumentor-element -property - -protected + -public " > -

                          - $is_ci - +

                          + $provider +

                          - protected - bool - $is_ci + public + OAuth2Interface + $provider @@ -549,25 +544,25 @@

                          -protected " > -

                          - $logger - +

                          + $ENV_IS_CI +

                          protected - LoggerInterface - $logger + bool + $ENV_IS_CI @@ -582,26 +577,26 @@

                          -protected " > -

                          - $options - +

                          + $HTTP_CLIENT_FACTORY +

                          protected - OAuthOptions|SettingsContainerInterface - $options - + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class @@ -615,25 +610,25 @@

                          -protected " > -

                          - $provider - +

                          + $logger +

                          protected - OAuthInterface|OAuth1Interface|OAuth2Interface - $provider + LoggerInterface + $logger @@ -648,25 +643,25 @@

                          -protected " > -

                          - $reflection - +

                          + $options +

                          protected - ReflectionClass - $reflection + OAuthOptions + $options @@ -681,25 +676,25 @@

                          -protected " > -

                          - $requestFactory - +

                          + $provider +

                          protected - RequestFactoryInterface - $requestFactory + OAuthInterface + $provider @@ -714,25 +709,25 @@

                          -protected " > -

                          - $responseFactory - +

                          + $reflection +

                          protected - ResponseFactoryInterface - $responseFactory + ReflectionClass + $reflection @@ -749,15 +744,15 @@

                          >

                          $storage - +

                          @@ -773,135 +768,102 @@

                          -
                          -

                          - $streamFactory - - - - -

                          - - - - - protected - StreamFactoryInterface - $streamFactory - +
                          - - - +
                          +

                          + Methods + -

                          +

                          -

                          - $uriFactory - +

                          + requestTargetProvider() + - -

                          - protected - UriFactoryInterface - $uriFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                          +
                          +
                          +
                          Return values
                          + array<string|int, mixed> +
                          +
                          -

                          - $FACTORIES - +

                          + testCheckCSRFState() + - -

                          - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testCheckCSRFState() : void +
                          +
                          +
                          - - -
                          -

                          - Methods - - -

                          -

                          - requestTargetProvider() - +

                          + testCheckCSRFStateEmptyException() +

                          public - static requestTargetProvider() : array<string|int, mixed> + testCheckCSRFStateEmptyException() : void
                          @@ -909,11 +871,7 @@

                          -
                          -
                          Return values
                          - array<string|int, mixed> -
                          - +

                          Return values

                          -public " > -

                          - testGetRequestTarget() - +

                          + testCheckCSRFStateInvalidStateException() +

                          public - testGetRequestTarget(string $path, string $expected) : void + testCheckCSRFStateInvalidStateException() : void
                          -
                          Parameters
                          -
                          -
                          - $path - : string -
                          -
                          - -
                          -
                          - $expected - : string -
                          -
                          - -
                          -
                          - + @@ -969,22 +910,22 @@
                          Parameters
                          -public " > -

                          - testMagicGet() - +

                          + testGetRequestAuthorization() +

                          public - testMagicGet() : void + testGetRequestAuthorization() : void
                          @@ -1000,27 +941,44 @@

                          -public " > -

                          - testOAuthInstance() - +

                          + testGetRequestTarget() +

                          public - testOAuthInstance() : void + testGetRequestTarget(string $path, string $expected) : void
                          - +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          + @@ -1031,22 +989,22 @@

                          -public " > -

                          - testProviderInstance() - +

                          + testGetRequestTargetInvalidSchemeException() +

                          public - testProviderInstance() : void + testGetRequestTargetInvalidSchemeException() : void
                          @@ -1062,22 +1020,22 @@

                          -public " > -

                          - testRequestBody() - +

                          + testGetRequestTargetProviderMismatchException() +

                          public - testRequestBody() : void + testGetRequestTargetProviderMismatchException() : void
                          @@ -1093,22 +1051,22 @@

                          -public " > -

                          - testRequestHostMismatchException() - +

                          + testMagicGet() +

                          public - testRequestHostMismatchException() : void + testMagicGet() : void
                          @@ -1124,22 +1082,22 @@

                          -

                          - testRequestURI() - +

                          + testOAuth2Instance() +

                          public - testRequestURI() : void + testOAuth2Instance() : void
                          @@ -1155,22 +1113,22 @@

                          -public " > -

                          - testTokenInvalidate() - +

                          + testOAuthInstance() +

                          public - testTokenInvalidate() : void + testOAuthInstance() : void
                          @@ -1183,26 +1141,25 @@

                          -

                          - getProviderFQCN() - +

                          + testProviderInstance() +

                          -

                          returns the fully qualified class name (FQCN) of the test subject

                          - + - protected - getProviderFQCN() : string + public + testProviderInstance() : void
                          @@ -1210,49 +1167,35 @@

                          -
                          -
                          Return values
                          - string -
                          - +

                          -

                          - getReflectionProperty() - +

                          + testRefreshAccessTokenNoRefreshTokenAvailable() +

                          - protected - getReflectionProperty(string $property) : mixed + public + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                          -
                          Parameters
                          -
                          -
                          - $property - : string -
                          -
                          - -
                          -
                          - + @@ -1260,46 +1203,31 @@
                          Parameters
                          @@ -1309,49 +1237,32 @@
                          -protected " > -

                          - initHttp() - +

                          + getProviderFQCN() +

                          protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + getProviderFQCN() : string
                          -
                          Parameters
                          -
                          -
                          - $options - : SettingsContainerInterface -
                          -
                          - -
                          -
                          - $logger - : LoggerInterface -
                          -
                          - -
                          -
                          - +
                          Return values
                          - ClientInterface + string
                          @@ -1361,22 +1272,22 @@

                          Return values
                          -protected " > -

                          - initLogger() - +

                          + getReflectionProperty() +

                          protected - initLogger(bool $is_ci) : LoggerInterface + getReflectionProperty(string $property) : mixed
                          @@ -1384,8 +1295,8 @@

                          Parameters
                          - $is_ci - : bool + $property + : string
                          @@ -1394,11 +1305,7 @@
                          Parameters
                          -
                          -
                          Return values
                          - LoggerInterface -
                          - + @@ -1443,13 +1350,13 @@
                          Return values
                          >

                          initProvider() - +

                          @@ -1488,20 +1395,20 @@
                          Return values
                          >

                          initStorage() - +

                          protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                          @@ -1510,7 +1417,7 @@
                          Parameters
                          $options - : SettingsContainerInterface + : OAuthOptions
                          @@ -1531,30 +1438,51 @@
                          Return values
                          -protected " > -

                          - initTestProperties() - +

                          + invokeReflection() +

                          protected - initTestProperties() : void + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                          - - +
                          Parameters
                          +
                          +
                          + $FQCN + : string +
                          +
                          + +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          + +
                          +
                          + +
                          +
                          Return values
                          + object +
                          +
                          >

                          invokeReflectionMethod() - +

                          @@ -1612,13 +1540,13 @@
                          Parameters
                          >

                          setReflectionProperty() - +

                          @@ -1660,13 +1588,13 @@
                          Parameters
                          >

                          setUp() - +

                          @@ -1689,7 +1617,7 @@

                          -
                          
                          +            
                          
                                   
                          @@ -1788,61 +1716,60 @@

                        • Table Of Contents
                        • Constants
                        • Properties
                        • Methods
                        • @@ -1862,7 +1789,7 @@

                          Search results

                          - + diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html new file mode 100644 index 00000000..6abc289a --- /dev/null +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html @@ -0,0 +1,1497 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                          +

                          Documentation

                          + + + + + +
                          + +
                          +
                          + + + + +
                          +
                          + + +
                          +

                          + OAuthProviderUnitTestAbstract + + + extends ProviderUnitTestAbstract + + +
                          + in package + +
                          + + +

                          + +
                          + + +
                          AbstractYes
                          + +
                          + + + + + + + + + +

                          + Table of Contents + + +

                          + + + + + + + +

                          + Constants + + +

                          +
                          +
                          + CACERT + +  = __DIR__ . '/../cacert.pem' +
                          + +
                          + PROJECT_ROOT + +  = __DIR__ . '/../../' +
                          + +
                          + + +

                          + Properties + + +

                          +
                          +
                          + $ENV_IS_CI + +  : bool +
                          + +
                          + $HTTP_CLIENT_FACTORY + +  : string +
                          + +
                          + $logger + +  : LoggerInterface +
                          + +
                          + $options + +  : OAuthOptions +
                          + +
                          + $provider + +  : OAuthInterface +
                          + +
                          + $reflection + +  : ReflectionClass +
                          + +
                          + $storage + +  : OAuthStorageInterface +
                          + +
                          + +

                          + Methods + + +

                          +
                          +
                          + requestTargetProvider() + +  : array<string|int, mixed> +
                          + +
                          + testGetRequestTarget() + +  : void +
                          + +
                          + testGetRequestTargetInvalidSchemeException() + +  : void +
                          + +
                          + testGetRequestTargetProviderMismatchException() + +  : void +
                          + +
                          + testMagicGet() + +  : void +
                          + +
                          + testOAuthInstance() + +  : void +
                          + +
                          + testProviderInstance() + +  : 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 + + +

                          + +
                          +

                          + $HTTP_CLIENT_FACTORY + + + + +

                          + + + + + protected + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class + + + + + +
                          + + + + + +
                          + +
                          +

                          + Methods + + +

                          +
                          +

                          + requestTargetProvider() + + +

                          + + + + + public + static requestTargetProvider() : array<string|int, mixed> + +
                          +
                          + + + + +
                          +
                          Return values
                          + array<string|int, mixed> +
                          + +
                          +
                          +

                          + testGetRequestTarget() + + +

                          + + + + + public + testGetRequestTarget(string $path, string $expected) : void + +
                          +
                          + +
                          Parameters
                          +
                          +
                          + $path + : string +
                          +
                          + +
                          +
                          + $expected + : string +
                          +
                          + +
                          +
                          + + + + +
                          +
                          +

                          + testGetRequestTargetInvalidSchemeException() + + +

                          + + + + + public + testGetRequestTargetInvalidSchemeException() : void + +
                          +
                          + + + + + +
                          +
                          +

                          + testGetRequestTargetProviderMismatchException() + + +

                          + + + + + public + testGetRequestTargetProviderMismatchException() : void + +
                          +
                          + + + + + +
                          + + + + +
                          +

                          + getProviderFQCN() + + +

                          + + +

                          returns the fully qualified class name (FQCN) of the test subject

                          + + + protected + abstract getProviderFQCN() : string + +
                          +
                          + + + + +
                          +
                          Return values
                          + string +
                          + +
                          +
                          +

                          + getReflectionProperty() + + +

                          + + + + + protected + getReflectionProperty(string $property) : mixed + +
                          +
                          + +
                          Parameters
                          +
                          +
                          + $property + : string +
                          +
                          + +
                          +
                          + + + + +
                          + + + +
                          +

                          + invokeReflection() + + +

                          + + + + + protected + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object + +
                          +
                          + +
                          Parameters
                          +
                          +
                          + $FQCN + : string +
                          +
                          + +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          + +
                          +
                          + + + +
                          +
                          Return values
                          + object +
                          + +
                          +
                          +

                          + invokeReflectionMethod() + + +

                          + + + + + protected + invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + +
                          +
                          + +
                          Parameters
                          +
                          +
                          + $method + : string +
                          +
                          + +
                          +
                          + $args + : array<string|int, mixed> + = []
                          +
                          + +
                          +
                          + + + + +
                          +
                          +

                          + setReflectionProperty() + + +

                          + + + + + protected + setReflectionProperty(string $property, mixed $value) : void + +
                          +
                          + +
                          Parameters
                          +
                          +
                          + $property + : string +
                          +
                          + +
                          +
                          + $value + : mixed +
                          +
                          + +
                          +
                          + + + + +
                          + +
                          + +
                          +
                          +
                          +
                          +
                          
                          +        
                          + +
                          +
                          + + + +
                          +
                          +
                          + +
                          + On this page + + +
                          + +
                          +
                          +
                          +
                          +
                          +

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + + + + + diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html index ddc40a62..c4f077a5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html @@ -121,7 +121,7 @@

                            OpenCachingTest - extends OAuth1ProviderTestAbstract + extends OAuth1ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth1Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,103 +256,73 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testGetAccessToken() - -  : void -
                            - -
                            - testGetAuthURL() - -  : void -
                            - -
                            - testGetRequestAuthorization() - -  : void -
                            - -
                            - testGetRequestTarget() - -  : void -
                            - -
                            - testGetSignature() - -  : void -
                            - -
                            - testGetSignatureInvalidURLException() + testGetRequestAuthorization()  : void
                            - testMagicGet() + testGetRequestTarget()  : void
                            - testOAuth1Instance() + testGetRequestTargetInvalidSchemeException()  : void
                            - testOAuthInstance() + testGetRequestTargetProviderMismatchException()  : void
                            - testParseTokenResponseCallbackUnconfirmedException() + testGetSignature()  : void
                            - testParseTokenResponseErrorException() + testGetSignatureInvalidURLException()  : void
                            - testParseTokenResponseNoDataException() + testMagicGet()  : void
                            - testParseTokenResponseNoTokenException() + testOAuth1Instance()  : void
                            - testProviderInstance() + testOAuthInstance()  : void
                            - testRequest() + testProviderInstance()  : void
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -392,67 +334,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() + initOptions() -  : void -
                            - -
                            - initHttp() - -  : ClientInterface +  : OAuthOptions
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() - -  : SettingsContainerInterface -
                            - -
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -470,16 +394,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            -
                            -

                            - $requestFactory - - - - -

                            - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                            -
                            -

                            - $responseFactory - - - - -

                            - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                            -
                            -

                            - $streamFactory - - - - -

                            - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                            -
                            -

                            - $uriFactory - - - - -

                            - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                            -
                            -

                            - $FACTORIES - - - - -

                            - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                            @@ -1012,13 +771,13 @@

                            >

                            requestTargetProvider() - +

                            @@ -1038,68 +797,6 @@
                            Return values
                            array<string|int, mixed> - - - -
                            -

                            - testGetSignatureInvalidURLException() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testGetSignatureInvalidURLException() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1248,22 +914,22 @@

                            -

                            - testMagicGet() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testMagicGet() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1279,13 +945,13 @@

                            -public " > -

                            - testOAuth1Instance() - +

                            + testGetSignature() +

                            -
                            -

                            - testOAuthInstance() - - -

                            - - - - - public - testOAuthInstance() : void + testGetSignature() : void
                            @@ -1341,22 +976,22 @@

                            -public " > -

                            - testParseTokenResponseCallbackUnconfirmedException() - +

                            + testGetSignatureInvalidURLException() +

                            public - testParseTokenResponseCallbackUnconfirmedException() : void + testGetSignatureInvalidURLException() : void
                            @@ -1372,22 +1007,22 @@

                            -

                            - testParseTokenResponseErrorException() - +

                            + testMagicGet() +

                            public - testParseTokenResponseErrorException() : void + testMagicGet() : void
                            @@ -1403,22 +1038,22 @@

                            -

                            - testParseTokenResponseNoDataException() - +

                            + testOAuth1Instance() +

                            public - testParseTokenResponseNoDataException() : void + testOAuth1Instance() : void
                            @@ -1434,22 +1069,22 @@

                            -

                            - testParseTokenResponseNoTokenException() - +

                            + testOAuthInstance() +

                            public - testParseTokenResponseNoTokenException() : void + testOAuthInstance() : void
                            @@ -1467,13 +1102,13 @@

                            testProviderInstance() - +

                            @@ -1489,37 +1124,6 @@

                            -

                            -
                            >

                            testTokenInvalidate() - +

                            @@ -1566,7 +1170,7 @@

                            @@ -1595,13 +1199,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1634,45 +1238,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1703,15 +1296,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1722,7 +1308,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1732,22 +1318,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1755,8 +1341,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1767,42 +1353,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1812,22 +1363,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1841,48 +1392,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -1892,40 +1405,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -1983,13 +1465,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2031,13 +1513,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2167,8 +1649,8 @@

                          • Constants
                          • @@ -2176,54 +1658,41 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html index f7321c0f..8832cad1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html @@ -121,7 +121,7 @@

                            OpenStreetmap2Test - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html index e5ecce57..e0a92b4e 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html @@ -121,7 +121,7 @@

                            OpenStreetmapTest - extends OAuth1ProviderTestAbstract + extends OAuth1ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth1Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,103 +256,73 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testGetAccessToken() - -  : void -
                            - -
                            - testGetAuthURL() - -  : void -
                            - -
                            - testGetRequestAuthorization() - -  : void -
                            - -
                            - testGetRequestTarget() - -  : void -
                            - -
                            - testGetSignature() - -  : void -
                            - -
                            - testGetSignatureInvalidURLException() + testGetRequestAuthorization()  : void
                            - testMagicGet() + testGetRequestTarget()  : void
                            - testOAuth1Instance() + testGetRequestTargetInvalidSchemeException()  : void
                            - testOAuthInstance() + testGetRequestTargetProviderMismatchException()  : void
                            - testParseTokenResponseCallbackUnconfirmedException() + testGetSignature()  : void
                            - testParseTokenResponseErrorException() + testGetSignatureInvalidURLException()  : void
                            - testParseTokenResponseNoDataException() + testMagicGet()  : void
                            - testParseTokenResponseNoTokenException() + testOAuth1Instance()  : void
                            - testProviderInstance() + testOAuthInstance()  : void
                            - testRequest() + testProviderInstance()  : void
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -392,67 +334,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() + initOptions() -  : void -
                            - -
                            - initHttp() - -  : ClientInterface +  : OAuthOptions
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() - -  : SettingsContainerInterface -
                            - -
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -470,16 +394,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            -
                            -

                            - $requestFactory - - - - -

                            - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                            -
                            -

                            - $responseFactory - - - - -

                            - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                            -
                            -

                            - $streamFactory - - - - -

                            - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                            -
                            -

                            - $uriFactory - - - - -

                            - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                            -
                            -

                            - $FACTORIES - - - - -

                            - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                            @@ -1012,13 +771,13 @@

                            >

                            requestTargetProvider() - +

                            @@ -1038,68 +797,6 @@
                            Return values
                            array<string|int, mixed> - - - -
                            -

                            - testGetSignatureInvalidURLException() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testGetSignatureInvalidURLException() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1248,22 +914,22 @@

                            -

                            - testMagicGet() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testMagicGet() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1279,13 +945,13 @@

                            -public " > -

                            - testOAuth1Instance() - +

                            + testGetSignature() +

                            -
                            -

                            - testOAuthInstance() - - -

                            - - - - - public - testOAuthInstance() : void + testGetSignature() : void
                            @@ -1341,22 +976,22 @@

                            -public " > -

                            - testParseTokenResponseCallbackUnconfirmedException() - +

                            + testGetSignatureInvalidURLException() +

                            public - testParseTokenResponseCallbackUnconfirmedException() : void + testGetSignatureInvalidURLException() : void
                            @@ -1372,22 +1007,22 @@

                            -

                            - testParseTokenResponseErrorException() - +

                            + testMagicGet() +

                            public - testParseTokenResponseErrorException() : void + testMagicGet() : void
                            @@ -1403,22 +1038,22 @@

                            -

                            - testParseTokenResponseNoDataException() - +

                            + testOAuth1Instance() +

                            public - testParseTokenResponseNoDataException() : void + testOAuth1Instance() : void
                            @@ -1434,22 +1069,22 @@

                            -

                            - testParseTokenResponseNoTokenException() - +

                            + testOAuthInstance() +

                            public - testParseTokenResponseNoTokenException() : void + testOAuthInstance() : void
                            @@ -1467,13 +1102,13 @@

                            testProviderInstance() - +

                            @@ -1489,37 +1124,6 @@

                            -

                            -
                            >

                            testTokenInvalidate() - +

                            @@ -1566,7 +1170,7 @@

                            @@ -1595,13 +1199,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1634,45 +1238,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1703,15 +1296,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1722,7 +1308,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1732,22 +1318,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1755,8 +1341,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1767,42 +1353,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1812,22 +1363,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1841,48 +1392,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -1892,40 +1405,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -1983,13 +1465,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2031,13 +1513,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2167,8 +1649,8 @@

                          • Constants
                          • @@ -2176,54 +1658,41 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-Patreon1Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-Patreon1Test.html index 7f9a314e..21a32229 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-Patreon1Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-Patreon1Test.html @@ -121,7 +121,7 @@

                            Patreon1Test - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-Patreon2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-Patreon2Test.html index 74c131da..0e92b41d 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-Patreon2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-Patreon2Test.html @@ -121,7 +121,7 @@

                            Patreon2Test - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html index 7d5f17f1..3236a71b 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html @@ -121,7 +121,7 @@

                            PayPalTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html index 5d2319bc..fd81596d 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html @@ -121,7 +121,7 @@

                            SlackTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html index 9dab8f7d..1f83e595 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html @@ -121,7 +121,7 @@

                            SoundCloudTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html index 62cc9487..d7710624 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html @@ -121,7 +121,7 @@

                            SpotifyTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html index 25e5a949..7228dece 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html @@ -121,7 +121,7 @@

                            SteamOpenIDTest - extends OAuthProviderTestAbstract + extends OAuthProviderUnitTestAbstract
                            @@ -142,7 +142,7 @@

                            @@ -171,27 +171,15 @@

                            - ID_INVALID + CACERT -  = "ns:http://specs.openid.net/auth/2.0\nis_valid:false\n" +  = __DIR__ . '/../cacert.pem'
                            - ID_VALID + PROJECT_ROOT -  = "ns:http://specs.openid.net/auth/2.0\nis_valid:true\n" -
                            - -
                            - TEST_PROPERTIES - -  = ['apiURL' => 'https://localhost/steam/api', 'accessTokenURL' => 'https://localhost/steam/id'] -
                            - -
                            - TEST_RESPONSES - -  = ['/steam/id' => self::ID_VALID, '/steam/api' => '{"data":"such data! much wow!"}'] +  = __DIR__ . '/../../'
                            @@ -210,77 +198,47 @@

                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -290,73 +248,49 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testGetAccessToken() + testGetRequestTarget()  : void
                            - testGetAuthURL() + testGetRequestTargetInvalidSchemeException()  : void
                            - testGetRequestTarget() + testGetRequestTargetProviderMismatchException()  : void
                            - testMagicGet() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuthInstance()  : void
                            - testParseTokenResponse() + testProviderInstance()  : void
                            - testParseTokenResponseInvalidID() - -  : void -
                            - -
                            - testParseTokenResponseNoData() - -  : void -
                            - -
                            - testProviderInstance() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -366,70 +300,51 @@

                             : string -
                            returns the fully qualified class name (FQCN) of the test subject
                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() + initOptions() -  : ClientInterface +  : OAuthOptions
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() - -  : SettingsContainerInterface -
                            - -
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -447,44 +362,16 @@

                            -

                            - ID_INVALID - +

                            + CACERT +

                            - - - - protected - mixed - ID_INVALID - = "ns:http://specs.openid.net/auth/2.0\nis_valid:false\n" - - - - - - - -
                            -
                            -

                            - ID_VALID - - -

                            - - @@ -492,8 +379,8 @@

                            protected mixed - ID_VALID - = "ns:http://specs.openid.net/auth/2.0\nis_valid:true\n" + CACERT + = __DIR__ . '/../cacert.pem' @@ -503,16 +390,16 @@

                            -

                            - TEST_PROPERTIES - +

                            + PROJECT_ROOT +

                            @@ -520,36 +407,8 @@

                            protected mixed - TEST_PROPERTIES - = ['apiURL' => 'https://localhost/steam/api', 'accessTokenURL' => 'https://localhost/steam/id'] - - - - - - - -

                            -
                            -

                            - TEST_RESPONSES - - -

                            - - - - - - protected - mixed - TEST_RESPONSES - = ['/steam/id' => self::ID_VALID, '/steam/api' => '{"data":"such data! much wow!"}'] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -607,25 +466,25 @@

                            -protected " > -

                            - $http - +

                            + $ENV_IS_CI +

                            protected - ClientInterface - $http + bool + $ENV_IS_CI @@ -640,26 +499,26 @@

                            -protected " > -

                            - $is_ci - +

                            + $HTTP_CLIENT_FACTORY +

                            protected - bool - $is_ci - + string + $HTTP_CLIENT_FACTORY + = \chillerlan\OAuthTest\Providers\ProviderUnitTestHttpClientFactory::class @@ -675,15 +534,15 @@

                            >

                            $logger - +

                            @@ -708,22 +567,22 @@

                            >

                            $options - +

                            protected - OAuthOptions|SettingsContainerInterface + OAuthOptions $options @@ -741,22 +600,22 @@

                            >

                            $provider - +

                            protected - OAuthInterface|OAuth1Interface|OAuth2Interface + OAuthInterface $provider @@ -774,15 +633,15 @@

                            >

                            $reflection - +

                            @@ -797,72 +656,6 @@

                            -

                            -
                            -

                            - $requestFactory - - - - -

                            - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                            -
                            -

                            - $responseFactory - - - - -

                            - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                            -
                            -

                            - $streamFactory - - - - -

                            - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                            -
                            -

                            - $uriFactory - - - - -

                            - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                            -
                            -

                            - $FACTORIES - - - - -

                            - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                            @@ -1012,13 +706,13 @@

                            >

                            requestTargetProvider() - +

                            @@ -1038,68 +732,6 @@
                            Return values
                            array<string|int, mixed> - -
                            -

                            - testGetAccessToken() - - -

                            - - - - - public - testGetAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetAuthURL() - - -

                            - - - - - public - testGetAuthURL() : void - -
                            -
                            - - - - -
                            -
                            -

                            - testOAuthInstance() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testOAuthInstance() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1217,13 +818,13 @@

                            -public " > -

                            - testParseTokenResponse() - +

                            + testGetRequestTargetProviderMismatchException() +

                            -
                            -

                            - testRequest() - - -

                            - - - - - public - testRequest() : void - -
                            -
                            - - - - -
                            >

                            testTokenInvalidate() - +

                            @@ -1411,12 +981,11 @@

                            -

                            returns the fully qualified class name (FQCN) of the test subject

                            - + protected getProviderFQCN() : string @@ -1441,13 +1010,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1480,45 +1049,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1549,15 +1107,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1568,7 +1119,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1578,22 +1129,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1601,8 +1152,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1613,42 +1164,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1658,22 +1174,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1687,48 +1203,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -1738,40 +1216,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -1829,13 +1276,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -1877,13 +1324,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2013,10 +1460,8 @@

                          • Constants
                          • @@ -2024,48 +1469,36 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html index 75774dfb..81975d6e 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html @@ -121,7 +121,7 @@

                            StripeTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html index 092b9377..8ea5a74b 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html @@ -121,7 +121,7 @@

                            Tumblr2Test - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html index 36043f21..7a2f8f47 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html @@ -121,7 +121,7 @@

                            TumblrTest - extends OAuth1ProviderTestAbstract + extends OAuth1ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth1Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,103 +256,73 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testGetAccessToken() - -  : void -
                            - -
                            - testGetAuthURL() - -  : void -
                            - -
                            - testGetRequestAuthorization() - -  : void -
                            - -
                            - testGetRequestTarget() - -  : void -
                            - -
                            - testGetSignature() - -  : void -
                            - -
                            - testGetSignatureInvalidURLException() + testGetRequestAuthorization()  : void
                            - testMagicGet() + testGetRequestTarget()  : void
                            - testOAuth1Instance() + testGetRequestTargetInvalidSchemeException()  : void
                            - testOAuthInstance() + testGetRequestTargetProviderMismatchException()  : void
                            - testParseTokenResponseCallbackUnconfirmedException() + testGetSignature()  : void
                            - testParseTokenResponseErrorException() + testGetSignatureInvalidURLException()  : void
                            - testParseTokenResponseNoDataException() + testMagicGet()  : void
                            - testParseTokenResponseNoTokenException() + testOAuth1Instance()  : void
                            - testProviderInstance() + testOAuthInstance()  : void
                            - testRequest() + testProviderInstance()  : void
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -392,67 +334,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() + initOptions() -  : void -
                            - -
                            - initHttp() - -  : ClientInterface +  : OAuthOptions
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() - -  : SettingsContainerInterface -
                            - -
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -470,16 +394,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            -
                            -

                            - $requestFactory - - - - -

                            - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                            -
                            -

                            - $responseFactory - - - - -

                            - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                            -
                            -

                            - $streamFactory - - - - -

                            - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                            -
                            -

                            - $uriFactory - - - - -

                            - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                            -
                            -

                            - $FACTORIES - - - - -

                            - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                            @@ -1012,13 +771,13 @@

                            >

                            requestTargetProvider() - +

                            @@ -1038,68 +797,6 @@
                            Return values
                            array<string|int, mixed> - - - -
                            -

                            - testGetSignatureInvalidURLException() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testGetSignatureInvalidURLException() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1248,22 +914,22 @@

                            -

                            - testMagicGet() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testMagicGet() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1279,13 +945,13 @@

                            -public " > -

                            - testOAuth1Instance() - +

                            + testGetSignature() +

                            -
                            -

                            - testOAuthInstance() - - -

                            - - - - - public - testOAuthInstance() : void + testGetSignature() : void
                            @@ -1341,22 +976,22 @@

                            -public " > -

                            - testParseTokenResponseCallbackUnconfirmedException() - +

                            + testGetSignatureInvalidURLException() +

                            public - testParseTokenResponseCallbackUnconfirmedException() : void + testGetSignatureInvalidURLException() : void
                            @@ -1372,22 +1007,22 @@

                            -

                            - testParseTokenResponseErrorException() - +

                            + testMagicGet() +

                            public - testParseTokenResponseErrorException() : void + testMagicGet() : void
                            @@ -1403,22 +1038,22 @@

                            -

                            - testParseTokenResponseNoDataException() - +

                            + testOAuth1Instance() +

                            public - testParseTokenResponseNoDataException() : void + testOAuth1Instance() : void
                            @@ -1434,22 +1069,22 @@

                            -

                            - testParseTokenResponseNoTokenException() - +

                            + testOAuthInstance() +

                            public - testParseTokenResponseNoTokenException() : void + testOAuthInstance() : void
                            @@ -1467,13 +1102,13 @@

                            testProviderInstance() - +

                            @@ -1489,37 +1124,6 @@

                            -

                            -
                            >

                            testTokenInvalidate() - +

                            @@ -1566,7 +1170,7 @@

                            @@ -1595,13 +1199,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1634,45 +1238,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1703,15 +1296,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1722,7 +1308,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1732,22 +1318,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1755,8 +1341,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1767,42 +1353,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1812,22 +1363,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1841,48 +1392,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -1892,40 +1405,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -1983,13 +1465,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2031,13 +1513,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2167,8 +1649,8 @@

                          • Constants
                          • @@ -2176,54 +1658,41 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html index 963554cb..5f5f799f 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html @@ -121,7 +121,7 @@

                            TwitchTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -142,7 +142,7 @@

                            @@ -171,15 +171,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +198,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,133 +254,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() - -  : void -
                            - -
                            - testGetAccessToken() - -  : void -
                            - -
                            - testGetAuthURL() - -  : void -
                            - -
                            - testGetClientCredentials() - -  : void -
                            - -
                            - testGetRequestAuthorization() - -  : void -
                            - -
                            - testGetRequestTarget() + testCheckCSRFState()  : void
                            - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                            - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                            - testOAuthInstance() + testGetRequestAuthorization()  : void
                            - testParseTokenResponseErrorException() + testGetRequestTarget()  : void
                            - testParseTokenResponseNoDataException() + testGetRequestTargetInvalidSchemeException()  : void
                            - testParseTokenResponseNoTokenException() + testGetRequestTargetProviderMismatchException()  : void
                            - testProviderInstance() + testMagicGet()  : void
                            - testRefreshAccessToken() + testOAuth2Instance()  : void
                            - testRefreshAccessTokenNoRefreshTokenAvailable() + testOAuthInstance()  : void
                            - testRequest() + testProviderInstance()  : void
                            - testRequestInvalidAuthTypeException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -422,67 +344,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -500,16 +404,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1106,22 +1017,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1137,22 +1048,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1168,22 +1079,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1199,22 +1110,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1230,349 +1141,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestAuthorization() - - -

                            - - - - - public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestInvalidAuthTypeException() - - -

                            - - - - - public - testRequestInvalidAuthTypeException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void - -
                            -
                            - - - - -
                            >

                            testTokenInvalidate() - +

                            @@ -1751,7 +1242,7 @@

                            @@ -1780,13 +1271,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1819,45 +1310,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1888,15 +1368,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1907,7 +1380,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1917,22 +1390,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1940,8 +1413,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1952,42 +1425,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1997,22 +1435,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -2026,48 +1464,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2077,40 +1477,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2168,13 +1537,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2216,13 +1585,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2352,8 +1721,8 @@

                          • Constants
                          • @@ -2361,59 +1730,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html index f3203cf7..8516e6be 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html @@ -121,7 +121,7 @@

                            TwitterCCTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -142,7 +142,7 @@

                            @@ -171,15 +171,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +198,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,25 +254,25 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() + testCheckCSRFState()  : void
                            - testCheckStateInvalidCSRFStateException() + testCheckCSRFStateEmptyException()  : void
                            - testCheckStateInvalidException() + testCheckCSRFStateInvalidStateException()  : void
                            @@ -320,103 +290,61 @@

                            - testGetClientCredentials() - -  : void -
                            - -
                            - testGetRequestAuthorization() - -  : void -
                            - -
                            - testGetRequestTarget() + testGetRequestAuthorization()  : void
                            - testMagicGet() + testGetRequestTarget()  : void
                            - testOAuth2Instance() + testGetRequestTargetInvalidSchemeException()  : void
                            - testOAuthInstance() + testGetRequestTargetProviderMismatchException()  : void
                            - testParseTokenResponseErrorException() + testMagicGet()  : void
                            - testParseTokenResponseNoDataException() + testOAuth2Instance()  : void
                            - testParseTokenResponseNoTokenException() + testOAuthInstance()  : void
                            - testProviderInstance() + testProviderInstance()  : void
                            - testRefreshAccessToken() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestGetAccessTokenNotSupportedException() - -  : void -
                            - -
                            - testRequestGetAuthURLNotSupportedException() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -428,67 +356,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -506,16 +416,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            -
                            -

                            - $requestFactory - - - - -

                            - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                            -
                            -

                            - $responseFactory - - - - -

                            - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                            -
                            -

                            - $streamFactory - - - - -

                            - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                            -
                            -

                            - $uriFactory - - - - -

                            - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                            -
                            -

                            - $FACTORIES - - - - -

                            - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                            @@ -1048,13 +793,13 @@

                            >

                            requestTargetProvider() - +

                            @@ -1083,13 +828,13 @@
                            Return values
                            >

                            testCheckCSRFState() - +

                            @@ -1112,22 +857,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testCheckCSRFStateEmptyException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testCheckCSRFStateEmptyException() : void
                            @@ -1143,22 +888,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testCheckCSRFStateInvalidStateException() +

                            public - testCheckStateInvalidException() : void + testCheckCSRFStateInvalidStateException() : void
                            @@ -1182,7 +927,7 @@

                            @@ -1213,7 +958,7 @@

                            @@ -1229,37 +974,6 @@

                            - -
                            -

                            - testGetClientCredentials() - - -

                            - - - - - public - testGetClientCredentials() : void - -
                            -
                            - - - - -
                            >

                            testGetRequestAuthorization() - +

                            @@ -1300,13 +1014,13 @@

                            >

                            testGetRequestTarget() - +

                            @@ -1346,22 +1060,22 @@
                            Parameters
                            -public " > -

                            - testMagicGet() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testMagicGet() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1377,22 +1091,22 @@

                            -public " > -

                            - testOAuth2Instance() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testOAuth2Instance() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1408,22 +1122,22 @@

                            -public " > -

                            - testOAuthInstance() - +

                            + testMagicGet() +

                            public - testOAuthInstance() : void + testMagicGet() : void
                            @@ -1439,22 +1153,22 @@

                            -public " > -

                            - testParseTokenResponseErrorException() - +

                            + testOAuth2Instance() +

                            public - testParseTokenResponseErrorException() : void + testOAuth2Instance() : void
                            @@ -1470,53 +1184,22 @@

                            -

                            - testParseTokenResponseNoDataException() - +

                            + testOAuthInstance() +

                            - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - -
                            -
                            -

                            - testRequestGetAccessTokenNotSupportedException() - - -

                            - - - - - public - testRequestGetAccessTokenNotSupportedException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRequestGetAuthURLNotSupportedException() - - -

                            - - - - - public - testRequestGetAuthURLNotSupportedException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void - -
                            -
                            - - - - -
                            >

                            testTokenInvalidate() - +

                            @@ -1788,7 +1316,7 @@

                            @@ -1817,13 +1345,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1856,45 +1384,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1925,15 +1442,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1944,7 +1454,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1954,22 +1464,22 @@

                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1977,8 +1487,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1989,42 +1499,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -2034,22 +1509,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -2063,48 +1538,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2114,40 +1551,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2205,13 +1611,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2253,13 +1659,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2389,8 +1795,8 @@

                          • Constants
                          • @@ -2398,60 +1804,45 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html index 594e944f..b72fbb62 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html @@ -121,7 +121,7 @@

                            TwitterTest - extends OAuth1ProviderTestAbstract + extends OAuth1ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth1Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,103 +256,73 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testGetAccessToken() - -  : void -
                            - -
                            - testGetAuthURL() - -  : void -
                            - -
                            - testGetRequestAuthorization() - -  : void -
                            - -
                            - testGetRequestTarget() - -  : void -
                            - -
                            - testGetSignature() - -  : void -
                            - -
                            - testGetSignatureInvalidURLException() + testGetRequestAuthorization()  : void
                            - testMagicGet() + testGetRequestTarget()  : void
                            - testOAuth1Instance() + testGetRequestTargetInvalidSchemeException()  : void
                            - testOAuthInstance() + testGetRequestTargetProviderMismatchException()  : void
                            - testParseTokenResponseCallbackUnconfirmedException() + testGetSignature()  : void
                            - testParseTokenResponseErrorException() + testGetSignatureInvalidURLException()  : void
                            - testParseTokenResponseNoDataException() + testMagicGet()  : void
                            - testParseTokenResponseNoTokenException() + testOAuth1Instance()  : void
                            - testProviderInstance() + testOAuthInstance()  : void
                            - testRequest() + testProviderInstance()  : void
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -392,67 +334,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() + initOptions() -  : void -
                            - -
                            - initHttp() - -  : ClientInterface +  : OAuthOptions
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() - -  : SettingsContainerInterface -
                            - -
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -470,16 +394,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            -
                            -

                            - $requestFactory - - - - -

                            - - - - - protected - RequestFactoryInterface - $requestFactory - - - - - - -
                            -
                            -

                            - $responseFactory - - - - -

                            - - - - - protected - ResponseFactoryInterface - $responseFactory - - - - - -
                            -
                            -

                            - $streamFactory - - - - -

                            - - - - - protected - StreamFactoryInterface - $streamFactory - - - - - - -
                            -
                            -

                            - $uriFactory - - - - -

                            - - - - - protected - UriFactoryInterface - $uriFactory - - - - - - -
                            -
                            -

                            - $FACTORIES - - - - -

                            - - - - - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] - - - - -
                            @@ -1012,13 +771,13 @@

                            >

                            requestTargetProvider() - +

                            @@ -1038,68 +797,6 @@
                            Return values
                            array<string|int, mixed> - - - -
                            -

                            - testGetSignatureInvalidURLException() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testGetSignatureInvalidURLException() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1248,22 +914,22 @@

                            -

                            - testMagicGet() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testMagicGet() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1279,13 +945,13 @@

                            -public " > -

                            - testOAuth1Instance() - +

                            + testGetSignature() +

                            -
                            -

                            - testOAuthInstance() - - -

                            - - - - - public - testOAuthInstance() : void + testGetSignature() : void
                            @@ -1341,22 +976,22 @@

                            -public " > -

                            - testParseTokenResponseCallbackUnconfirmedException() - +

                            + testGetSignatureInvalidURLException() +

                            public - testParseTokenResponseCallbackUnconfirmedException() : void + testGetSignatureInvalidURLException() : void
                            @@ -1372,22 +1007,22 @@

                            -

                            - testParseTokenResponseErrorException() - +

                            + testMagicGet() +

                            public - testParseTokenResponseErrorException() : void + testMagicGet() : void
                            @@ -1403,22 +1038,22 @@

                            -

                            - testParseTokenResponseNoDataException() - +

                            + testOAuth1Instance() +

                            public - testParseTokenResponseNoDataException() : void + testOAuth1Instance() : void
                            @@ -1434,22 +1069,22 @@

                            -

                            - testParseTokenResponseNoTokenException() - +

                            + testOAuthInstance() +

                            public - testParseTokenResponseNoTokenException() : void + testOAuthInstance() : void
                            @@ -1467,13 +1102,13 @@

                            testProviderInstance() - +

                            @@ -1489,37 +1124,6 @@

                            -

                            -
                            >

                            testTokenInvalidate() - +

                            @@ -1566,7 +1170,7 @@

                            @@ -1595,13 +1199,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1634,45 +1238,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1703,15 +1296,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1722,7 +1308,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1732,22 +1318,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1755,8 +1341,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1767,42 +1353,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1812,22 +1363,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1841,48 +1392,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -1892,40 +1405,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -1983,13 +1465,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2031,13 +1513,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2167,8 +1649,8 @@

                          • Constants
                          • @@ -2176,54 +1658,41 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html index 05d63cd8..e80158bb 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html @@ -121,7 +121,7 @@

                            VimeoTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -142,7 +142,7 @@

                            @@ -171,15 +171,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}', '/oauth2/revoke_token' => ''] +  = __DIR__ . '/../../'
                            @@ -198,83 +198,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +254,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() - -  : void -
                            - -
                            - testGetAccessToken() - -  : void -
                            - -
                            - testGetAuthURL() - -  : void -
                            - -
                            - testGetClientCredentials() - -  : void -
                            - -
                            - testGetRequestAuthorization() - -  : void -
                            - -
                            - testGetRequestTarget() + testCheckCSRFState()  : void
                            - testMagicGet() + testCheckCSRFStateEmptyException()  : void
                            - testOAuth2Instance() + testCheckCSRFStateInvalidStateException()  : void
                            - testOAuthInstance() + testGetRequestAuthorization()  : void
                            - testParseTokenResponseErrorException() + testGetRequestTarget()  : void
                            - testParseTokenResponseNoDataException() + testGetRequestTargetInvalidSchemeException()  : void
                            - testParseTokenResponseNoTokenException() + testGetRequestTargetProviderMismatchException()  : void
                            - testProviderInstance() + testMagicGet()  : void
                            - testRefreshAccessToken() + testOAuth2Instance()  : void
                            - testRefreshAccessTokenNoRefreshTokenAvailable() + testOAuthInstance()  : void
                            - testRequest() + testProviderInstance()  : void
                            - testRequestWithTokenRefresh() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +344,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +404,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            @@ -539,8 +449,8 @@

                            protected mixed - TEST_RESPONSES - = ['/oauth2/access_token' => '{"access_token":"test_access_token","expires_in":3600,"state":"test_state","scope":"some_scope other_scope"}', '/oauth2/client_credentials' => '{"access_token":"test_client_credentials_token","expires_in":30,"state":"test_state"}', '/oauth2/api/request' => '{"data":"such data! much wow!"}', '/oauth2/revoke_token' => ''] + PROJECT_ROOT + = __DIR__ . '/../../' @@ -600,13 +510,13 @@

                            >

                            $provider - +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1017,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1048,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1079,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1110,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1141,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1172,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1205,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1242,7 @@

                            @@ -1743,13 +1271,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1310,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1368,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1380,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1390,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1413,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1425,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1435,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1464,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1477,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1537,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1585,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1721,8 @@

                          • Constants
                          • @@ -2324,58 +1730,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html index 92022e99..7b49273c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html @@ -121,7 +121,7 @@

                            WordPressTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html index a4b2b99f..355a0a92 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html @@ -121,7 +121,7 @@

                            YouTubeTest - extends OAuth2ProviderTestAbstract + extends OAuth2ProviderUnitTestAbstract
                            @@ -136,13 +136,15 @@

                            +
                            FinalYes
                            +
                            @@ -171,15 +173,15 @@

                            - TEST_PROPERTIES + CACERT -  = [] +  = __DIR__ . '/../cacert.pem'
                            - TEST_RESPONSES + PROJECT_ROOT -  = [] +  = __DIR__ . '/../../'
                            @@ -198,83 +200,53 @@

                            - $provider + $provider  : OAuth2Interface
                            - $http + $ENV_IS_CI -  : ClientInterface +  : bool
                            - $is_ci + $HTTP_CLIENT_FACTORY -  : bool +  : string
                            - $logger + $logger  : LoggerInterface
                            - $options + $options -  : OAuthOptions|SettingsContainerInterface +  : OAuthOptions
                            - $provider + $provider -  : OAuthInterface|OAuth1Interface|OAuth2Interface +  : OAuthInterface
                            - $reflection + $reflection  : ReflectionClass
                            - $requestFactory - -  : RequestFactoryInterface -
                            - -
                            - $responseFactory - -  : ResponseFactoryInterface -
                            - -
                            - $storage + $storage  : OAuthStorageInterface
                            -
                            - $streamFactory - -  : StreamFactoryInterface -
                            - -
                            - $uriFactory - -  : UriFactoryInterface -
                            - -
                            - $FACTORIES - -  : array<string|int, mixed> -
                            -

                            @@ -284,127 +256,85 @@

                            - requestTargetProvider() + requestTargetProvider()  : array<string|int, mixed>
                            - testCheckCSRFState() - -  : void -
                            - -
                            - testCheckStateInvalidCSRFStateException() - -  : void -
                            - -
                            - testCheckStateInvalidException() + testCheckCSRFState()  : void
                            - testGetAccessToken() + testCheckCSRFStateEmptyException()  : void
                            - testGetAuthURL() + testCheckCSRFStateInvalidStateException()  : void
                            - testGetClientCredentials() + testGetRequestAuthorization()  : void
                            - testGetRequestAuthorization() + testGetRequestTarget()  : void
                            - testGetRequestTarget() + testGetRequestTargetInvalidSchemeException()  : void
                            - testMagicGet() + testGetRequestTargetProviderMismatchException()  : void
                            - testOAuth2Instance() + testMagicGet()  : void
                            - testOAuthInstance() + testOAuth2Instance()  : void
                            - testParseTokenResponseErrorException() + testOAuthInstance()  : void
                            - testParseTokenResponseNoDataException() + testProviderInstance()  : void
                            - testParseTokenResponseNoTokenException() + testRefreshAccessTokenNoRefreshTokenAvailable()  : void
                            - testProviderInstance() - -  : void -
                            - -
                            - testRefreshAccessToken() - -  : void -
                            - -
                            - testRefreshAccessTokenNoRefreshTokenAvailable() - -  : void -
                            - -
                            - testRequest() - -  : void -
                            - -
                            - testRequestWithTokenRefresh() - -  : void -
                            - -
                            - testTokenInvalidate() + testTokenInvalidate()  : void
                            @@ -416,67 +346,49 @@

                            - getReflectionProperty() + getReflectionProperty()  : mixed
                            - initFactories() - -  : void -
                            - -
                            - initHttp() - -  : ClientInterface -
                            - -
                            - initLogger() - -  : LoggerInterface -
                            - -
                            - initOptions() + initOptions() -  : SettingsContainerInterface +  : OAuthOptions
                            - initProvider() + initProvider()  : OAuthInterface|OAuth1Interface|OAuth2Interface
                            - initStorage() + initStorage()  : OAuthStorageInterface
                            - initTestProperties() + invokeReflection() -  : void +  : object
                            - invokeReflectionMethod() + invokeReflectionMethod()  : mixed
                            - setReflectionProperty() + setReflectionProperty()  : void
                            - setUp() + setUp()  : void
                            @@ -494,16 +406,16 @@

                            -

                            - TEST_RESPONSES - +

                            + PROJECT_ROOT +

                            + + +
                            +

                            + Methods + + +

                            -

                            - $responseFactory - +

                            + requestTargetProvider() + - -

                            - protected - ResponseFactoryInterface - $responseFactory - + public + static requestTargetProvider() : array<string|int, mixed> +
                            +
                            +
                            +
                            Return values
                            + array<string|int, mixed> +
                            +
                            -

                            - $FACTORIES - +

                            + testGetRequestAuthorization() + - -

                            - private - array<string|int, mixed> - $FACTORIES - = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY'] + public + testGetRequestAuthorization() : void +
                            +
                            +
                            -
                            - -
                            -

                            - Methods - - -

                            -

                            - requestTargetProvider() - +

                            + testGetRequestTarget() +

                            public - static requestTargetProvider() : array<string|int, mixed> + testGetRequestTarget(string $path, string $expected) : void
                            - - +
                            Parameters
                            +
                            +
                            + $path + : string +
                            +
                            + +
                            +
                            + $expected + : string +
                            +
                            + +
                            +
                            -
                            -
                            Return values
                            - array<string|int, mixed> -
                            + +
                            Return values -public " > -

                            - testCheckCSRFState() - +

                            + testGetRequestTargetInvalidSchemeException() +

                            public - testCheckCSRFState() : void + testGetRequestTargetInvalidSchemeException() : void
                            @@ -1100,22 +1019,22 @@

                            -public " > -

                            - testCheckStateInvalidCSRFStateException() - +

                            + testGetRequestTargetProviderMismatchException() +

                            public - testCheckStateInvalidCSRFStateException() : void + testGetRequestTargetProviderMismatchException() : void
                            @@ -1131,22 +1050,22 @@

                            -

                            - testCheckStateInvalidException() - +

                            + testMagicGet() +

                            public - testCheckStateInvalidException() : void + testMagicGet() : void
                            @@ -1162,22 +1081,22 @@

                            -

                            - testGetAccessToken() - +

                            + testOAuth2Instance() +

                            public - testGetAccessToken() : void + testOAuth2Instance() : void
                            @@ -1193,22 +1112,22 @@

                            -public " > -

                            - testGetAuthURL() - +

                            + testOAuthInstance() +

                            public - testGetAuthURL() : void + testOAuthInstance() : void
                            @@ -1224,22 +1143,22 @@

                            -public " > -

                            - testGetClientCredentials() - +

                            + testProviderInstance() +

                            public - testGetClientCredentials() : void + testProviderInstance() : void
                            @@ -1255,411 +1174,22 @@

                            -public " > -

                            - testGetRequestAuthorization() - +

                            + testRefreshAccessTokenNoRefreshTokenAvailable() +

                            public - testGetRequestAuthorization() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testGetRequestTarget() - - -

                            - - - - - public - testGetRequestTarget(string $path, string $expected) : void - -
                            -
                            - -
                            Parameters
                            -
                            -
                            - $path - : string -
                            -
                            - -
                            -
                            - $expected - : string -
                            -
                            - -
                            -
                            - - - - -
                            - - - -
                            -

                            - testParseTokenResponseErrorException() - - -

                            - - - - - public - testParseTokenResponseErrorException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoDataException() - - -

                            - - - - - public - testParseTokenResponseNoDataException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testParseTokenResponseNoTokenException() - - -

                            - - - - - public - testParseTokenResponseNoTokenException() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testProviderInstance() - - -

                            - - - - - public - testProviderInstance() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessToken() - - -

                            - - - - - public - testRefreshAccessToken() : void - -
                            -
                            - - - - - -
                            -
                            -

                            - testRefreshAccessTokenNoRefreshTokenAvailable() - - -

                            - - - - - public - testRefreshAccessTokenNoRefreshTokenAvailable() : void - -
                            -
                            - - - - - -
                            - -
                            -

                            - testRequestWithTokenRefresh() - - -

                            - - - - - public - testRequestWithTokenRefresh() : void + testRefreshAccessTokenNoRefreshTokenAvailable() : void
                            @@ -1677,13 +1207,13 @@

                            >

                            testTokenInvalidate() - +

                            @@ -1714,7 +1244,7 @@

                            @@ -1743,13 +1273,13 @@

                            Return values
                            >

                            getReflectionProperty() - +

                            @@ -1782,45 +1312,34 @@
                            Parameters
                            -protected " > -

                            - initFactories() - +

                            + initOptions() +

                            protected - initFactories() : void + initOptions() : OAuthOptions
                            -
                            - Tags - -
                            -
                            -
                            - throws -
                            -
                            - Exception - - -
                            -
                            +
                            +
                            Return values
                            + OAuthOptions +
                            -
                            -protected " > -

                            - initHttp() - +

                            + initProvider() +

                            protected - initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface + initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1851,15 +1370,8 @@

                            Parameters
                            - $options - : SettingsContainerInterface -
                            -
                            - -
                            -
                            - $logger - : LoggerInterface + $FQCN + : string
                            @@ -1870,7 +1382,7 @@
                            Parameters
                            Return values
                            - ClientInterface + OAuthInterface|OAuth1Interface|OAuth2Interface
                            @@ -1880,22 +1392,22 @@
                            Return values
                            -protected " > -

                            - initLogger() - +

                            + initStorage() +

                            protected - initLogger(bool $is_ci) : LoggerInterface + initStorage(OAuthOptions $options) : OAuthStorageInterface
                            @@ -1903,8 +1415,8 @@

                            Parameters
                            - $is_ci - : bool + $options + : OAuthOptions
                            @@ -1915,42 +1427,7 @@
                            Parameters
                            Return values
                            - LoggerInterface -
                            - - - @@ -1960,22 +1437,22 @@
                            Return values
                            -protected " > -

                            - initProvider() - +

                            + invokeReflection() +

                            protected - initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface + invokeReflection(string $FQCN[, array<string|int, mixed> $args = [] ]) : object
                            @@ -1989,48 +1466,10 @@
                            Parameters
                            -
                            - - - -
                            -
                            Return values
                            - OAuthInterface|OAuth1Interface|OAuth2Interface -
                            - - -
                            -

                            - initStorage() - - -

                            - - - - - protected - initStorage(SettingsContainerInterface $options) : OAuthStorageInterface - -
                            -
                            - -
                            Parameters
                            -
                            - $options - : SettingsContainerInterface -
                            + $args + : array<string|int, mixed> + = []
                            @@ -2040,40 +1479,9 @@
                            Parameters
                            Return values
                            - OAuthStorageInterface + object
                            -
                            -
                            >

                            invokeReflectionMethod() - +

                            @@ -2131,13 +1539,13 @@
                            Parameters
                            >

                            setReflectionProperty() - +

                            @@ -2179,13 +1587,13 @@
                            Parameters
                            >

                            setUp() - +

                            @@ -2315,8 +1723,8 @@

                          • Constants
                          • @@ -2324,58 +1732,43 @@

                          • Methods
                          • diff --git a/classes/chillerlan-OAuthTest-Storage-MemoryStorageTest.html b/classes/chillerlan-OAuthTest-Storage-MemoryStorageTest.html index bce2275d..b07c517d 100644 --- a/classes/chillerlan-OAuthTest-Storage-MemoryStorageTest.html +++ b/classes/chillerlan-OAuthTest-Storage-MemoryStorageTest.html @@ -135,6 +135,8 @@

                            +
                            FinalYes
                            +
                            diff --git a/classes/chillerlan-OAuthTest-Storage-SessionStorageTest.html b/classes/chillerlan-OAuthTest-Storage-SessionStorageTest.html index 4631e16f..d70d6c5c 100644 --- a/classes/chillerlan-OAuthTest-Storage-SessionStorageTest.html +++ b/classes/chillerlan-OAuthTest-Storage-SessionStorageTest.html @@ -135,6 +135,8 @@

                            +
                            FinalYes
                            +
                            diff --git a/files/tests-providers-oauthapitestabstract.html b/files/src-core-invalidaccesstokenexception.html similarity index 94% rename from files/tests-providers-oauthapitestabstract.html rename to files/src-core-invalidaccesstokenexception.html index 1c226815..68b753c2 100644 --- a/files/tests-providers-oauthapitestabstract.html +++ b/files/src-core-invalidaccesstokenexception.html @@ -113,15 +113,15 @@

                            Fil

                            - + diff --git a/files/tests-providers-live-patreon2apitest.html b/files/src-core-unauthorizedaccessexception.html similarity index 94% rename from files/tests-providers-live-patreon2apitest.html rename to files/src-core-unauthorizedaccessexception.html index 5d36ca5b..0d78e2a8 100644 --- a/files/tests-providers-live-patreon2apitest.html +++ b/files/src-core-unauthorizedaccessexception.html @@ -113,15 +113,15 @@

                            Fil
                            -

                            Patreon2APITest.php

                            +

                            UnauthorizedAccessException.php

                            -

                            Class Patreon2APITest

                            +

                            Class UnauthorizedAccessException

                            Tags - +
                            @@ -130,7 +130,7 @@
                            -

                            04.03.2019

                            +

                            18.03.2024

                            @@ -148,7 +148,7 @@
                            -

                            2019 smiley

                            +

                            2024 smiley

                            @@ -167,7 +167,7 @@

                            Table of Contents - +

                            @@ -176,11 +176,11 @@

                            Classes - +

                            -
                            Patreon2APITest
                            +
                            UnauthorizedAccessException
                            @@ -198,7 +198,7 @@

                            -
                            
                            +            
                            
                                     
                            @@ -297,7 +297,7 @@

                          • Table Of Contents
                          • @@ -319,7 +319,7 @@

                            Search results

                            - + diff --git a/files/tests-core-requesttestprovider.html b/files/tests-core-requesttestprovider.html deleted file mode 100644 index cca82582..00000000 --- a/files/tests-core-requesttestprovider.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                            -

                            Documentation

                            - - - - - -
                            - -
                            -
                            - - - - -
                            -
                            -
                              -
                            - -
                            -

                            RequestTestProvider.php

                            - -

                            Class RequestTestProvider

                            - - - -
                            - Tags - - -
                            -
                            -
                            - created -
                            -
                            - -

                            17.03.2021

                            -
                            - -
                            -
                            - author -
                            -
                            - -

                            smiley smiley@chillerlan.net

                            -
                            - -
                            -
                            - copyright -
                            -
                            - -

                            2021 smiley

                            -
                            - -
                            -
                            - license -
                            -
                            - -

                            MIT

                            -
                            - -
                            -
                            - - - -

                            - Table of Contents - - -

                            - - - - -

                            - Classes - - -

                            -
                            -
                            RequestTestProvider
                            Implements an abstract OAuth provider with all methods required by the OAuthInterface.
                            - - - - - - - - - - - - - -
                            -
                            -
                            -
                            -
                            
                            -        
                            - -
                            -
                            - - - -
                            -
                            -
                            - -
                            - On this page - -
                              -
                            • Table Of Contents
                            • -
                            • - -
                            • - - -
                            -
                            - -
                            -
                            -
                            -
                            -
                            -

                            Search results

                            - -
                            -
                            -
                              -
                              -
                              -
                              -
                              - - -
                              - - - - - - - - diff --git a/files/tests-helpers-chillerlanhttpclientfactory.html b/files/tests-helpers-chillerlanhttpclientfactory.html deleted file mode 100644 index 5f2f1dab..00000000 --- a/files/tests-helpers-chillerlanhttpclientfactory.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                              -

                              Documentation

                              - - - - - -
                              - -
                              -
                              - - - - -
                              -
                              -
                                -
                              - -
                              -

                              ChillerlanHttpClientFactory.php

                              - -

                              Class ChillerlanHttpClientFactory

                              - - - -
                              - Tags - - -
                              -
                              -
                              - created -
                              -
                              - -

                              01.04.2021

                              -
                              - -
                              -
                              - author -
                              -
                              - -

                              smiley smiley@chillerlan.net

                              -
                              - -
                              -
                              - copyright -
                              -
                              - -

                              2021 smiley

                              -
                              - -
                              -
                              - license -
                              -
                              - -

                              MIT

                              -
                              - -
                              -
                              - - - -

                              - Table of Contents - - -

                              - - - - -

                              - Classes - - -

                              -
                              -
                              ChillerlanHttpClientFactory
                              - - - - - - - - - - - - - -
                              -
                              -
                              -
                              -
                              
                              -        
                              - -
                              -
                              - - - -
                              -
                              -
                              - -
                              - On this page - -
                                -
                              • Table Of Contents
                              • -
                              • - -
                              • - - -
                              -
                              - -
                              -
                              -
                              -
                              -
                              -

                              Search results

                              - -
                              -
                              -
                                -
                                -
                                -
                                -
                                - - -
                                - - - - - - - - diff --git a/files/tests-helpers-guzzlehttpclientfactory.html b/files/tests-helpers-guzzlehttpclientfactory.html deleted file mode 100644 index 43f5fecd..00000000 --- a/files/tests-helpers-guzzlehttpclientfactory.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                                -

                                Documentation

                                - - - - - -
                                - -
                                -
                                - - - - -
                                -
                                -
                                  -
                                - -
                                -

                                GuzzleHttpClientFactory.php

                                - -

                                Class GuzzleHttpClientFactory

                                - -

                                requires Guzzle >= 7.3 (and Guzzle PSR-7 >= 2.0 for the PSR-17 factories)

                                -
                                - - -
                                - Tags - - -
                                -
                                -
                                - created -
                                -
                                - -

                                01.04.2021

                                -
                                - -
                                -
                                - author -
                                -
                                - -

                                smiley smiley@chillerlan.net

                                -
                                - -
                                -
                                - copyright -
                                -
                                - -

                                2021 smiley

                                -
                                - -
                                -
                                - license -
                                -
                                - -

                                MIT

                                -
                                - -
                                -
                                - noinspection -
                                -
                                - -

                                ALL

                                -
                                - -
                                -
                                - - - -

                                - Table of Contents - - -

                                - - - - -

                                - Classes - - -

                                -
                                -
                                GuzzleHttpClientFactory
                                - - - - - - - - - - - - - -
                                -
                                -
                                -
                                -
                                
                                -        
                                - -
                                -
                                - - - -
                                -
                                -
                                - -
                                - On this page - -
                                  -
                                • Table Of Contents
                                • -
                                • - -
                                • - - -
                                -
                                - -
                                -
                                -
                                -
                                -
                                -

                                Search results

                                - -
                                -
                                -
                                  -
                                  -
                                  -
                                  -
                                  - - -
                                  - - - - - - - - diff --git a/files/tests-helpers-httpfactorytrait.html b/files/tests-helpers-httpfactorytrait.html deleted file mode 100644 index b9d8b497..00000000 --- a/files/tests-helpers-httpfactorytrait.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                                  -

                                  Documentation

                                  - - - - - -
                                  - -
                                  -
                                  - - - - -
                                  -
                                  -
                                    -
                                  - -
                                  -

                                  HTTPFactoryTrait.php

                                  - -

                                  HTTPFactoryTrait.php

                                  - - - -
                                  - Tags - - -
                                  -
                                  -
                                  - created -
                                  -
                                  - -

                                  06.03.2024

                                  -
                                  - -
                                  -
                                  - author -
                                  -
                                  - -

                                  smiley smiley@chillerlan.net

                                  -
                                  - -
                                  -
                                  - copyright -
                                  -
                                  - -

                                  2024 smiley

                                  -
                                  - -
                                  -
                                  - license -
                                  -
                                  - -

                                  MIT

                                  -
                                  - -
                                  -
                                  - - - -

                                  - Table of Contents - - -

                                  - - - - - -

                                  - Traits - - -

                                  -
                                  -
                                  HTTPFactoryTrait
                                  Trait HTTPFactoryTrait
                                  - - - - - - - - - - - - -
                                  -
                                  -
                                  -
                                  -
                                  
                                  -        
                                  - -
                                  -
                                  - - - -
                                  -
                                  -
                                  - -
                                  - On this page - -
                                    -
                                  • Table Of Contents
                                  • -
                                  • - -
                                  • - - -
                                  -
                                  - -
                                  -
                                  -
                                  -
                                  -
                                  -

                                  Search results

                                  - -
                                  -
                                  -
                                    -
                                    -
                                    -
                                    -
                                    - - -
                                    - - - - - - - - diff --git a/files/tests-helpers-providertesthttpclient.html b/files/tests-helpers-providertesthttpclient.html deleted file mode 100644 index ce84e249..00000000 --- a/files/tests-helpers-providertesthttpclient.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                                    -

                                    Documentation

                                    - - - - - -
                                    - -
                                    -
                                    - - - - -
                                    -
                                    -
                                      -
                                    - -
                                    -

                                    ProviderTestHttpClient.php

                                    - -

                                    Class ProviderTestHttpClient

                                    - - - -
                                    - Tags - - -
                                    -
                                    -
                                    - created -
                                    -
                                    - -

                                    17.03.2021

                                    -
                                    - -
                                    -
                                    - author -
                                    -
                                    - -

                                    smiley smiley@chillerlan.net

                                    -
                                    - -
                                    -
                                    - copyright -
                                    -
                                    - -

                                    2021 smiley

                                    -
                                    - -
                                    -
                                    - license -
                                    -
                                    - -

                                    MIT

                                    -
                                    - -
                                    -
                                    - - - -

                                    - Table of Contents - - -

                                    - - - - -

                                    - Classes - - -

                                    -
                                    -
                                    ProviderTestHttpClient
                                    a dummy client that returns a prepared set of responses
                                    - - - - - - - - - - - - - -
                                    -
                                    -
                                    -
                                    -
                                    
                                    -        
                                    - -
                                    -
                                    - - - -
                                    -
                                    -
                                    - -
                                    - On this page - -
                                      -
                                    • Table Of Contents
                                    • -
                                    • - -
                                    • - - -
                                    -
                                    - -
                                    -
                                    -
                                    -
                                    -
                                    -

                                    Search results

                                    - -
                                    -
                                    -
                                      -
                                      -
                                      -
                                      -
                                      - - -
                                      - - - - - - - - diff --git a/files/tests-core-dummyoauth2basicprovider.html b/files/tests-providers-dummyoauth1provider.html similarity index 94% rename from files/tests-core-dummyoauth2basicprovider.html rename to files/tests-providers-dummyoauth1provider.html index a5dd52a0..beb3b040 100644 --- a/files/tests-core-dummyoauth2basicprovider.html +++ b/files/tests-providers-dummyoauth1provider.html @@ -113,15 +113,15 @@

                                      Fil
                                      -

                                      DummyOAuth2BasicProvider.php

                                      +

                                      DummyOAuth1Provider.php

                                      -

                                      Class DummyOAuth2BasicProvider

                                      +

                                      Class DummyOAuth1Provider

                                      Tags - +
                                      @@ -167,7 +167,7 @@

                                      Table of Contents - +

                                      @@ -176,11 +176,11 @@

                                      Classes - +

                                      -
                                      DummyOAuth2BasicProvider
                                      A minimal OAuth2 provider implementation
                                      +
                                      DummyOAuth1Provider
                                      An OAuth1 provider implementation
                                      @@ -198,7 +198,7 @@

                                      -
                                      
                                      +            
                                      
                                               
                                      @@ -297,7 +297,7 @@

                                    • Table Of Contents
                                    • @@ -319,7 +319,7 @@

                                      Search results

                                      - + diff --git a/files/tests-core-dummyoauth2provider.html b/files/tests-providers-dummyoauth2provider.html similarity index 93% rename from files/tests-core-dummyoauth2provider.html rename to files/tests-providers-dummyoauth2provider.html index c6da59db..f68cbca6 100644 --- a/files/tests-core-dummyoauth2provider.html +++ b/files/tests-providers-dummyoauth2provider.html @@ -121,7 +121,7 @@

                                      DummyOAuth2Provider.php

                                      Tags - +
                                      @@ -167,7 +167,7 @@

                                      Table of Contents - +

                                      @@ -176,11 +176,11 @@

                                      Classes - +

                                      -
                                      DummyOAuth2Provider
                                      An OAuth2 provider implementation that supports token refresh, csrf tokens and client credentials
                                      +
                                      DummyOAuth2Provider
                                      An OAuth2 provider implementation that supports token refresh, csrf tokens and client credentials
                                      @@ -198,7 +198,7 @@

                                      -
                                      
                                      +            
                                      
                                               
                                      @@ -297,7 +297,7 @@

                                    • Table Of Contents
                                    • @@ -319,7 +319,7 @@

                                      Search results

                                      - + diff --git a/files/tests-providers-live-amazonapitest.html b/files/tests-providers-live-amazonapitest.html index 3f7cf9b1..f00afa12 100644 --- a/files/tests-providers-live-amazonapitest.html +++ b/files/tests-providers-live-amazonapitest.html @@ -180,7 +180,7 @@

                                      -
                                      AmazonAPITest
                                      Amazon API usage tests/examples
                                      +
                                      AmazonAPITest

                                      diff --git a/files/tests-providers-live-deezerapitest.html b/files/tests-providers-live-deezerapitest.html index 47d18c98..d22108da 100644 --- a/files/tests-providers-live-deezerapitest.html +++ b/files/tests-providers-live-deezerapitest.html @@ -180,7 +180,7 @@

                                      -
                                      DeezerAPITest
                                      Spotify API usage tests/examples
                                      +
                                      DeezerAPITest
                                      diff --git a/files/tests-providers-live-discogsapitest.html b/files/tests-providers-live-discogsapitest.html index ca26a095..f4e74ba7 100644 --- a/files/tests-providers-live-discogsapitest.html +++ b/files/tests-providers-live-discogsapitest.html @@ -180,7 +180,7 @@

                                      -
                                      DiscogsAPITest
                                      Discogs API test
                                      +
                                      DiscogsAPITest
                                      diff --git a/files/tests-providers-live-foursquareapitest.html b/files/tests-providers-live-foursquareapitest.html index 8ab2cc4f..b800187d 100644 --- a/files/tests-providers-live-foursquareapitest.html +++ b/files/tests-providers-live-foursquareapitest.html @@ -180,7 +180,7 @@

                                      -
                                      FoursquareAPITest
                                      Foursquare API usage tests/examples
                                      +
                                      FoursquareAPITest
                                      diff --git a/files/tests-providers-live-googleapitest.html b/files/tests-providers-live-googleapitest.html index f586e332..695b52d4 100644 --- a/files/tests-providers-live-googleapitest.html +++ b/files/tests-providers-live-googleapitest.html @@ -180,7 +180,7 @@

                                      -
                                      GoogleAPITest
                                      Google API usage tests/examples
                                      +
                                      GoogleAPITest
                                      diff --git a/files/tests-providers-live-lastfmapitest.html b/files/tests-providers-live-lastfmapitest.html index 922d5de0..27886081 100644 --- a/files/tests-providers-live-lastfmapitest.html +++ b/files/tests-providers-live-lastfmapitest.html @@ -180,7 +180,7 @@

                                      -
                                      LastFMAPITest
                                      last.fm API test & examples
                                      +
                                      LastFMAPITest
                                      diff --git a/files/tests-providers-live-mailchimpapitest.html b/files/tests-providers-live-mailchimpapitest.html index dc3023db..ef2939fc 100644 --- a/files/tests-providers-live-mailchimpapitest.html +++ b/files/tests-providers-live-mailchimpapitest.html @@ -180,7 +180,7 @@

                                      -
                                      MailChimpAPITest
                                      MailChimp API usage tests/examples
                                      +
                                      MailChimpAPITest
                                      diff --git a/files/tests-providers-live-mastodonapitest.html b/files/tests-providers-live-mastodonapitest.html index 8367a32c..19248fa8 100644 --- a/files/tests-providers-live-mastodonapitest.html +++ b/files/tests-providers-live-mastodonapitest.html @@ -180,7 +180,7 @@

                                      -
                                      MastodonAPITest
                                      Spotify API usage tests/examples
                                      +
                                      MastodonAPITest
                                      diff --git a/files/tests-providers-live-oauth1providerlivetestabstract.html b/files/tests-providers-live-oauth1providerlivetestabstract.html new file mode 100644 index 00000000..a7e31bfe --- /dev/null +++ b/files/tests-providers-live-oauth1providerlivetestabstract.html @@ -0,0 +1,334 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                                      +

                                      Documentation

                                      + + + + + +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      +
                                        +
                                      + +
                                      +

                                      OAuth1ProviderLiveTestAbstract.php

                                      + +

                                      Class OAuth1ProviderLiveTestAbstract

                                      + + + +
                                      + Tags + + +
                                      +
                                      +
                                      + created +
                                      +
                                      + +

                                      17.03.2024

                                      +
                                      + +
                                      +
                                      + author +
                                      +
                                      + +

                                      smiley smiley@chillerlan.net

                                      +
                                      + +
                                      +
                                      + copyright +
                                      +
                                      + +

                                      2024 smiley

                                      +
                                      + +
                                      +
                                      + license +
                                      +
                                      + +

                                      MIT

                                      +
                                      + +
                                      +
                                      + + + +

                                      + Table of Contents + + +

                                      + + + + +

                                      + Classes + + +

                                      +
                                      +
                                      OAuth1ProviderLiveTestAbstract
                                      + + + + + + + + + + + + + +
                                      +
                                      +
                                      +
                                      +
                                      
                                      +        
                                      + +
                                      +
                                      + + + +
                                      +
                                      +
                                      + +
                                      + On this page + +
                                        +
                                      • Table Of Contents
                                      • +
                                      • + +
                                      • + + +
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      +
                                      +

                                      Search results

                                      + +
                                      +
                                      +
                                        +
                                        +
                                        +
                                        +
                                        + + +
                                        + + + + + + + + diff --git a/files/tests-providers-live-oauth2providerlivetestabstract.html b/files/tests-providers-live-oauth2providerlivetestabstract.html new file mode 100644 index 00000000..15ddd770 --- /dev/null +++ b/files/tests-providers-live-oauth2providerlivetestabstract.html @@ -0,0 +1,334 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                                        +

                                        Documentation

                                        + + + + + +
                                        + +
                                        +
                                        + + + + +
                                        +
                                        +
                                          +
                                        + +
                                        +

                                        OAuth2ProviderLiveTestAbstract.php

                                        + +

                                        Class OAuth2ProviderLiveTestAbstract

                                        + + + +
                                        + Tags + + +
                                        +
                                        +
                                        + created +
                                        +
                                        + +

                                        17.03.2024

                                        +
                                        + +
                                        +
                                        + author +
                                        +
                                        + +

                                        smiley smiley@chillerlan.net

                                        +
                                        + +
                                        +
                                        + copyright +
                                        +
                                        + +

                                        2024 smiley

                                        +
                                        + +
                                        +
                                        + license +
                                        +
                                        + +

                                        MIT

                                        +
                                        + +
                                        +
                                        + + + +

                                        + Table of Contents + + +

                                        + + + + +

                                        + Classes + + +

                                        +
                                        +
                                        OAuth2ProviderLiveTestAbstract
                                        + + + + + + + + + + + + + +
                                        +
                                        +
                                        +
                                        +
                                        
                                        +        
                                        + +
                                        +
                                        + + + +
                                        +
                                        +
                                        + +
                                        + On this page + +
                                          +
                                        • Table Of Contents
                                        • +
                                        • + +
                                        • + + +
                                        +
                                        + +
                                        +
                                        +
                                        +
                                        +
                                        +

                                        Search results

                                        + +
                                        +
                                        +
                                          +
                                          +
                                          +
                                          +
                                          + + +
                                          + + + + + + + + diff --git a/files/tests-core-dummyoauth1provider.html b/files/tests-providers-live-oauthproviderlivetestabstract.html similarity index 91% rename from files/tests-core-dummyoauth1provider.html rename to files/tests-providers-live-oauthproviderlivetestabstract.html index 73163022..09d09899 100644 --- a/files/tests-core-dummyoauth1provider.html +++ b/files/tests-providers-live-oauthproviderlivetestabstract.html @@ -113,15 +113,15 @@

                                          Fil
                                          -

                                          DummyOAuth1Provider.php

                                          +

                                          OAuthProviderLiveTestAbstract.php

                                          -

                                          Class DummyOAuth1Provider

                                          +

                                          Class OAuthProviderLiveTestAbstract

                                          Tags - +
                                          @@ -130,7 +130,7 @@
                                          -

                                          16.03.2021

                                          +

                                          18.03.2024

                                          @@ -148,7 +148,7 @@
                                          -

                                          2021 smiley

                                          +

                                          2024 smiley

                                          @@ -167,7 +167,7 @@

                                          Table of Contents - +

                                          @@ -176,11 +176,11 @@

                                          Classes - +

                                          -
                                          DummyOAuth1Provider
                                          An OAuth1 provider implementation
                                          +
                                          OAuthProviderLiveTestAbstract
                                          @@ -198,7 +198,7 @@

                                          -
                                          
                                          +            
                                          
                                                   
                                          @@ -297,7 +297,7 @@

                                        • Table Of Contents
                                        • @@ -319,7 +319,7 @@

                                          Search results

                                          - + diff --git a/files/tests-providers-live-openstreetmap2apitest.html b/files/tests-providers-live-openstreetmap2apitest.html index 48a4a4bb..c7ea8618 100644 --- a/files/tests-providers-live-openstreetmap2apitest.html +++ b/files/tests-providers-live-openstreetmap2apitest.html @@ -115,7 +115,7 @@

                                          Fil

                                          OpenStreetmap2APITest.php

                                          -

                                          Class OpenStreetmapAPITest

                                          +

                                          Class OpenStreetmap2APITest

                                          diff --git a/files/tests-providers-live-patreon1apitest.html b/files/tests-providers-live-patreonapitest.html similarity index 93% rename from files/tests-providers-live-patreon1apitest.html rename to files/tests-providers-live-patreonapitest.html index d443cc5a..c22f84d6 100644 --- a/files/tests-providers-live-patreon1apitest.html +++ b/files/tests-providers-live-patreonapitest.html @@ -113,15 +113,15 @@

                                          Fil
                                          -

                                          Patreon1APITest.php

                                          +

                                          PatreonAPITest.php

                                          -

                                          Class Patreon1APITest

                                          +

                                          Class PatreonAPITest

                                          Tags - +
                                          @@ -167,7 +167,7 @@

                                          Table of Contents - +

                                          @@ -176,11 +176,11 @@

                                          Classes - +

                                          -
                                          Patreon1APITest
                                          +
                                          PatreonAPITest
                                          @@ -198,7 +198,7 @@

                                          -
                                          
                                          +            
                                          
                                                   
                                          @@ -297,7 +297,7 @@

                                        • Table Of Contents
                                        • @@ -319,7 +319,7 @@

                                          Search results

                                          - + diff --git a/files/tests-providers-live-spotifyapitest.html b/files/tests-providers-live-spotifyapitest.html index bb63e4dc..a8701036 100644 --- a/files/tests-providers-live-spotifyapitest.html +++ b/files/tests-providers-live-spotifyapitest.html @@ -180,7 +180,7 @@

                                          -
                                          SpotifyAPITest
                                          Spotify API usage tests/examples
                                          +
                                          SpotifyAPITest
                                          diff --git a/files/tests-providers-live-stripeapitest.html b/files/tests-providers-live-stripeapitest.html index 619c6366..06579e53 100644 --- a/files/tests-providers-live-stripeapitest.html +++ b/files/tests-providers-live-stripeapitest.html @@ -180,7 +180,7 @@

                                          -
                                          StripeAPITest
                                          Stripe API usage tests/examples
                                          +
                                          StripeAPITest
                                          diff --git a/files/tests-providers-live-twitterapitest.html b/files/tests-providers-live-twitterapitest.html index d16baf4e..8e5d25d7 100644 --- a/files/tests-providers-live-twitterapitest.html +++ b/files/tests-providers-live-twitterapitest.html @@ -180,7 +180,7 @@

                                          -
                                          TwitterAPITest
                                          Twitter API tests & examples
                                          +
                                          TwitterAPITest
                                          diff --git a/files/tests-providers-oauth2apitestabstract.html b/files/tests-providers-oauth2apitestabstract.html deleted file mode 100644 index 836319a5..00000000 --- a/files/tests-providers-oauth2apitestabstract.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                                          -

                                          Documentation

                                          - - - - - -
                                          - -
                                          -
                                          - - - - -
                                          -
                                          -
                                            -
                                          - -
                                          -

                                          OAuth2APITestAbstract.php

                                          - -

                                          Class OAuth2APITestAbstract

                                          - - - -
                                          - Tags - - -
                                          -
                                          -
                                          - created -
                                          -
                                          - -

                                          02.08.2019

                                          -
                                          - -
                                          -
                                          - author -
                                          -
                                          - -

                                          smiley smiley@chillerlan.net

                                          -
                                          - -
                                          -
                                          - copyright -
                                          -
                                          - -

                                          2019 smiley

                                          -
                                          - -
                                          -
                                          - license -
                                          -
                                          - -

                                          MIT

                                          -
                                          - -
                                          -
                                          - - - -

                                          - Table of Contents - - -

                                          - - - - -

                                          - Classes - - -

                                          -
                                          -
                                          OAuth2APITestAbstract
                                          - - - - - - - - - - - - - -
                                          -
                                          -
                                          -
                                          -
                                          
                                          -        
                                          - -
                                          -
                                          - - - -
                                          -
                                          -
                                          - -
                                          - On this page - -
                                            -
                                          • Table Of Contents
                                          • -
                                          • - -
                                          • - - -
                                          -
                                          - -
                                          -
                                          -
                                          -
                                          -
                                          -

                                          Search results

                                          - -
                                          -
                                          -
                                            -
                                            -
                                            -
                                            -
                                            - - -
                                            - - - - - - - - diff --git a/files/tests-providers-oauthtesthttpclientfactoryinterface.html b/files/tests-providers-oauthtesthttpclientfactoryinterface.html deleted file mode 100644 index 2ba0dbd4..00000000 --- a/files/tests-providers-oauthtesthttpclientfactoryinterface.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - Documentation - - - - - - - - - - - - - - - - - - - - - -
                                            -

                                            Documentation

                                            - - - - - -
                                            - -
                                            -
                                            - - - - -
                                            -
                                            -
                                              -
                                            - -
                                            -

                                            OAuthTestHttpClientFactoryInterface.php

                                            - -

                                            Interface OAuthTestHttpClientFactoryInterface

                                            - - - -
                                            - Tags - - -
                                            -
                                            -
                                            - created -
                                            -
                                            - -

                                            01.04.2021

                                            -
                                            - -
                                            -
                                            - author -
                                            -
                                            - -

                                            smiley smiley@chillerlan.net

                                            -
                                            - -
                                            -
                                            - copyright -
                                            -
                                            - -

                                            2021 smiley

                                            -
                                            - -
                                            -
                                            - license -
                                            -
                                            - -

                                            MIT

                                            -
                                            - -
                                            -
                                            - - - -

                                            - Table of Contents - - -

                                            - - - -

                                            - Interfaces - - -

                                            -
                                            -
                                            OAuthTestHttpClientFactoryInterface
                                            - - - - - - - - - - - - - - -
                                            -
                                            -
                                            -
                                            -
                                            
                                            -        
                                            - -
                                            -
                                            - - - -
                                            -
                                            -
                                            - -
                                            - On this page - - -
                                            - -
                                            -
                                            -
                                            -
                                            -
                                            -

                                            Search results

                                            - -
                                            -
                                            -
                                              -
                                              -
                                              -
                                              -
                                              - - -
                                              - - - - - - - - diff --git a/files/tests-helpers-oauthtesthttpclient.html b/files/tests-providers-providerlivetestabstract.html similarity index 92% rename from files/tests-helpers-oauthtesthttpclient.html rename to files/tests-providers-providerlivetestabstract.html index d1c008fe..3a880630 100644 --- a/files/tests-helpers-oauthtesthttpclient.html +++ b/files/tests-providers-providerlivetestabstract.html @@ -113,15 +113,15 @@

                                              Fil
                                              -

                                              OAuthTestHttpClient.php

                                              +

                                              ProviderLiveTestAbstract.php

                                              -

                                              Class OAuthTestHttpClient

                                              +

                                              Class ProviderLiveTestAbstract

                                              Tags - +
                                              @@ -130,7 +130,7 @@
                                              -

                                              26.07.2019

                                              +

                                              17.03.2024

                                              @@ -148,7 +148,7 @@
                                              -

                                              2019 smiley

                                              +

                                              2024 smiley

                                              @@ -167,7 +167,7 @@

                                              Table of Contents - +

                                              @@ -176,11 +176,11 @@

                                              Classes - +

                                              -
                                              OAuthTestHttpClient
                                              +
                                              ProviderLiveTestAbstract
                                              @@ -198,7 +198,7 @@

                                              -
                                              
                                              +            
                                              
                                                       
                                              @@ -297,7 +297,7 @@

                                            • Table Of Contents
                                            • @@ -319,7 +319,7 @@

                                              Search results

                                              - + diff --git a/files/tests-core-requesttest.html b/files/tests-providers-providerlivetesthttpclientfactory.html similarity index 91% rename from files/tests-core-requesttest.html rename to files/tests-providers-providerlivetesthttpclientfactory.html index 53fe17ec..a81b8422 100644 --- a/files/tests-core-requesttest.html +++ b/files/tests-providers-providerlivetesthttpclientfactory.html @@ -113,15 +113,15 @@

                                              Fil
                                              -

                                              RequestTest.php

                                              +

                                              ProviderLiveTestHttpClientFactory.php

                                              -

                                              Class RequestTest

                                              +

                                              Class ProviderLiveTestHttpClientFactory

                                              Tags - +
                                              @@ -130,7 +130,7 @@
                                              -

                                              17.03.2021

                                              +

                                              17.03.2024

                                              @@ -148,7 +148,7 @@
                                              -

                                              2021 smiley

                                              +

                                              2024 smiley

                                              @@ -167,7 +167,7 @@

                                              Table of Contents - +

                                              @@ -176,11 +176,11 @@

                                              Classes - +

                                              -
                                              RequestTest
                                              +
                                              ProviderLiveTestHttpClientFactory
                                              @@ -198,7 +198,7 @@

                                              -
                                              
                                              +            
                                              
                                                       
                                              @@ -297,7 +297,7 @@

                                            • Table Of Contents
                                            • @@ -319,7 +319,7 @@

                                              Search results

                                              - + diff --git a/files/tests-helpers-oauthtestmemorystorage.html b/files/tests-providers-providerlivetestmemorystorage.html similarity index 91% rename from files/tests-helpers-oauthtestmemorystorage.html rename to files/tests-providers-providerlivetestmemorystorage.html index 1494e731..31ad3c65 100644 --- a/files/tests-helpers-oauthtestmemorystorage.html +++ b/files/tests-providers-providerlivetestmemorystorage.html @@ -113,15 +113,15 @@

                                              Fil
                                              -

                                              OAuthTestMemoryStorage.php

                                              +

                                              ProviderLiveTestMemoryStorage.php

                                              -

                                              Class OAuthTestMemoryStorage

                                              +

                                              Class ProviderLiveTestMemoryStorage

                                              Tags - +
                                              @@ -167,7 +167,7 @@

                                              Table of Contents - +

                                              @@ -176,11 +176,11 @@

                                              Classes - +

                                              -
                                              OAuthTestMemoryStorage
                                              Extends the standard memory storage so that it also saves tokens as JSON in the given path
                                              +
                                              ProviderLiveTestMemoryStorage
                                              Extends the standard memory storage so that it also saves tokens as JSON in the given path
                                              @@ -198,7 +198,7 @@

                                              -
                                              
                                              +            
                                              
                                                       
                                              @@ -297,7 +297,7 @@

                                            • Table Of Contents
                                            • @@ -319,7 +319,7 @@

                                              Search results

                                              - + diff --git a/files/tests-providers-oauthprovidertestabstract.html b/files/tests-providers-providertestloggerfactory.html similarity index 94% rename from files/tests-providers-oauthprovidertestabstract.html rename to files/tests-providers-providertestloggerfactory.html index 6493d780..628cb9fd 100644 --- a/files/tests-providers-oauthprovidertestabstract.html +++ b/files/tests-providers-providertestloggerfactory.html @@ -113,15 +113,15 @@

                                              Fil
                                              -

                                              OAuthProviderTestAbstract.php

                                              +

                                              ProviderTestLoggerFactory.php

                                              -

                                              Class OAuthProviderTestAbstract

                                              +

                                              Class ProviderTestLoggerFactory

                                              Tags - +
                                              @@ -130,7 +130,7 @@
                                              -

                                              09.09.2018

                                              +

                                              17.03.2024

                                              @@ -148,7 +148,7 @@
                                              -

                                              2018 smiley

                                              +

                                              2024 smiley

                                              @@ -167,7 +167,7 @@

                                              Table of Contents - +

                                              @@ -176,11 +176,11 @@

                                              Classes - +

                                              -
                                              OAuthProviderTestAbstract
                                              +
                                              ProviderTestLoggerFactory
                                              @@ -198,7 +198,7 @@

                                              -
                                              
                                              +            
                                              
                                                       
                                              @@ -297,7 +297,7 @@

                                            • Table Of Contents
                                            • @@ -319,7 +319,7 @@

                                              Search results

                                              - + diff --git a/files/tests-providers-oauth1providertestabstract.html b/files/tests-providers-providerunittestabstract.html similarity index 92% rename from files/tests-providers-oauth1providertestabstract.html rename to files/tests-providers-providerunittestabstract.html index af5c1a6e..579dc0be 100644 --- a/files/tests-providers-oauth1providertestabstract.html +++ b/files/tests-providers-providerunittestabstract.html @@ -113,15 +113,15 @@

                                              Fil
                                              -

                                              OAuth1ProviderTestAbstract.php

                                              +

                                              ProviderUnitTestAbstract.php

                                              -

                                              Class OAuth1ProviderTestAbstract

                                              +

                                              Class ProviderUnitTestAbstract

                                              Tags - +
                                              @@ -167,7 +167,7 @@

                                              Table of Contents - +

                                              @@ -176,11 +176,11 @@

                                              Classes - +

                                              -
                                              OAuth1ProviderTestAbstract
                                              +
                                              ProviderUnitTestAbstract
                                              @@ -198,7 +198,7 @@

                                              -
                                              
                                              +            
                                              
                                                       
                                              @@ -297,7 +297,7 @@

                                            • Table Of Contents
                                            • @@ -319,7 +319,7 @@

                                              Search results

                                              - + diff --git a/files/tests-providers-oauth1apitestabstract.html b/files/tests-providers-providerunittesthttpclientfactory.html similarity index 91% rename from files/tests-providers-oauth1apitestabstract.html rename to files/tests-providers-providerunittesthttpclientfactory.html index 5f288f81..e50473a3 100644 --- a/files/tests-providers-oauth1apitestabstract.html +++ b/files/tests-providers-providerunittesthttpclientfactory.html @@ -113,15 +113,15 @@

                                              Fil
                                              -

                                              OAuth1APITestAbstract.php

                                              +

                                              ProviderUnitTestHttpClientFactory.php

                                              -

                                              Class OAuth1APITestAbstract

                                              +

                                              Class ProviderUnitTestHttpClientFactory

                                              Tags - +
                                              @@ -130,7 +130,7 @@
                                              -

                                              02.08.2019

                                              +

                                              16.03.2024

                                              @@ -148,7 +148,7 @@
                                              -

                                              2019 smiley

                                              +

                                              2024 smiley

                                              @@ -167,7 +167,7 @@

                                              Table of Contents - +

                                              @@ -176,11 +176,11 @@

                                              Classes - +

                                              -
                                              OAuth1APITestAbstract
                                              +
                                              ProviderUnitTestHttpClientFactory
                                              @@ -198,7 +198,7 @@

                                              -
                                              
                                              +            
                                              
                                                       
                                              @@ -297,7 +297,7 @@

                                            • Table Of Contents
                                            • @@ -319,7 +319,7 @@

                                              Search results

                                              - + diff --git a/files/tests-providers-unit-oauth1providerunittestabstract.html b/files/tests-providers-unit-oauth1providerunittestabstract.html new file mode 100644 index 00000000..05af337f --- /dev/null +++ b/files/tests-providers-unit-oauth1providerunittestabstract.html @@ -0,0 +1,334 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                                              +

                                              Documentation

                                              + + + + + +
                                              + +
                                              +
                                              + + + + +
                                              +
                                              +
                                                +
                                              + +
                                              +

                                              OAuth1ProviderUnitTestAbstract.php

                                              + +

                                              Class OAuth1ProviderUnitTestAbstract

                                              + + + +
                                              + Tags + + +
                                              +
                                              +
                                              + created +
                                              +
                                              + +

                                              09.09.2018

                                              +
                                              + +
                                              +
                                              + author +
                                              +
                                              + +

                                              smiley smiley@chillerlan.net

                                              +
                                              + +
                                              +
                                              + copyright +
                                              +
                                              + +

                                              2018 smiley

                                              +
                                              + +
                                              +
                                              + license +
                                              +
                                              + +

                                              MIT

                                              +
                                              + +
                                              +
                                              + + + +

                                              + Table of Contents + + +

                                              + + + + +

                                              + Classes + + +

                                              +
                                              +
                                              OAuth1ProviderUnitTestAbstract
                                              + + + + + + + + + + + + + +
                                              +
                                              +
                                              +
                                              +
                                              
                                              +        
                                              + +
                                              +
                                              + + + +
                                              +
                                              +
                                              + +
                                              + On this page + +
                                                +
                                              • Table Of Contents
                                              • +
                                              • + +
                                              • + + +
                                              +
                                              + +
                                              +
                                              +
                                              +
                                              +
                                              +

                                              Search results

                                              + +
                                              +
                                              +
                                                +
                                                +
                                                +
                                                +
                                                + + +
                                                + + + + + + + + diff --git a/files/tests-core-dummyoauth2testbasic.html b/files/tests-providers-unit-oauth1test.html similarity index 94% rename from files/tests-core-dummyoauth2testbasic.html rename to files/tests-providers-unit-oauth1test.html index 9db861a2..b438725c 100644 --- a/files/tests-core-dummyoauth2testbasic.html +++ b/files/tests-providers-unit-oauth1test.html @@ -113,15 +113,15 @@

                                                Fil
                                                -

                                                DummyOAuth2TestBasic.php

                                                +

                                                OAuth1Test.php

                                                -

                                                Class DummyOAuth2TestBasic

                                                +

                                                Class OAuth1Test

                                                Tags - +
                                                @@ -130,7 +130,7 @@
                                                -

                                                06.08.2019

                                                +

                                                16.03.2024

                                                @@ -148,7 +148,7 @@
                                                -

                                                2019 smiley

                                                +

                                                2024 smiley

                                                @@ -167,7 +167,7 @@

                                                Table of Contents - +

                                                @@ -176,11 +176,11 @@

                                                Classes - +

                                                -
                                                DummyOAuth2TestBasic
                                                Tests a minimal OAuth2 provider implementation (no token refresh, no csrf, no nothing)
                                                +
                                                OAuth1Test
                                                The built-in dummy test for OAuth1
                                                @@ -198,7 +198,7 @@

                                                -
                                                
                                                +            
                                                
                                                         
                                                @@ -297,7 +297,7 @@

                                              • Table Of Contents
                                              • @@ -319,7 +319,7 @@

                                                Search results

                                                - + diff --git a/files/tests-providers-oauth2providertestabstract.html b/files/tests-providers-unit-oauth2providerunittestabstract.html similarity index 92% rename from files/tests-providers-oauth2providertestabstract.html rename to files/tests-providers-unit-oauth2providerunittestabstract.html index 63e39808..862b55d3 100644 --- a/files/tests-providers-oauth2providertestabstract.html +++ b/files/tests-providers-unit-oauth2providerunittestabstract.html @@ -113,15 +113,15 @@

                                                Fil
                                                -

                                                OAuth2ProviderTestAbstract.php

                                                +

                                                OAuth2ProviderUnitTestAbstract.php

                                                -

                                                Class OAuth2ProviderTestAbstract

                                                +

                                                Class OAuth2ProviderUnitTestAbstract

                                                Tags - +
                                                @@ -167,7 +167,7 @@

                                                Table of Contents - +

                                                @@ -176,11 +176,11 @@

                                                Classes - +

                                                -
                                                OAuth2ProviderTestAbstract
                                                +
                                                OAuth2ProviderUnitTestAbstract
                                                @@ -198,7 +198,7 @@

                                                -
                                                
                                                +            
                                                
                                                         
                                                @@ -297,7 +297,7 @@

                                              • Table Of Contents
                                              • @@ -319,7 +319,7 @@

                                                Search results

                                                - + diff --git a/files/tests-core-oauth2test.html b/files/tests-providers-unit-oauth2test.html similarity index 93% rename from files/tests-core-oauth2test.html rename to files/tests-providers-unit-oauth2test.html index 5747bf64..37057835 100644 --- a/files/tests-core-oauth2test.html +++ b/files/tests-providers-unit-oauth2test.html @@ -121,7 +121,7 @@

                                                OAuth2Test.php

                                                Tags - +
                                                @@ -130,7 +130,7 @@
                                                -

                                                09.09.2018

                                                +

                                                16.03.2024

                                                @@ -139,7 +139,7 @@
                                                -

                                                Smiley smiley@chillerlan.net

                                                +

                                                smiley smiley@chillerlan.net

                                                @@ -148,7 +148,7 @@
                                                -

                                                2018 Smiley

                                                +

                                                2024 smiley

                                                @@ -167,7 +167,7 @@

                                                Table of Contents - +

                                                @@ -176,11 +176,11 @@

                                                Classes - +

                                                -
                                                OAuth2Test
                                                +
                                                OAuth2Test
                                                The built-in dummy test for OAuth2
                                                @@ -198,7 +198,7 @@

                                                -
                                                
                                                +            
                                                
                                                         
                                                @@ -297,7 +297,7 @@

                                              • Table Of Contents
                                              • @@ -319,7 +319,7 @@

                                                Search results

                                                - + diff --git a/files/tests-providers-unit-oauthproviderunittestabstract.html b/files/tests-providers-unit-oauthproviderunittestabstract.html new file mode 100644 index 00000000..851305b6 --- /dev/null +++ b/files/tests-providers-unit-oauthproviderunittestabstract.html @@ -0,0 +1,334 @@ + + + + + Documentation + + + + + + + + + + + + + + + + + + + + + +
                                                +

                                                Documentation

                                                + + + + + +
                                                + +
                                                +
                                                + + + + +
                                                +
                                                +
                                                  +
                                                + +
                                                +

                                                OAuthProviderUnitTestAbstract.php

                                                + +

                                                Class OAuthProviderUnitTestAbstract

                                                + + + +
                                                + Tags + + +
                                                +
                                                +
                                                + created +
                                                +
                                                + +

                                                18.03.2024

                                                +
                                                + +
                                                +
                                                + author +
                                                +
                                                + +

                                                smiley smiley@chillerlan.net

                                                +
                                                + +
                                                +
                                                + copyright +
                                                +
                                                + +

                                                2024 smiley

                                                +
                                                + +
                                                +
                                                + license +
                                                +
                                                + +

                                                MIT

                                                +
                                                + +
                                                +
                                                + + + +

                                                + Table of Contents + + +

                                                + + + + +

                                                + Classes + + +

                                                +
                                                +
                                                OAuthProviderUnitTestAbstract
                                                + + + + + + + + + + + + + +
                                                +
                                                +
                                                +
                                                +
                                                
                                                +        
                                                + +
                                                +
                                                + + + +
                                                +
                                                +
                                                + +
                                                + On this page + +
                                                  +
                                                • Table Of Contents
                                                • +
                                                • + +
                                                • + + +
                                                +
                                                + +
                                                +
                                                +
                                                +
                                                +
                                                +

                                                Search results

                                                + +
                                                +
                                                +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  + + +
                                                  + + + + + + + + diff --git a/indices/files.html b/indices/files.html index c5a94bd4..d62872b0 100644 --- a/indices/files.html +++ b/indices/files.html @@ -135,7 +135,6 @@

                                                  B

                                                  C

                                                  D

                                                  @@ -152,10 +151,8 @@

                                                  D

                                                • Discord.php
                                                • DiscordAPITest.php
                                                • DiscordTest.php
                                                • -
                                                • DummyOAuth1Provider.php
                                                • -
                                                • DummyOAuth2BasicProvider.php
                                                • -
                                                • DummyOAuth2Provider.php
                                                • -
                                                • DummyOAuth2TestBasic.php
                                                • +
                                                • DummyOAuth1Provider.php
                                                • +
                                                • DummyOAuth2Provider.php
                                                • F

                                                  -

                                                  H

                                                  - -

                                                  I

                                                  +

                                                  I

                                                  L

                                                    @@ -226,29 +219,26 @@

                                                    N

                                                  O

                                                    -
                                                  • OAuth1APITestAbstract.php
                                                  • OAuth1Interface.php
                                                  • OAuth1Provider.php
                                                  • -
                                                  • OAuth1ProviderTestAbstract.php
                                                  • -
                                                  • OAuth1Test.php
                                                  • -
                                                  • OAuth2APITestAbstract.php
                                                  • +
                                                  • OAuth1ProviderLiveTestAbstract.php
                                                  • +
                                                  • OAuth1ProviderUnitTestAbstract.php
                                                  • +
                                                  • OAuth1Test.php
                                                  • OAuth2Interface.php
                                                  • OAuth2Provider.php
                                                  • -
                                                  • OAuth2ProviderTestAbstract.php
                                                  • -
                                                  • OAuth2Test.php
                                                  • -
                                                  • OAuthAPITestAbstract.php
                                                  • +
                                                  • OAuth2ProviderLiveTestAbstract.php
                                                  • +
                                                  • OAuth2ProviderUnitTestAbstract.php
                                                  • +
                                                  • OAuth2Test.php
                                                  • OAuthException.php
                                                  • OAuthInterface.php
                                                  • OAuthOptions.php
                                                  • OAuthOptionsTrait.php
                                                  • OAuthProvider.php
                                                  • -
                                                  • OAuthProviderTestAbstract.php
                                                  • +
                                                  • OAuthProviderLiveTestAbstract.php
                                                  • +
                                                  • OAuthProviderUnitTestAbstract.php
                                                  • OAuthStorageAbstract.php
                                                  • OAuthStorageException.php
                                                  • OAuthStorageInterface.php
                                                  • -
                                                  • OAuthTestHttpClient.php
                                                  • -
                                                  • OAuthTestHttpClientFactoryInterface.php
                                                  • -
                                                  • OAuthTestMemoryStorage.php
                                                  • OpenCaching.php
                                                  • OpenCachingAPITest.php
                                                  • OpenCachingTest.php
                                                  • @@ -262,23 +252,22 @@

                                                    O

                                                    P

                                                    -

                                                    R

                                                    - -

                                                    S

                                                    +

                                                    S

                                                    -

                                                    V

                                                    +

                                                    U

                                                    + +

                                                    V

                                                    • Vimeo.php
                                                    • VimeoAPITest.php
                                                    • diff --git a/js/searchIndex.js b/js/searchIndex.js index 510b19be..ef309950 100644 --- a/js/searchIndex.js +++ b/js/searchIndex.js @@ -85,6 +85,11 @@ Search.appendIndex( "name": "CSRFToken", "summary": "Specifies\u0020the\u0020methods\u0020required\u0020for\u0020the\u0020OAuth2\u0020CSRF\u0020token\u0020validation\u0020\u0028\u0022state\u0020parameter\u0022\u0029", "url": "classes/chillerlan-OAuth-Core-CSRFToken.html" + }, { + "fqsen": "\\chillerlan\\OAuth\\Core\\InvalidAccessTokenException", + "name": "InvalidAccessTokenException", + "summary": "", + "url": "classes/chillerlan-OAuth-Core-InvalidAccessTokenException.html" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth1Interface", "name": "OAuth1Interface", @@ -115,6 +120,11 @@ Search.appendIndex( "name": "getRequestToken", "summary": "Obtains\u0020an\u0020OAuth1\u0020request\u0020token\u0020and\u0020returns\u0020an\u0020AccessToken\u0020object\u0020for\u0020use\u0020in\u0020the\u0020authentication\u0020request.", "url": "classes/chillerlan-OAuth-Core-OAuth1Provider.html#method_getRequestToken" + }, { + "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth1Provider\u003A\u003AsendRequestTokenRequest\u0028\u0029", + "name": "sendRequestTokenRequest", + "summary": "Sends\u0020a\u0020request\u0020to\u0020the\u0020request\u0020token\u0020endpoint\u0020with\u0020the\u0020given\u0020params", + "url": "classes/chillerlan-OAuth-Core-OAuth1Provider.html#method_sendRequestTokenRequest" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth1Provider\u003A\u003AparseTokenResponse\u0028\u0029", "name": "parseTokenResponse", @@ -135,6 +145,11 @@ Search.appendIndex( "name": "getAccessToken", "summary": "Obtains\u0020an\u0020OAuth1\u0020access\u0020token\u0020with\u0020the\u0020given\u0020\u0024token\u0020and\u0020\u0024verifier\u0020and\u0020returns\u0020an\u0020AccessToken\u0020object.", "url": "classes/chillerlan-OAuth-Core-OAuth1Provider.html#method_getAccessToken" + }, { + "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth1Provider\u003A\u003AsendAccessTokenRequest\u0028\u0029", + "name": "sendAccessTokenRequest", + "summary": "Sends\u0020the\u0020access\u0020token\u0020request", + "url": "classes/chillerlan-OAuth-Core-OAuth1Provider.html#method_sendAccessTokenRequest" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth1Provider\u003A\u003AgetRequestAuthorization\u0028\u0029", "name": "getRequestAuthorization", @@ -375,11 +390,6 @@ Search.appendIndex( "name": "createAccessToken", "summary": "Creates\u0020an\u0020access\u0020token\u0020with\u0020the\u0020provider\u0020set\u0020to\u0020\u0024this\u002D\u003EserviceName", "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_createAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003Arequest\u0028\u0029", - "name": "request", - "summary": "Prepares\u0020an\u0020API\u0020request\u0020to\u0020\u0024path\u0020with\u0020the\u0020given\u0020parameters,\u0020gets\u0020authorization,\u0020fires\u0020the\u0020request\nand\u0020returns\u0020a\u0020PSR\u002D7\u0020ResponseInterface\u0020with\u0020the\u0020corresponding\u0020API\u0020response", - "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_request" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AgetRequestHeaders\u0028\u0029", "name": "getRequestHeaders", @@ -395,16 +405,21 @@ Search.appendIndex( "name": "cleanQueryParams", "summary": "Cleans\u0020an\u0020array\u0020of\u0020query\u0020parameters", "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_cleanQueryParams" - }, { - "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AgetRequestBody\u0028\u0029", - "name": "getRequestBody", - "summary": "Prepares\u0020the\u0020request\u0020body", - "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_getRequestBody" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AcleanBodyParams\u0028\u0029", "name": "cleanBodyParams", "summary": "Cleans\u0020an\u0020array\u0020of\u0020body\u0020parameters", "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_cleanBodyParams" + }, { + "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003Arequest\u0028\u0029", + "name": "request", + "summary": "Prepares\u0020an\u0020API\u0020request\u0020to\u0020\u0024path\u0020with\u0020the\u0020given\u0020parameters,\u0020gets\u0020authorization,\u0020fires\u0020the\u0020request\nand\u0020returns\u0020a\u0020PSR\u002D7\u0020ResponseInterface\u0020with\u0020the\u0020corresponding\u0020API\u0020response", + "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_request" + }, { + "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AgetRequestBody\u0028\u0029", + "name": "getRequestBody", + "summary": "Prepares\u0020the\u0020request\u0020body", + "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_getRequestBody" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AgetRequestTarget\u0028\u0029", "name": "getRequestTarget", @@ -421,15 +436,15 @@ Search.appendIndex( "summary": "Returns\u0020information\u0020about\u0020the\u0020currently\u0020authenticated\u0020user\u0020\u0028usually\u0020a\u0020\/me\u0020or\u0020\/user\u0020endpoint\u0029.", "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "", - "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#method_InvalidateAccessToken" }, { - "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AALLOWED_PROPERTIES", - "name": "ALLOWED_PROPERTIES", + "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003AMAGIC_PROPERTIES", + "name": "MAGIC_PROPERTIES", "summary": "", - "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#constant_ALLOWED_PROPERTIES" + "url": "classes/chillerlan-OAuth-Core-OAuthProvider.html#constant_MAGIC_PROPERTIES" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuthProvider\u003A\u003A\u0024authURL", "name": "authURL", @@ -511,10 +526,10 @@ Search.appendIndex( "summary": "Indicates\u0020whether\u0020the\u0020service\u0020is\u0020capable\u0020of\u0020invalidating\u0020access\u0020tokens", "url": "classes/chillerlan-OAuth-Core-TokenInvalidate.html" }, { - "fqsen": "\\chillerlan\\OAuth\\Core\\TokenInvalidate\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Core\\TokenInvalidate\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Core-TokenInvalidate.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Core-TokenInvalidate.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\TokenRefresh", "name": "TokenRefresh", @@ -525,6 +540,11 @@ Search.appendIndex( "name": "refreshAccessToken", "summary": "Attempts\u0020to\u0020refresh\u0020an\u0020existing\u0020AccessToken\u0020with\u0020an\u0020associated\u0020refresh\u0020token\u0020and\u0020returns\u0020a\u0020fresh\u0020AccessToken.", "url": "classes/chillerlan-OAuth-Core-TokenRefresh.html#method_refreshAccessToken" + }, { + "fqsen": "\\chillerlan\\OAuth\\Core\\UnauthorizedAccessException", + "name": "UnauthorizedAccessException", + "summary": "", + "url": "classes/chillerlan-OAuth-Core-UnauthorizedAccessException.html" }, { "fqsen": "\\chillerlan\\OAuth\\OAuthException", "name": "OAuthException", @@ -680,6 +700,11 @@ Search.appendIndex( "name": "BattleNet", "summary": "Battle.net\u0020OAuth2", "url": "classes/chillerlan-OAuth-Providers-BattleNet.html" + }, { + "fqsen": "\\chillerlan\\OAuth\\Providers\\BattleNet\u003A\u003AgetRequestTarget\u0028\u0029", + "name": "getRequestTarget", + "summary": "", + "url": "classes/chillerlan-OAuth-Providers-BattleNet.html#method_getRequestTarget" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\BattleNet\u003A\u003AsetRegion\u0028\u0029", "name": "setRegion", @@ -715,6 +740,11 @@ Search.appendIndex( "name": "DEFAULT_SCOPES", "summary": "", "url": "classes/chillerlan-OAuth-Providers-BattleNet.html#constant_DEFAULT_SCOPES" + }, { + "fqsen": "\\chillerlan\\OAuth\\Providers\\BattleNet\u003A\u003AKNOWN_DOMAINS", + "name": "KNOWN_DOMAINS", + "summary": "", + "url": "classes/chillerlan-OAuth-Providers-BattleNet.html#constant_KNOWN_DOMAINS" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\BattleNet\u003A\u003A\u0024apiDocs", "name": "apiDocs", @@ -766,10 +796,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuth-Providers-BigCartel.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\BigCartel\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Providers\\BigCartel\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Providers-BigCartel.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Providers-BigCartel.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\BigCartel\u003A\u003AgetAccountID\u0028\u0029", "name": "getAccountID", @@ -961,10 +991,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuth-Providers-DeviantArt.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\DeviantArt\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Providers\\DeviantArt\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Providers-DeviantArt.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Providers-DeviantArt.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\DeviantArt\u003A\u003ASCOPE_BASIC", "name": "SCOPE_BASIC", @@ -1126,10 +1156,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuth-Providers-Discord.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\Discord\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Providers\\Discord\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Providers-Discord.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Providers-Discord.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Discord\u003A\u003ASCOPE_APPLICATIONS_COMMANDS", "name": "SCOPE_APPLICATIONS_COMMANDS", @@ -1273,7 +1303,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Flickr\u003A\u003Ame\u0028\u0029", "name": "me", - "summary": "", + "summary": "hi\u0020flickr,\u0020can\u0020i\u0020have\u0020a\u0020401\u0020on\u0020invalid\u0020token\u003F\u003F\u003F", "url": "classes/chillerlan-OAuth-Providers-Flickr.html#method_me" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Flickr\u003A\u003APERM_READ", @@ -1950,6 +1980,11 @@ Search.appendIndex( "name": "applicationURL", "summary": "", "url": "classes/chillerlan-OAuth-Providers-MailChimp.html#property_applicationURL" + }, { + "fqsen": "\\chillerlan\\OAuth\\Providers\\MailChimp\u003A\u003A\u0024apiURL", + "name": "apiURL", + "summary": "", + "url": "classes/chillerlan-OAuth-Providers-MailChimp.html#property_apiURL" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Mastodon", "name": "Mastodon", @@ -2205,26 +2240,16 @@ Search.appendIndex( "name": "setAPI", "summary": "Sets\u0020the\u0020API\u0020to\u0020work\u0020with\u0020\u0028\u0022listening\u0022\u0020is\u0020set\u0020as\u0020default\u0029", "url": "classes/chillerlan-OAuth-Providers-NPROne.html#method_setAPI" - }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\NPROne\u003A\u003AgetRequestTarget\u0028\u0029", - "name": "getRequestTarget", - "summary": "", - "url": "classes/chillerlan-OAuth-Providers-NPROne.html#method_getRequestTarget" - }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\NPROne\u003A\u003AsendRequest\u0028\u0029", - "name": "sendRequest", - "summary": "", - "url": "classes/chillerlan-OAuth-Providers-NPROne.html#method_sendRequest" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\NPROne\u003A\u003Ame\u0028\u0029", "name": "me", "summary": "", "url": "classes/chillerlan-OAuth-Providers-NPROne.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\NPROne\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Providers\\NPROne\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Providers-NPROne.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Providers-NPROne.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\NPROne\u003A\u003ASCOPE_IDENTITY_READONLY", "name": "SCOPE_IDENTITY_READONLY", @@ -3226,10 +3251,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuth-Providers-Stripe.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\Stripe\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Providers\\Stripe\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Providers-Stripe.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Providers-Stripe.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Stripe\u003A\u003ASCOPE_READ_WRITE", "name": "SCOPE_READ_WRITE", @@ -3411,10 +3436,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuth-Providers-Twitch.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\Twitch\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Providers\\Twitch\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Providers-Twitch.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Providers-Twitch.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Twitch\u003A\u003ASCOPE_ANALYTICS_READ_EXTENSIONS", "name": "SCOPE_ANALYTICS_READ_EXTENSIONS", @@ -3676,10 +3701,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuth-Providers-Vimeo.html#method_me" }, { - "fqsen": "\\chillerlan\\OAuth\\Providers\\Vimeo\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuth\\Providers\\Vimeo\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuth-Providers-Vimeo.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuth-Providers-Vimeo.html#method_InvalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Vimeo\u003A\u003ASCOPE_PUBLIC", "name": "SCOPE_PUBLIC", @@ -4176,374 +4201,109 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Core-AccessTokenTest.html#property_token" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider", "name": "DummyOAuth1Provider", "summary": "An\u0020OAuth1\u0020provider\u0020implementation", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#method_InvalidateAccessToken" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003AHEADERS_AUTH", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003AHEADERS_AUTH", "name": "HEADERS_AUTH", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#constant_HEADERS_AUTH" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#constant_HEADERS_AUTH" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003AHEADERS_API", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003AHEADERS_API", "name": "HEADERS_API", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#constant_HEADERS_API" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#constant_HEADERS_API" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003A\u0024authURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003A\u0024authURL", "name": "authURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#property_authURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#property_authURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003A\u0024accessTokenURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003A\u0024accessTokenURL", "name": "accessTokenURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#property_accessTokenURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#property_accessTokenURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003A\u0024requestTokenURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003A\u0024requestTokenURL", "name": "requestTokenURL", "summary": "The\u0020request\u0020OAuth1\u0020token\u0020URL", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#property_requestTokenURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#property_requestTokenURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003A\u0024revokeURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003A\u0024revokeURL", "name": "revokeURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#property_revokeURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003A\u0024apiURL", - "name": "apiURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#property_apiURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth1Provider\u003A\u003A\u0024userRevokeURL", - "name": "userRevokeURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth1Provider.html#property_userRevokeURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2BasicProvider", - "name": "DummyOAuth2BasicProvider", - "summary": "A\u0020minimal\u0020OAuth2\u0020provider\u0020implementation", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2BasicProvider.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2BasicProvider\u003A\u003A\u0024authURL", - "name": "authURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2BasicProvider.html#property_authURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2BasicProvider\u003A\u003A\u0024accessTokenURL", - "name": "accessTokenURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2BasicProvider.html#property_accessTokenURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#property_revokeURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2BasicProvider\u003A\u003A\u0024apiURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003A\u0024apiURL", "name": "apiURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2BasicProvider.html#property_apiURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#property_apiURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2BasicProvider\u003A\u003A\u0024userRevokeURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth1Provider\u003A\u003A\u0024userRevokeURL", "name": "userRevokeURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2BasicProvider.html#property_userRevokeURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html#property_userRevokeURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider", "name": "DummyOAuth2Provider", "summary": "An\u0020OAuth2\u0020provider\u0020implementation\u0020that\u0020supports\u0020token\u0020refresh,\u0020csrf\u0020tokens\u0020and\u0020client\u0020credentials", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003AinvalidateAccessToken\u0028\u0029", - "name": "invalidateAccessToken", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003AInvalidateAccessToken\u0028\u0029", + "name": "InvalidateAccessToken", "summary": "Allows\u0020to\u0020invalidate\u0020an\u0020access\u0020token", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#method_invalidateAccessToken" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#method_InvalidateAccessToken" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003AAUTH_METHOD", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003AAUTH_METHOD", "name": "AUTH_METHOD", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#constant_AUTH_METHOD" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#constant_AUTH_METHOD" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003AHEADERS_AUTH", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003AHEADERS_AUTH", "name": "HEADERS_AUTH", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#constant_HEADERS_AUTH" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#constant_HEADERS_AUTH" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003AHEADERS_API", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003AHEADERS_API", "name": "HEADERS_API", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#constant_HEADERS_API" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#constant_HEADERS_API" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003A\u0024authURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003A\u0024authURL", "name": "authURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#property_authURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#property_authURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003A\u0024accessTokenURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003A\u0024accessTokenURL", "name": "accessTokenURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#property_accessTokenURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#property_accessTokenURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003A\u0024revokeURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003A\u0024revokeURL", "name": "revokeURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#property_revokeURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#property_revokeURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003A\u0024apiURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003A\u0024apiURL", "name": "apiURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#property_apiURL" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#property_apiURL" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2Provider\u003A\u003A\u0024userRevokeURL", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003A\u0024userRevokeURL", "name": "userRevokeURL", "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2Provider.html#property_userRevokeURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2TestBasic", - "name": "DummyOAuth2TestBasic", - "summary": "Tests\u0020a\u0020minimal\u0020OAuth2\u0020provider\u0020implementation\u0020\u0028no\u0020token\u0020refresh,\u0020no\u0020csrf,\u0020no\u0020nothing\u0029", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2TestBasic.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2TestBasic\u003A\u003AgetProviderFQCN\u0028\u0029", - "name": "getProviderFQCN", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2TestBasic.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2TestBasic\u003A\u003AtestRefreshAccessTokenException\u0028\u0029", - "name": "testRefreshAccessTokenException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2TestBasic.html#method_testRefreshAccessTokenException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2TestBasic\u003A\u003AtestGetClientCredentialsTokenException\u0028\u0029", - "name": "testGetClientCredentialsTokenException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2TestBasic.html#method_testGetClientCredentialsTokenException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2TestBasic\u003A\u003AtestCheckStateNotSupportedException\u0028\u0029", - "name": "testCheckStateNotSupportedException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2TestBasic.html#method_testCheckStateNotSupportedException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\DummyOAuth2TestBasic\u003A\u003AtestSetStateNotSupportedException\u0028\u0029", - "name": "testSetStateNotSupportedException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-DummyOAuth2TestBasic.html#method_testSetStateNotSupportedException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\OAuth1Test", - "name": "OAuth1Test", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-OAuth1Test.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\OAuth1Test\u003A\u003AgetProviderFQCN\u0028\u0029", - "name": "getProviderFQCN", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-OAuth1Test.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\OAuth2Test", - "name": "OAuth2Test", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-OAuth2Test.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\OAuth2Test\u003A\u003AgetProviderFQCN\u0028\u0029", - "name": "getProviderFQCN", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-OAuth2Test.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTest", - "name": "RequestTest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTest.html#method_setUp" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTest\u003A\u003AgetProviderFQCN\u0028\u0029", - "name": "getProviderFQCN", - "summary": "returns\u0020the\u0020fully\u0020qualified\u0020class\u0020name\u0020\u0028FQCN\u0029\u0020of\u0020the\u0020test\u0020subject", - "url": "classes/chillerlan-OAuthTest-Core-RequestTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTest\u003A\u003AtestRequestURI\u0028\u0029", - "name": "testRequestURI", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTest.html#method_testRequestURI" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTest\u003A\u003AtestRequestBody\u0028\u0029", - "name": "testRequestBody", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTest.html#method_testRequestBody" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTest\u003A\u003AtestRequestHostMismatchException\u0028\u0029", - "name": "testRequestHostMismatchException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTest.html#method_testRequestHostMismatchException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTest.html#constant_TEST_RESPONSES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTestProvider", - "name": "RequestTestProvider", - "summary": "Implements\u0020an\u0020abstract\u0020OAuth\u0020provider\u0020with\u0020all\u0020methods\u0020required\u0020by\u0020the\u0020OAuthInterface.", - "url": "classes/chillerlan-OAuthTest-Core-RequestTestProvider.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTestProvider\u003A\u003AgetAuthURL\u0028\u0029", - "name": "getAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTestProvider.html#method_getAuthURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTestProvider\u003A\u003AgetRequestAuthorization\u0028\u0029", - "name": "getRequestAuthorization", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Core-RequestTestProvider.html#method_getRequestAuthorization" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Core\\RequestTestProvider\u003A\u003A\u0024apiURL", - "name": "apiURL", - "summary": "the\u0020API\u0020base\u0020URL\u0020\u0028magic\u0029", - "url": "classes/chillerlan-OAuthTest-Core-RequestTestProvider.html#property_apiURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ChillerlanHttpClientFactory", - "name": "ChillerlanHttpClientFactory", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-ChillerlanHttpClientFactory.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ChillerlanHttpClientFactory\u003A\u003AgetClient\u0028\u0029", - "name": "getClient", - "summary": "Returns\u0020a\u0020fully\u0020prepared\u0020http\u0020client\u0020instance", - "url": "classes/chillerlan-OAuthTest-Helpers-ChillerlanHttpClientFactory.html#method_getClient" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\GuzzleHttpClientFactory", - "name": "GuzzleHttpClientFactory", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-GuzzleHttpClientFactory.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\GuzzleHttpClientFactory\u003A\u003AgetClient\u0028\u0029", - "name": "getClient", - "summary": "Returns\u0020a\u0020fully\u0020prepared\u0020http\u0020client\u0020instance", - "url": "classes/chillerlan-OAuthTest-Helpers-GuzzleHttpClientFactory.html#method_getClient" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\HTTPFactoryTrait", - "name": "HTTPFactoryTrait", - "summary": "Trait\u0020HTTPFactoryTrait", - "url": "classes/chillerlan-OAuthTest-Helpers-HTTPFactoryTrait.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\HTTPFactoryTrait\u003A\u003AinitFactories\u0028\u0029", - "name": "initFactories", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-HTTPFactoryTrait.html#method_initFactories" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\HTTPFactoryTrait\u003A\u003A\u0024FACTORIES", - "name": "FACTORIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-HTTPFactoryTrait.html#property_FACTORIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\HTTPFactoryTrait\u003A\u003A\u0024requestFactory", - "name": "requestFactory", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-HTTPFactoryTrait.html#property_requestFactory" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\HTTPFactoryTrait\u003A\u003A\u0024responseFactory", - "name": "responseFactory", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-HTTPFactoryTrait.html#property_responseFactory" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\HTTPFactoryTrait\u003A\u003A\u0024streamFactory", - "name": "streamFactory", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-HTTPFactoryTrait.html#property_streamFactory" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\HTTPFactoryTrait\u003A\u003A\u0024uriFactory", - "name": "uriFactory", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-HTTPFactoryTrait.html#property_uriFactory" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestHttpClient", - "name": "OAuthTestHttpClient", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestHttpClient.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestHttpClient\u003A\u003A__construct\u0028\u0029", - "name": "__construct", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestHttpClient.html#method___construct" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestHttpClient\u003A\u003AsendRequest\u0028\u0029", - "name": "sendRequest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestHttpClient.html#method_sendRequest" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestHttpClient\u003A\u003A\u0024http", - "name": "http", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestHttpClient.html#property_http" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestHttpClient\u003A\u003A\u0024logger", - "name": "logger", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestHttpClient.html#property_logger" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestMemoryStorage", - "name": "OAuthTestMemoryStorage", - "summary": "Extends\u0020the\u0020standard\u0020memory\u0020storage\u0020so\u0020that\u0020it\u0020also\u0020saves\u0020tokens\u0020as\u0020JSON\u0020in\u0020the\u0020given\u0020path", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestMemoryStorage\u003A\u003A__construct\u0028\u0029", - "name": "__construct", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html#method___construct" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestMemoryStorage\u003A\u003AstoreAccessToken\u0028\u0029", - "name": "storeAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html#method_storeAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestMemoryStorage\u003A\u003AgetAccessToken\u0028\u0029", - "name": "getAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html#method_getAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\OAuthTestMemoryStorage\u003A\u003A\u0024storagePath", - "name": "storagePath", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-OAuthTestMemoryStorage.html#property_storagePath" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ProviderTestHttpClient", - "name": "ProviderTestHttpClient", - "summary": "a\u0020dummy\u0020client\u0020that\u0020returns\u0020a\u0020prepared\u0020set\u0020of\u0020responses", - "url": "classes/chillerlan-OAuthTest-Helpers-ProviderTestHttpClient.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ProviderTestHttpClient\u003A\u003A__construct\u0028\u0029", - "name": "__construct", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-ProviderTestHttpClient.html#method___construct" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ProviderTestHttpClient\u003A\u003AsendRequest\u0028\u0029", - "name": "sendRequest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-ProviderTestHttpClient.html#method_sendRequest" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ProviderTestHttpClient\u003A\u003AECHO_REQUEST", - "name": "ECHO_REQUEST", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-ProviderTestHttpClient.html#constant_ECHO_REQUEST" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ProviderTestHttpClient\u003A\u003A\u0024logger", - "name": "logger", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-ProviderTestHttpClient.html#property_logger" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers\\ProviderTestHttpClient\u003A\u003A\u0024responses", - "name": "responses", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Helpers-ProviderTestHttpClient.html#property_responses" + "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#property_userRevokeURL" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\AmazonAPITest", "name": "AmazonAPITest", - "summary": "Amazon\u0020API\u0020usage\u0020tests\/examples", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\AmazonAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -4551,15 +4311,20 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\AmazonAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\AmazonAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\AmazonAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html#method_assertMeResponse" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\AmazonAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\AmazonAPITest\u003A\u003AtestMeErrorException\u0028\u0029", + "name": "testMeErrorException", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html#method_testMeErrorException" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BattleNetAPITest", "name": "BattleNetAPITest", @@ -4571,40 +4336,40 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BattleNetAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BattleNetAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BattleNetAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BattleNetAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest", "name": "BigCartelAPITest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html#method_setUp" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BigCartelAPITest\u003A\u003A\u0024account_id", "name": "account_id", @@ -4621,19 +4386,19 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BitbucketAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BitbucketAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BitbucketAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\BitbucketAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeezerAPITest", "name": "DeezerAPITest", - "summary": "Spotify\u0020API\u0020usage\u0020tests\/examples", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeezerAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -4641,15 +4406,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeezerAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeezerAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeezerAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeezerAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeviantArtAPITest", "name": "DeviantArtAPITest", @@ -4661,19 +4426,19 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeviantArtAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeviantArtAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeviantArtAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DeviantArtAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscogsAPITest", "name": "DiscogsAPITest", - "summary": "Discogs\u0020API\u0020test", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscogsAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -4681,15 +4446,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscogsAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscogsAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscogsAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscogsAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscordAPITest", "name": "DiscordAPITest", @@ -4701,45 +4466,45 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscordAPITest\u003A\u003AtestRequestCredentialsToken\u0028\u0029", - "name": "testRequestCredentialsToken", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscordAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html#method_testRequestCredentialsToken" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscordAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscordAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html#method_assertMeResponse" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscordAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\DiscordAPITest\u003A\u003AtestRequestCredentialsToken\u0028\u0029", + "name": "testRequestCredentialsToken", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html#method_testRequestCredentialsToken" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest", "name": "FlickrAPITest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html#method_setUp" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FlickrAPITest\u003A\u003A\u0024test_name", "name": "test_name", @@ -4753,7 +4518,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FoursquareAPITest", "name": "FoursquareAPITest", - "summary": "Foursquare\u0020API\u0020usage\u0020tests\/examples", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FoursquareAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -4761,15 +4526,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FoursquareAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FoursquareAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FoursquareAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\FoursquareAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitHubAPITest", "name": "GitHubAPITest", @@ -4781,15 +4546,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitHubAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitHubAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitHubAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitHubAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitLabAPITest", "name": "GitLabAPITest", @@ -4801,19 +4566,19 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitLabAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitLabAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitLabAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GitLabAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GoogleAPITest", "name": "GoogleAPITest", - "summary": "Google\u0020API\u0020usage\u0020tests\/examples", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GoogleAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -4821,40 +4586,40 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GoogleAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GoogleAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GoogleAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GoogleAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest", "name": "GuildWars2APITest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html#method_setUp" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html#method_setUp" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\GuildWars2APITest\u003A\u003A\u0024token", "name": "token", @@ -4870,55 +4635,55 @@ Search.appendIndex( "name": "ImgurAPITest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\ImgurAPITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html#method_setUp" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\ImgurAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\ImgurAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\ImgurAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\ImgurAPITest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\ImgurAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\ImgurAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest", "name": "LastFMAPITest", - "summary": "last.fm\u0020API\u0020test\u0020\u0026\u0020examples", - "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html#method_setUp" + "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\LastFMAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest", "name": "MailChimpAPITest", - "summary": "MailChimp\u0020API\u0020usage\u0020tests\/examples", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -4926,45 +4691,45 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest\u003A\u003AtestGetTokenMetadata\u0028\u0029", - "name": "testGetTokenMetadata", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html#method_testGetTokenMetadata" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html#method_assertMeResponse" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MailChimpAPITest\u003A\u003AtestGetTokenMetadata\u0028\u0029", + "name": "testGetTokenMetadata", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html#method_testGetTokenMetadata" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest", "name": "MastodonAPITest", - "summary": "Spotify\u0020API\u0020usage\u0020tests\/examples", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html#method_setUp" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MastodonAPITest\u003A\u003A\u0024testInstance", "name": "testInstance", @@ -4981,15 +4746,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MicrosoftGraphAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MicrosoftGraphAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MicrosoftGraphAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MicrosoftGraphAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MixcloudAPITest", "name": "MixcloudAPITest", @@ -5001,15 +4766,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MixcloudAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MixcloudAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MixcloudAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MixcloudAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MusicBrainzAPITest", "name": "MusicBrainzAPITest", @@ -5020,6 +4785,26 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html#method_getProviderFQCN" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MusicBrainzAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MusicBrainzAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html#method_assertMeResponse" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MusicBrainzAPITest\u003A\u003AtestMe\u0028\u0029", + "name": "testMe", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html#method_testMe" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MusicBrainzAPITest\u003A\u003AtestMeErrorException\u0028\u0029", + "name": "testMeErrorException", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html#method_testMeErrorException" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MusicBrainzAPITest\u003A\u003AtestArtistId\u0028\u0029", "name": "testArtistId", @@ -5030,11 +4815,6 @@ Search.appendIndex( "name": "testArtistIdXML", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html#method_testArtistIdXML" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\MusicBrainzAPITest\u003A\u003A\u0024ENV", - "name": "ENV", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html#property_ENV" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\NPROneAPITest", "name": "NPROneAPITest", @@ -5046,20 +4826,60 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\NPROneAPITest\u003A\u003ArequestTargetProvider\u0028\u0029", - "name": "requestTargetProvider", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\NPROneAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\NPROneAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html#method_assertMeResponse" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuth1ProviderLiveTestAbstract", + "name": "OAuth1ProviderLiveTestAbstract", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuth2ProviderLiveTestAbstract", + "name": "OAuth2ProviderLiveTestAbstract", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuth2ProviderLiveTestAbstract\u003A\u003AtestRequestCredentialsToken\u0028\u0029", + "name": "testRequestCredentialsToken", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html#method_testRequestCredentialsToken" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuth2ProviderLiveTestAbstract\u003A\u003A\u0024clientCredentialsScopes", + "name": "clientCredentialsScopes", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html#property_clientCredentialsScopes" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuthProviderLiveTestAbstract", + "name": "OAuthProviderLiveTestAbstract", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html#method_requestTargetProvider" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\NPROneAPITest\u003A\u003AtestMe\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuthProviderLiveTestAbstract\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html#method_assertMeResponse" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuthProviderLiveTestAbstract\u003A\u003AtestMe\u0028\u0029", "name": "testMe", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html#method_testMe" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\NPROneAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuthProviderLiveTestAbstract\u003A\u003AassertMeErrorException\u0028\u0029", + "name": "assertMeErrorException", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html#method_assertMeErrorException" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OAuthProviderLiveTestAbstract\u003A\u003AtestMeErrorException\u0028\u0029", + "name": "testMeErrorException", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html#method_testMeErrorException" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenCachingAPITest", "name": "OpenCachingAPITest", @@ -5071,15 +4891,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenCachingAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenCachingAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenCachingAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenCachingAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmap2APITest", "name": "OpenStreetmap2APITest", @@ -5091,15 +4911,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmap2APITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmap2APITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmap2APITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmap2APITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmapAPITest", "name": "OpenStreetmapAPITest", @@ -5111,65 +4931,35 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmapAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html#method_testMe" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmapAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmapAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon1APITest", - "name": "Patreon1APITest", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\OpenStreetmapAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html" + "url": "classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html#method_assertMeResponse" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon1APITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PatreonAPITest", + "name": "PatreonAPITest", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html#method_setUp" + "url": "classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon1APITest\u003A\u003AgetProviderFQCN\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PatreonAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon1APITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon1APITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PatreonAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon1APITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon2APITest", - "name": "Patreon2APITest", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PatreonAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon2APITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html#method_setUp" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon2APITest\u003A\u003AgetProviderFQCN\u0028\u0029", - "name": "getProviderFQCN", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon2APITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html#method_testMe" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Patreon2APITest\u003A\u003A\u0024ENV", - "name": "ENV", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Patreon2APITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PayPalAPITest", "name": "PayPalAPITest", @@ -5181,15 +4971,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PayPalAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PayPalAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PayPalAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\PayPalAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SlackAPITest", "name": "SlackAPITest", @@ -5201,15 +4991,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SlackAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SlackAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SlackAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SlackAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SoundcloudAPITest", "name": "SoundcloudAPITest", @@ -5221,24 +5011,24 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SoundcloudAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SoundcloudAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SoundcloudAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SoundcloudAPITest\u003A\u003AtestRequestCredentialsToken\u0028\u0029", "name": "testRequestCredentialsToken", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html#method_testRequestCredentialsToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SoundcloudAPITest\u003A\u003A\u0024ENV", - "name": "ENV", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html#property_ENV" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SpotifyAPITest", "name": "SpotifyAPITest", - "summary": "Spotify\u0020API\u0020usage\u0020tests\/examples", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SpotifyAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -5246,35 +5036,50 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SpotifyAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SpotifyAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SpotifyAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SpotifyAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest", "name": "SteamOpenIDAPITest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", + "name": "getProviderFQCN", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#method_getProviderFQCN" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#method_getEnvPrefix" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003AsetUp\u0028\u0029", "name": "setUp", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", - "name": "getProviderFQCN", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#method_getProviderFQCN" + "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#method_assertMeResponse" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003AtestMe\u0028\u0029", + "name": "testMe", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#method_testMe" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003AtestMeErrorException\u0028\u0029", + "name": "testMeErrorException", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-SteamOpenIDAPITest.html#method_testMeErrorException" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\SteamOpenIDAPITest\u003A\u003A\u0024id", "name": "id", @@ -5283,7 +5088,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\StripeAPITest", "name": "StripeAPITest", - "summary": "Stripe\u0020API\u0020usage\u0020tests\/examples", + "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\StripeAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", @@ -5291,15 +5096,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\StripeAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\StripeAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\StripeAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\StripeAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Tumblr2APITest", "name": "Tumblr2APITest", @@ -5311,15 +5116,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Tumblr2APITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Tumblr2APITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Tumblr2APITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\Tumblr2APITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TumblrAPITest", "name": "TumblrAPITest", @@ -5331,20 +5136,20 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TumblrAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TumblrAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TumblrAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TumblrAPITest\u003A\u003AtestTokenExchange\u0028\u0029", "name": "testTokenExchange", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html#method_testTokenExchange" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TumblrAPITest\u003A\u003A\u0024ENV", - "name": "ENV", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html#property_ENV" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitchAPITest", "name": "TwitchAPITest", @@ -5356,40 +5161,40 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitchAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitchAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitchAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitchAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest", "name": "TwitterAPITest", - "summary": "Twitter\u0020API\u0020tests\u0020\u0026\u0020examples", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html#method_setUp" + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterAPITest\u003A\u003A\u0024screen_name", "name": "screen_name", @@ -5410,16 +5215,26 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html#method_getProviderFQCN" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterCCAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html#method_getEnvPrefix" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterCCAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html#method_assertMeResponse" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterCCAPITest\u003A\u003AtestMe\u0028\u0029", + "name": "testMe", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html#method_testMe" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterCCAPITest\u003A\u003AtestMeErrorException\u0028\u0029", "name": "testMeErrorException", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html#method_testMeErrorException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\TwitterCCAPITest\u003A\u003A\u0024ENV", - "name": "ENV", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html#property_ENV" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\VimeoAPITest", "name": "VimeoAPITest", @@ -5431,15 +5246,15 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\VimeoAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\VimeoAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\VimeoAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\VimeoAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html#method_assertMeResponse" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\WordpressAPITest", "name": "WordpressAPITest", @@ -5451,420 +5266,220 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\WordpressAPITest\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\WordpressAPITest\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\WordpressAPITest\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live\\WordpressAPITest\u003A\u003AassertMeResponse\u0028\u0029", + "name": "assertMeResponse", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html#method_assertMeResponse" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1APITestAbstract", - "name": "OAuth1APITestAbstract", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract", + "name": "ProviderLiveTestAbstract", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1APITestAbstract.html" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1APITestAbstract\u003A\u003AtestOAuth1Instance\u0028\u0029", - "name": "testOAuth1Instance", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1APITestAbstract.html#method_testOAuth1Instance" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract", - "name": "OAuth1ProviderTestAbstract", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AsetUp\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003AsetUp\u0028\u0029", "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_setUp" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestOAuth1Instance\u0028\u0029", - "name": "testOAuth1Instance", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testOAuth1Instance" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestGetAuthURL\u0028\u0029", - "name": "testGetAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testGetAuthURL" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestGetSignature\u0028\u0029", - "name": "testGetSignature", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testGetSignature" + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003AgetEnvPrefix\u0028\u0029", + "name": "getEnvPrefix", + "summary": "returns\u0020the\u0020prefix\u0020in\u0020the\u0020.env\u0020file\u0020for\u0020the\u0020current\u0020provider", + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#method_getEnvPrefix" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestGetSignatureInvalidURLException\u0028\u0029", - "name": "testGetSignatureInvalidURLException", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003AinitEnvConfig\u0028\u0029", + "name": "initEnvConfig", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testGetSignatureInvalidURLException" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#method_initEnvConfig" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestGetAccessToken\u0028\u0029", - "name": "testGetAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testGetAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestParseTokenResponseNoDataException\u0028\u0029", - "name": "testParseTokenResponseNoDataException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testParseTokenResponseNoDataException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestParseTokenResponseErrorException\u0028\u0029", - "name": "testParseTokenResponseErrorException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testParseTokenResponseErrorException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestParseTokenResponseNoTokenException\u0028\u0029", - "name": "testParseTokenResponseNoTokenException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testParseTokenResponseNoTokenException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestParseTokenResponseCallbackUnconfirmedException\u0028\u0029", - "name": "testParseTokenResponseCallbackUnconfirmedException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testParseTokenResponseCallbackUnconfirmedException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestGetRequestAuthorization\u0028\u0029", - "name": "testGetRequestAuthorization", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testGetRequestAuthorization" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003AtestRequest\u0028\u0029", - "name": "testRequest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#method_testRequest" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth1ProviderTestAbstract\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth1ProviderTestAbstract.html#constant_TEST_RESPONSES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2APITestAbstract", - "name": "OAuth2APITestAbstract", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2APITestAbstract.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2APITestAbstract\u003A\u003AtestOAuth2Instance\u0028\u0029", - "name": "testOAuth2Instance", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2APITestAbstract.html#method_testOAuth2Instance" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2APITestAbstract\u003A\u003AtestRequestCredentialsToken\u0028\u0029", - "name": "testRequestCredentialsToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2APITestAbstract.html#method_testRequestCredentialsToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2APITestAbstract\u003A\u003A\u0024clientCredentialsScopes", - "name": "clientCredentialsScopes", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2APITestAbstract.html#property_clientCredentialsScopes" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract", - "name": "OAuth2ProviderTestAbstract", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_setUp" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestOAuth2Instance\u0028\u0029", - "name": "testOAuth2Instance", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testOAuth2Instance" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestGetAuthURL\u0028\u0029", - "name": "testGetAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testGetAuthURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestGetAccessToken\u0028\u0029", - "name": "testGetAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testGetAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestParseTokenResponseNoDataException\u0028\u0029", - "name": "testParseTokenResponseNoDataException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testParseTokenResponseNoDataException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestParseTokenResponseErrorException\u0028\u0029", - "name": "testParseTokenResponseErrorException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testParseTokenResponseErrorException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestParseTokenResponseNoTokenException\u0028\u0029", - "name": "testParseTokenResponseNoTokenException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testParseTokenResponseNoTokenException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestGetRequestAuthorization\u0028\u0029", - "name": "testGetRequestAuthorization", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testGetRequestAuthorization" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestRequest\u0028\u0029", - "name": "testRequest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testRequest" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestCheckCSRFState\u0028\u0029", - "name": "testCheckCSRFState", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testCheckCSRFState" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestCheckStateInvalidException\u0028\u0029", - "name": "testCheckStateInvalidException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testCheckStateInvalidException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestCheckStateInvalidCSRFStateException\u0028\u0029", - "name": "testCheckStateInvalidCSRFStateException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testCheckStateInvalidCSRFStateException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestRefreshAccessTokenNoRefreshTokenAvailable\u0028\u0029", - "name": "testRefreshAccessTokenNoRefreshTokenAvailable", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testRefreshAccessTokenNoRefreshTokenAvailable" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestRefreshAccessToken\u0028\u0029", - "name": "testRefreshAccessToken", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003AinitOptions\u0028\u0029", + "name": "initOptions", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testRefreshAccessToken" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#method_initOptions" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestRequestWithTokenRefresh\u0028\u0029", - "name": "testRequestWithTokenRefresh", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003AinitStorage\u0028\u0029", + "name": "initStorage", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testRequestWithTokenRefresh" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#method_initStorage" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003AtestGetClientCredentials\u0028\u0029", - "name": "testGetClientCredentials", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003A\u0024HTTP_CLIENT_FACTORY", + "name": "HTTP_CLIENT_FACTORY", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#method_testGetClientCredentials" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#property_HTTP_CLIENT_FACTORY" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003A\u0024dotEnv", + "name": "dotEnv", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#constant_TEST_PROPERTIES" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#property_dotEnv" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuth2ProviderTestAbstract\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003A\u0024ENV_PREFIX", + "name": "ENV_PREFIX", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuth2ProviderTestAbstract.html#constant_TEST_RESPONSES" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#property_ENV_PREFIX" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract", - "name": "OAuthAPITestAbstract", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003A\u0024CFG_DIR", + "name": "CFG_DIR", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#property_CFG_DIR" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#method_setUp" + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestAbstract\u003A\u003A\u0024TEST_USER", + "name": "TEST_USER", + "summary": "a\u0020test\u0020username\u0020for\u0020live\u0020API\u0020tests,\u0020defined\u0020in\u0020.env\u0020as\u0020\u007BENV\u002DPREFIX\u007D_TESTUSER", + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html#property_TEST_USER" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003AinitOptions\u0028\u0029", - "name": "initOptions", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestHttpClientFactory", + "name": "ProviderLiveTestHttpClientFactory", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#method_initOptions" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestHttpClientFactory.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003AinitStorage\u0028\u0029", - "name": "initStorage", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestHttpClientFactory\u003A\u003AgetClient\u0028\u0029", + "name": "getClient", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#method_initStorage" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestHttpClientFactory.html#method_getClient" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003AinitHttp\u0028\u0029", - "name": "initHttp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#method_initHttp" + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestMemoryStorage", + "name": "ProviderLiveTestMemoryStorage", + "summary": "Extends\u0020the\u0020standard\u0020memory\u0020storage\u0020so\u0020that\u0020it\u0020also\u0020saves\u0020tokens\u0020as\u0020JSON\u0020in\u0020the\u0020given\u0020path", + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003AtestTokenInvalidate\u0028\u0029", - "name": "testTokenInvalidate", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestMemoryStorage\u003A\u003A__construct\u0028\u0029", + "name": "__construct", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#method_testTokenInvalidate" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html#method___construct" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003AtestMe\u0028\u0029", - "name": "testMe", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestMemoryStorage\u003A\u003AstoreAccessToken\u0028\u0029", + "name": "storeAccessToken", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#method_testMe" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html#method_storeAccessToken" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003AtestMeErrorException\u0028\u0029", - "name": "testMeErrorException", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestMemoryStorage\u003A\u003AgetAccessToken\u0028\u0029", + "name": "getAccessToken", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#method_testMeErrorException" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html#method_getAccessToken" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003A\u0024dotEnv", - "name": "dotEnv", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderLiveTestMemoryStorage\u003A\u003A\u0024storagePath", + "name": "storagePath", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#property_dotEnv" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderLiveTestMemoryStorage.html#property_storagePath" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003A\u0024ENV", - "name": "ENV", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderTestLoggerFactory", + "name": "ProviderTestLoggerFactory", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#property_ENV" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderTestLoggerFactory.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003A\u0024CFG", - "name": "CFG", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderTestLoggerFactory\u003A\u003AgetLogger\u0028\u0029", + "name": "getLogger", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#property_CFG" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderTestLoggerFactory.html#method_getLogger" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthAPITestAbstract\u003A\u003A\u0024testuser", - "name": "testuser", - "summary": "a\u0020test\u0020username\u0020for\u0020live\u0020API\u0020tests,\u0020defined\u0020in\u0020.env\u0020as\u0020\u007BENV\u002DPREFIX\u007D_TESTUSER", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthAPITestAbstract.html#property_testuser" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract", - "name": "OAuthProviderTestAbstract", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract", + "name": "ProviderUnitTestAbstract", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AsetUp\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AsetUp\u0028\u0029", "name": "setUp", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_setUp" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_setUp" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AgetProviderFQCN\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "returns\u0020the\u0020fully\u0020qualified\u0020class\u0020name\u0020\u0028FQCN\u0029\u0020of\u0020the\u0020test\u0020subject", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AinitLogger\u0028\u0029", - "name": "initLogger", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_initLogger" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AinitOptions\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AinitOptions\u0028\u0029", "name": "initOptions", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_initOptions" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_initOptions" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AinitStorage\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AinitStorage\u0028\u0029", "name": "initStorage", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_initStorage" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AinitHttp\u0028\u0029", - "name": "initHttp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_initHttp" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_initStorage" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AinitProvider\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AinitProvider\u0028\u0029", "name": "initProvider", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_initProvider" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_initProvider" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AinitTestProperties\u0028\u0029", - "name": "initTestProperties", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AinvokeReflection\u0028\u0029", + "name": "invokeReflection", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_initTestProperties" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_invokeReflection" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AsetReflectionProperty\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AsetReflectionProperty\u0028\u0029", "name": "setReflectionProperty", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_setReflectionProperty" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_setReflectionProperty" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AgetReflectionProperty\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AgetReflectionProperty\u0028\u0029", "name": "getReflectionProperty", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_getReflectionProperty" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_getReflectionProperty" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AinvokeReflectionMethod\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003AinvokeReflectionMethod\u0028\u0029", "name": "invokeReflectionMethod", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_invokeReflectionMethod" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#method_invokeReflectionMethod" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AtestOAuthInstance\u0028\u0029", - "name": "testOAuthInstance", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003APROJECT_ROOT", + "name": "PROJECT_ROOT", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_testOAuthInstance" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#constant_PROJECT_ROOT" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AtestProviderInstance\u0028\u0029", - "name": "testProviderInstance", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003ACACERT", + "name": "CACERT", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_testProviderInstance" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#constant_CACERT" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AtestMagicGet\u0028\u0029", - "name": "testMagicGet", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_testMagicGet" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AtestTokenInvalidate\u0028\u0029", - "name": "testTokenInvalidate", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_testTokenInvalidate" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003ArequestTargetProvider\u0028\u0029", - "name": "requestTargetProvider", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_requestTargetProvider" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003AtestGetRequestTarget\u0028\u0029", - "name": "testGetRequestTarget", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#method_testGetRequestTarget" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#constant_TEST_RESPONSES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003A\u0024is_ci", - "name": "is_ci", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003A\u0024logger", + "name": "logger", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#property_is_ci" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#property_logger" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003A\u0024http", - "name": "http", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003A\u0024options", + "name": "options", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#property_http" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#property_options" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003A\u0024logger", - "name": "logger", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003A\u0024storage", + "name": "storage", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#property_logger" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#property_storage" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003A\u0024options", - "name": "options", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003A\u0024provider", + "name": "provider", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#property_options" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#property_provider" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003A\u0024provider", - "name": "provider", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003A\u0024reflection", + "name": "reflection", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#property_provider" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#property_reflection" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003A\u0024storage", - "name": "storage", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003A\u0024HTTP_CLIENT_FACTORY", + "name": "HTTP_CLIENT_FACTORY", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#property_storage" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#property_HTTP_CLIENT_FACTORY" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthProviderTestAbstract\u003A\u003A\u0024reflection", - "name": "reflection", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestAbstract\u003A\u003A\u0024ENV_IS_CI", + "name": "ENV_IS_CI", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthProviderTestAbstract.html#property_reflection" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html#property_ENV_IS_CI" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthTestHttpClientFactoryInterface", - "name": "OAuthTestHttpClientFactoryInterface", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestHttpClientFactory", + "name": "ProviderUnitTestHttpClientFactory", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthTestHttpClientFactoryInterface.html" + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestHttpClientFactory.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\OAuthTestHttpClientFactoryInterface\u003A\u003AgetClient\u0028\u0029", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\ProviderUnitTestHttpClientFactory\u003A\u003AgetClient\u0028\u0029", "name": "getClient", - "summary": "Returns\u0020a\u0020fully\u0020prepared\u0020http\u0020client\u0020instance", - "url": "classes/chillerlan-OAuthTest-Providers-OAuthTestHttpClientFactoryInterface.html#method_getClient" + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-ProviderUnitTestHttpClientFactory.html#method_getClient" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\AmazonTest", "name": "AmazonTest", @@ -5895,6 +5510,16 @@ Search.appendIndex( "name": "testSetRegionException", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html#method_testSetRegionException" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\BattleNetTest\u003A\u003ArequestTargetProvider\u0028\u0029", + "name": "requestTargetProvider", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html#method_requestTargetProvider" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\BattleNetTest\u003A\u003AtestGetRequestTarget\u0028\u0029", + "name": "testGetRequestTarget", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html#method_testGetRequestTarget" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\BigCartelTest", "name": "BigCartelTest", @@ -5906,10 +5531,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\BigCartelTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\BigCartelTest\u003A\u003AtestTokenInvalidate\u0028\u0029", + "name": "testTokenInvalidate", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html#constant_TEST_RESPONSES" + "url": "classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html#method_testTokenInvalidate" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\BitbucketTest", "name": "BitbucketTest", @@ -5930,41 +5555,6 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeezerTest\u003A\u003AtestGetAuthURL\u0028\u0029", - "name": "testGetAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#method_testGetAuthURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeezerTest\u003A\u003AtestParseTokenResponse\u0028\u0029", - "name": "testParseTokenResponse", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#method_testParseTokenResponse" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeezerTest\u003A\u003AtestParseTokenResponseErrorException\u0028\u0029", - "name": "testParseTokenResponseErrorException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#method_testParseTokenResponseErrorException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeezerTest\u003A\u003AtestParseTokenResponseNoDataException\u0028\u0029", - "name": "testParseTokenResponseNoDataException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#method_testParseTokenResponseNoDataException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeezerTest\u003A\u003AtestGetAccessToken\u0028\u0029", - "name": "testGetAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#method_testGetAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeezerTest\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeezerTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html#constant_TEST_RESPONSES" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeviantArtTest", "name": "DeviantArtTest", @@ -5976,10 +5566,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeviantArtTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DeviantArtTest\u003A\u003AtestTokenInvalidate\u0028\u0029", + "name": "testTokenInvalidate", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html#constant_TEST_RESPONSES" + "url": "classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html#method_testTokenInvalidate" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\DiscogsTest", "name": "DiscogsTest", @@ -6010,16 +5600,6 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\FlickrTest\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\FlickrTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html#constant_TEST_RESPONSES" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\FoursquareTest", "name": "FoursquareTest", @@ -6070,46 +5650,6 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003AtestStoreGW2Token\u0028\u0029", - "name": "testStoreGW2Token", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#method_testStoreGW2Token" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003AtestStoreGW2InvalidToken\u0028\u0029", - "name": "testStoreGW2InvalidToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#method_testStoreGW2InvalidToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003AtestGetAuthURL\u0028\u0029", - "name": "testGetAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#method_testGetAuthURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003AtestGetAccessToken\u0028\u0029", - "name": "testGetAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#method_testGetAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003AtestRequestGetAuthURLNotSupportedException\u0028\u0029", - "name": "testRequestGetAuthURLNotSupportedException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#method_testRequestGetAuthURLNotSupportedException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003AtestRequestGetAccessTokenNotSupportedException\u0028\u0029", - "name": "testRequestGetAccessTokenNotSupportedException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#method_testRequestGetAccessTokenNotSupportedException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\GuildWars2Test\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html#constant_TEST_RESPONSES" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\ImgurTest", "name": "ImgurTest", @@ -6125,111 +5665,21 @@ Search.appendIndex( "name": "LastFMTest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_setUp" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", - "summary": "returns\u0020the\u0020fully\u0020qualified\u0020class\u0020name\u0020\u0028FQCN\u0029\u0020of\u0020the\u0020test\u0020subject", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestGetAuthURL\u0028\u0029", - "name": "testGetAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testGetAuthURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestGetSignature\u0028\u0029", - "name": "testGetSignature", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testGetSignature" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestParseTokenResponse\u0028\u0029", - "name": "testParseTokenResponse", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testParseTokenResponse" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestParseTokenResponseNoData\u0028\u0029", - "name": "testParseTokenResponseNoData", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testParseTokenResponseNoData" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestParseTokenResponseError\u0028\u0029", - "name": "testParseTokenResponseError", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testParseTokenResponseError" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestParseTokenResponseNoToken\u0028\u0029", - "name": "testParseTokenResponseNoToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testParseTokenResponseNoToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestGetAccessToken\u0028\u0029", - "name": "testGetAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testGetAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestRequest\u0028\u0029", - "name": "testRequest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testRequest" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003AtestRequestPost\u0028\u0029", - "name": "testRequestPost", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_testRequestPost" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\LastFMTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#constant_TEST_RESPONSES" + "url": "classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html#method_getProviderFQCN" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest", "name": "MailChimpTest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html#method_setUp" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest\u003A\u003AtestRequest\u0028\u0029", - "name": "testRequest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html#method_testRequest" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest\u003A\u003AtestGetTokenMetadata\u0028\u0029", - "name": "testGetTokenMetadata", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html#method_testGetTokenMetadata" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html#constant_TEST_RESPONSES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MailChimpTest\u003A\u003A\u0024token", - "name": "token", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html#property_token" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MastodonTest", "name": "MastodonTest", @@ -6240,11 +5690,6 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MastodonTest\u003A\u003AtestGetAuthURL\u0028\u0029", - "name": "testGetAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html#method_testGetAuthURL" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\MastodonTest\u003A\u003AtestSetInvalidInstance\u0028\u0029", "name": "testSetInvalidInstance", @@ -6290,26 +5735,146 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\NPROneTest\u003A\u003ArequestTargetProvider\u0028\u0029", - "name": "requestTargetProvider", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html#method_requestTargetProvider" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\NPROneTest\u003A\u003AtestSetAPI\u0028\u0029", "name": "testSetAPI", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html#method_testSetAPI" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\NPROneTest\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1ProviderUnitTestAbstract", + "name": "OAuth1ProviderUnitTestAbstract", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1ProviderUnitTestAbstract\u003A\u003AtestOAuth1Instance\u0028\u0029", + "name": "testOAuth1Instance", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html#method_testOAuth1Instance" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1ProviderUnitTestAbstract\u003A\u003AtestGetRequestAuthorization\u0028\u0029", + "name": "testGetRequestAuthorization", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html#method_testGetRequestAuthorization" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1ProviderUnitTestAbstract\u003A\u003AtestGetSignature\u0028\u0029", + "name": "testGetSignature", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html#method_testGetSignature" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1ProviderUnitTestAbstract\u003A\u003AtestGetSignatureInvalidURLException\u0028\u0029", + "name": "testGetSignatureInvalidURLException", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html#method_testGetSignatureInvalidURLException" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1ProviderUnitTestAbstract\u003A\u003A\u0024provider", + "name": "provider", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html#property_provider" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1Test", + "name": "OAuth1Test", + "summary": "The\u0020built\u002Din\u0020dummy\u0020test\u0020for\u0020OAuth1", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth1Test\u003A\u003AgetProviderFQCN\u0028\u0029", + "name": "getProviderFQCN", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html#method_getProviderFQCN" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract", + "name": "OAuth2ProviderUnitTestAbstract", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract\u003A\u003AtestOAuth2Instance\u0028\u0029", + "name": "testOAuth2Instance", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html#method_testOAuth2Instance" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract\u003A\u003AtestGetRequestAuthorization\u0028\u0029", + "name": "testGetRequestAuthorization", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html#method_testGetRequestAuthorization" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract\u003A\u003AtestCheckCSRFState\u0028\u0029", + "name": "testCheckCSRFState", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html#method_testCheckCSRFState" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract\u003A\u003AtestCheckCSRFStateEmptyException\u0028\u0029", + "name": "testCheckCSRFStateEmptyException", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html#method_testCheckCSRFStateEmptyException" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract\u003A\u003AtestCheckCSRFStateInvalidStateException\u0028\u0029", + "name": "testCheckCSRFStateInvalidStateException", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html#method_testCheckCSRFStateInvalidStateException" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract\u003A\u003AtestRefreshAccessTokenNoRefreshTokenAvailable\u0028\u0029", + "name": "testRefreshAccessTokenNoRefreshTokenAvailable", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html#method_testRefreshAccessTokenNoRefreshTokenAvailable" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2ProviderUnitTestAbstract\u003A\u003A\u0024provider", + "name": "provider", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html#property_provider" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2Test", + "name": "OAuth2Test", + "summary": "The\u0020built\u002Din\u0020dummy\u0020test\u0020for\u0020OAuth2", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuth2Test\u003A\u003AgetProviderFQCN\u0028\u0029", + "name": "getProviderFQCN", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html#method_getProviderFQCN" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract", + "name": "OAuthProviderUnitTestAbstract", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003AtestOAuthInstance\u0028\u0029", + "name": "testOAuthInstance", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_testOAuthInstance" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003AtestProviderInstance\u0028\u0029", + "name": "testProviderInstance", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_testProviderInstance" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003AtestMagicGet\u0028\u0029", + "name": "testMagicGet", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html#constant_TEST_PROPERTIES" + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_testMagicGet" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\NPROneTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003ArequestTargetProvider\u0028\u0029", + "name": "requestTargetProvider", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html#constant_TEST_RESPONSES" + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_requestTargetProvider" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003AtestGetRequestTarget\u0028\u0029", + "name": "testGetRequestTarget", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_testGetRequestTarget" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003AtestGetRequestTargetInvalidSchemeException\u0028\u0029", + "name": "testGetRequestTargetInvalidSchemeException", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_testGetRequestTargetInvalidSchemeException" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003AtestGetRequestTargetProviderMismatchException\u0028\u0029", + "name": "testGetRequestTargetProviderMismatchException", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_testGetRequestTargetProviderMismatchException" + }, { + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OAuthProviderUnitTestAbstract\u003A\u003AtestTokenInvalidate\u0028\u0029", + "name": "testTokenInvalidate", + "summary": "", + "url": "classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html#method_testTokenInvalidate" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\OpenCachingTest", "name": "OpenCachingTest", @@ -6405,66 +5970,11 @@ Search.appendIndex( "name": "SteamOpenIDTest", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AsetUp\u0028\u0029", - "name": "setUp", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_setUp" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AgetProviderFQCN\u0028\u0029", "name": "getProviderFQCN", - "summary": "returns\u0020the\u0020fully\u0020qualified\u0020class\u0020name\u0020\u0028FQCN\u0029\u0020of\u0020the\u0020test\u0020subject", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AtestGetAuthURL\u0028\u0029", - "name": "testGetAuthURL", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_testGetAuthURL" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AtestGetAccessToken\u0028\u0029", - "name": "testGetAccessToken", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_testGetAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AtestParseTokenResponse\u0028\u0029", - "name": "testParseTokenResponse", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_testParseTokenResponse" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AtestParseTokenResponseNoData\u0028\u0029", - "name": "testParseTokenResponseNoData", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_testParseTokenResponseNoData" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AtestParseTokenResponseInvalidID\u0028\u0029", - "name": "testParseTokenResponseInvalidID", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_testParseTokenResponseInvalidID" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AtestRequest\u0028\u0029", - "name": "testRequest", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_testRequest" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AID_VALID", - "name": "ID_VALID", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#constant_ID_VALID" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003AID_INVALID", - "name": "ID_INVALID", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#constant_ID_INVALID" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003ATEST_PROPERTIES", - "name": "TEST_PROPERTIES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#constant_TEST_PROPERTIES" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\SteamOpenIDTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#constant_TEST_RESPONSES" + "url": "classes/chillerlan-OAuthTest-Providers-Unit-SteamOpenIDTest.html#method_getProviderFQCN" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\StripeTest", "name": "StripeTest", @@ -6505,11 +6015,6 @@ Search.appendIndex( "name": "getProviderFQCN", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html#method_getProviderFQCN" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\TwitchTest\u003A\u003AtestRequestInvalidAuthTypeException\u0028\u0029", - "name": "testRequestInvalidAuthTypeException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html#method_testRequestInvalidAuthTypeException" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\TwitterCCTest", "name": "TwitterCCTest", @@ -6530,16 +6035,6 @@ Search.appendIndex( "name": "testGetAccessToken", "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html#method_testGetAccessToken" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\TwitterCCTest\u003A\u003AtestRequestGetAuthURLNotSupportedException\u0028\u0029", - "name": "testRequestGetAuthURLNotSupportedException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html#method_testRequestGetAuthURLNotSupportedException" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\TwitterCCTest\u003A\u003AtestRequestGetAccessTokenNotSupportedException\u0028\u0029", - "name": "testRequestGetAccessTokenNotSupportedException", - "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html#method_testRequestGetAccessTokenNotSupportedException" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\TwitterTest", "name": "TwitterTest", @@ -6561,10 +6056,10 @@ Search.appendIndex( "summary": "", "url": "classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html#method_getProviderFQCN" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\VimeoTest\u003A\u003ATEST_RESPONSES", - "name": "TEST_RESPONSES", + "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\VimeoTest\u003A\u003AtestTokenInvalidate\u0028\u0029", + "name": "testTokenInvalidate", "summary": "", - "url": "classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html#constant_TEST_RESPONSES" + "url": "classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html#method_testTokenInvalidate" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit\\WordPressTest", "name": "WordPressTest", @@ -6711,20 +6206,15 @@ Search.appendIndex( "summary": "", "url": "namespaces/chillerlan-oauthtest.html" }, { - "fqsen": "\\chillerlan\\OAuthTest\\Helpers", - "name": "Helpers", + "fqsen": "\\chillerlan\\OAuthTest\\Providers", + "name": "Providers", "summary": "", - "url": "namespaces/chillerlan-oauthtest-helpers.html" + "url": "namespaces/chillerlan-oauthtest-providers.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Live", "name": "Live", "summary": "", "url": "namespaces/chillerlan-oauthtest-providers-live.html" - }, { - "fqsen": "\\chillerlan\\OAuthTest\\Providers", - "name": "Providers", - "summary": "", - "url": "namespaces/chillerlan-oauthtest-providers.html" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\Unit", "name": "Unit", diff --git a/namespaces/chillerlan-oauth-core.html b/namespaces/chillerlan-oauth-core.html index 0f7166f7..2ddc0f23 100644 --- a/namespaces/chillerlan-oauth-core.html +++ b/namespaces/chillerlan-oauth-core.html @@ -140,7 +140,7 @@

                                                      -
                                                      AccessToken
                                                      Access token implementation for any OAuth version.
                                                      OAuth1Provider
                                                      Implements an abstract OAuth1 provider with all methods required by the OAuth1Interface.
                                                      OAuth2Provider
                                                      Implements an abstract OAuth2 provider with all methods required by the OAuth2Interface.
                                                      OAuthProvider
                                                      Implements an abstract OAuth provider with all methods required by the OAuthInterface.
                                                      +
                                                      AccessToken
                                                      Access token implementation for any OAuth version.
                                                      InvalidAccessTokenException
                                                      OAuth1Provider
                                                      Implements an abstract OAuth1 provider with all methods required by the OAuth1Interface.
                                                      OAuth2Provider
                                                      Implements an abstract OAuth2 provider with all methods required by the OAuth2Interface.
                                                      OAuthProvider
                                                      Implements an abstract OAuth provider with all methods required by the OAuthInterface.
                                                      UnauthorizedAccessException
                                                      diff --git a/namespaces/chillerlan-oauthtest-core.html b/namespaces/chillerlan-oauthtest-core.html index 55b91f87..0be218e2 100644 --- a/namespaces/chillerlan-oauthtest-core.html +++ b/namespaces/chillerlan-oauthtest-core.html @@ -133,7 +133,7 @@

                                                      -
                                                      AccessTokenTest
                                                      Tests the AccessToken class
                                                      DummyOAuth1Provider
                                                      An OAuth1 provider implementation
                                                      DummyOAuth2BasicProvider
                                                      A minimal OAuth2 provider implementation
                                                      DummyOAuth2Provider
                                                      An OAuth2 provider implementation that supports token refresh, csrf tokens and client credentials
                                                      DummyOAuth2TestBasic
                                                      Tests a minimal OAuth2 provider implementation (no token refresh, no csrf, no nothing)
                                                      OAuth1Test
                                                      OAuth2Test
                                                      RequestTest
                                                      RequestTestProvider
                                                      Implements an abstract OAuth provider with all methods required by the OAuthInterface.
                                                      +
                                                      AccessTokenTest
                                                      Tests the AccessToken class
                                                      diff --git a/namespaces/chillerlan-oauthtest-providers-live.html b/namespaces/chillerlan-oauthtest-providers-live.html index 77244685..fcc25f36 100644 --- a/namespaces/chillerlan-oauthtest-providers-live.html +++ b/namespaces/chillerlan-oauthtest-providers-live.html @@ -134,7 +134,7 @@

                                                      -
                                                      AmazonAPITest
                                                      Amazon API usage tests/examples
                                                      BattleNetAPITest
                                                      BigCartelAPITest
                                                      BitbucketAPITest
                                                      DeezerAPITest
                                                      Spotify API usage tests/examples
                                                      DeviantArtAPITest
                                                      DiscogsAPITest
                                                      Discogs API test
                                                      DiscordAPITest
                                                      FlickrAPITest
                                                      FoursquareAPITest
                                                      Foursquare API usage tests/examples
                                                      GitHubAPITest
                                                      GitLabAPITest
                                                      GoogleAPITest
                                                      Google API usage tests/examples
                                                      GuildWars2APITest
                                                      ImgurAPITest
                                                      LastFMAPITest
                                                      last.fm API test & examples
                                                      MailChimpAPITest
                                                      MailChimp API usage tests/examples
                                                      MastodonAPITest
                                                      Spotify API usage tests/examples
                                                      MicrosoftGraphAPITest
                                                      MixcloudAPITest
                                                      MusicBrainzAPITest
                                                      NPROneAPITest
                                                      OpenCachingAPITest
                                                      OpenStreetmap2APITest
                                                      OpenStreetmapAPITest
                                                      Patreon1APITest
                                                      Patreon2APITest
                                                      PayPalAPITest
                                                      SlackAPITest
                                                      SoundcloudAPITest
                                                      SpotifyAPITest
                                                      Spotify API usage tests/examples
                                                      SteamOpenIDAPITest
                                                      StripeAPITest
                                                      Stripe API usage tests/examples
                                                      Tumblr2APITest
                                                      TumblrAPITest
                                                      TwitchAPITest
                                                      TwitterAPITest
                                                      Twitter API tests & examples
                                                      TwitterCCAPITest
                                                      VimeoAPITest
                                                      WordpressAPITest
                                                      +
                                                      AmazonAPITest
                                                      BattleNetAPITest
                                                      BigCartelAPITest
                                                      BitbucketAPITest
                                                      DeezerAPITest
                                                      DeviantArtAPITest
                                                      DiscogsAPITest
                                                      DiscordAPITest
                                                      FlickrAPITest
                                                      FoursquareAPITest
                                                      GitHubAPITest
                                                      GitLabAPITest
                                                      GoogleAPITest
                                                      GuildWars2APITest
                                                      ImgurAPITest
                                                      LastFMAPITest
                                                      MailChimpAPITest
                                                      MastodonAPITest
                                                      MicrosoftGraphAPITest
                                                      MixcloudAPITest
                                                      MusicBrainzAPITest
                                                      NPROneAPITest
                                                      OAuth1ProviderLiveTestAbstract
                                                      OAuth2ProviderLiveTestAbstract
                                                      OAuthProviderLiveTestAbstract
                                                      OpenCachingAPITest
                                                      OpenStreetmap2APITest
                                                      OpenStreetmapAPITest
                                                      PatreonAPITest
                                                      PayPalAPITest
                                                      SlackAPITest
                                                      SoundcloudAPITest
                                                      SpotifyAPITest
                                                      SteamOpenIDAPITest
                                                      StripeAPITest
                                                      Tumblr2APITest
                                                      TumblrAPITest
                                                      TwitchAPITest
                                                      TwitterAPITest
                                                      TwitterCCAPITest
                                                      VimeoAPITest
                                                      WordpressAPITest
                                                      diff --git a/namespaces/chillerlan-oauthtest-providers-unit.html b/namespaces/chillerlan-oauthtest-providers-unit.html index 83b95275..eb1847bf 100644 --- a/namespaces/chillerlan-oauthtest-providers-unit.html +++ b/namespaces/chillerlan-oauthtest-providers-unit.html @@ -134,7 +134,7 @@

                                                      -
                                                      AmazonTest
                                                      BattleNetTest
                                                      BigCartelTest
                                                      BitbucketTest
                                                      DeezerTest
                                                      DeviantArtTest
                                                      DiscogsTest
                                                      DiscordTest
                                                      FlickrTest
                                                      FoursquareTest
                                                      GitHubTest
                                                      GitLabTest
                                                      GoogleTest
                                                      GuildWars2Test
                                                      ImgurTest
                                                      LastFMTest
                                                      MailChimpTest
                                                      MastodonTest
                                                      MicrosoftGraphTest
                                                      MixcloudTest
                                                      MusicBrainzTest
                                                      NPROneTest
                                                      OpenCachingTest
                                                      OpenStreetmap2Test
                                                      OpenStreetmapTest
                                                      Patreon1Test
                                                      Patreon2Test
                                                      PayPalTest
                                                      SlackTest
                                                      SoundCloudTest
                                                      SpotifyTest
                                                      SteamOpenIDTest
                                                      StripeTest
                                                      Tumblr2Test
                                                      TumblrTest
                                                      TwitchTest
                                                      TwitterCCTest
                                                      TwitterTest
                                                      VimeoTest
                                                      WordPressTest
                                                      YouTubeTest
                                                      +
                                                      AmazonTest
                                                      BattleNetTest
                                                      BigCartelTest
                                                      BitbucketTest
                                                      DeezerTest
                                                      DeviantArtTest
                                                      DiscogsTest
                                                      DiscordTest
                                                      FlickrTest
                                                      FoursquareTest
                                                      GitHubTest
                                                      GitLabTest
                                                      GoogleTest
                                                      GuildWars2Test
                                                      ImgurTest
                                                      LastFMTest
                                                      MailChimpTest
                                                      MastodonTest
                                                      MicrosoftGraphTest
                                                      MixcloudTest
                                                      MusicBrainzTest
                                                      NPROneTest
                                                      OAuth1ProviderUnitTestAbstract
                                                      OAuth1Test
                                                      The built-in dummy test for OAuth1
                                                      OAuth2ProviderUnitTestAbstract
                                                      OAuth2Test
                                                      The built-in dummy test for OAuth2
                                                      OAuthProviderUnitTestAbstract
                                                      OpenCachingTest
                                                      OpenStreetmap2Test
                                                      OpenStreetmapTest
                                                      Patreon1Test
                                                      Patreon2Test
                                                      PayPalTest
                                                      SlackTest
                                                      SoundCloudTest
                                                      SpotifyTest
                                                      SteamOpenIDTest
                                                      StripeTest
                                                      Tumblr2Test
                                                      TumblrTest
                                                      TwitchTest
                                                      TwitterCCTest
                                                      TwitterTest
                                                      VimeoTest
                                                      WordPressTest
                                                      YouTubeTest
                                                      diff --git a/namespaces/chillerlan-oauthtest-providers.html b/namespaces/chillerlan-oauthtest-providers.html index d842fc0f..3dbfbb03 100644 --- a/namespaces/chillerlan-oauthtest-providers.html +++ b/namespaces/chillerlan-oauthtest-providers.html @@ -135,13 +135,6 @@

                                                      Unit
                                                      -

                                                      - Interfaces - - -

                                                      -
                                                      -
                                                      OAuthTestHttpClientFactoryInterface

                                                      Classes @@ -149,7 +142,7 @@

                                                      -
                                                      OAuth1APITestAbstract
                                                      OAuth1ProviderTestAbstract
                                                      OAuth2APITestAbstract
                                                      OAuth2ProviderTestAbstract
                                                      OAuthAPITestAbstract
                                                      OAuthProviderTestAbstract
                                                      +
                                                      DummyOAuth1Provider
                                                      An OAuth1 provider implementation
                                                      DummyOAuth2Provider
                                                      An OAuth2 provider implementation that supports token refresh, csrf tokens and client credentials
                                                      ProviderLiveTestAbstract
                                                      ProviderLiveTestHttpClientFactory
                                                      ProviderLiveTestMemoryStorage
                                                      Extends the standard memory storage so that it also saves tokens as JSON in the given path
                                                      ProviderTestLoggerFactory
                                                      ProviderUnitTestAbstract
                                                      ProviderUnitTestHttpClientFactory
                                                      @@ -264,8 +257,7 @@

                                                    • Table Of Contents
                                                    • diff --git a/namespaces/chillerlan-oauthtest.html b/namespaces/chillerlan-oauthtest.html index 0bf5bb73..a2670547 100644 --- a/namespaces/chillerlan-oauthtest.html +++ b/namespaces/chillerlan-oauthtest.html @@ -131,7 +131,6 @@

                                                      Core
                                                      -
                                                      Helpers
                                                      Providers
                                                      Storage
                                                      diff --git a/packages/Application.html b/packages/Application.html index 6bb0cd04..d7973ac6 100644 --- a/packages/Application.html +++ b/packages/Application.html @@ -130,7 +130,7 @@

                                                      -
                                                      ClientCredentials
                                                      Indicates whether the provider is capable of the OAuth2 client credentials authentication flow.
                                                      CSRFToken
                                                      Specifies the methods required for the OAuth2 CSRF token validation ("state parameter")
                                                      OAuth1Interface
                                                      Specifies the basic methods for an OAuth1 provider.
                                                      OAuth2Interface
                                                      Specifies the basic methods for an OAuth2 provider.
                                                      OAuthInterface
                                                      Specifies the basic methods for an OAuth provider.
                                                      TokenInvalidate
                                                      Indicates whether the service is capable of invalidating access tokens
                                                      TokenRefresh
                                                      Indicates whether the provider is capable of the OAuth2 token refresh.
                                                      OAuthStorageInterface
                                                      Specifies the methods required for an OAuth token storage adapter
                                                      OAuthTestHttpClientFactoryInterface
                                                      +
                                                      ClientCredentials
                                                      Indicates whether the provider is capable of the OAuth2 client credentials authentication flow.
                                                      CSRFToken
                                                      Specifies the methods required for the OAuth2 CSRF token validation ("state parameter")
                                                      OAuth1Interface
                                                      Specifies the basic methods for an OAuth1 provider.
                                                      OAuth2Interface
                                                      Specifies the basic methods for an OAuth2 provider.
                                                      OAuthInterface
                                                      Specifies the basic methods for an OAuth provider.
                                                      TokenInvalidate
                                                      Indicates whether the service is capable of invalidating access tokens
                                                      TokenRefresh
                                                      Indicates whether the provider is capable of the OAuth2 token refresh.
                                                      OAuthStorageInterface
                                                      Specifies the methods required for an OAuth token storage adapter

                                                      Classes @@ -138,7 +138,7 @@

                                                      -
                                                      AccessToken
                                                      Access token implementation for any OAuth version.
                                                      OAuth1Provider
                                                      Implements an abstract OAuth1 provider with all methods required by the OAuth1Interface.
                                                      OAuth2Provider
                                                      Implements an abstract OAuth2 provider with all methods required by the OAuth2Interface.
                                                      OAuthProvider
                                                      Implements an abstract OAuth provider with all methods required by the OAuthInterface.
                                                      OAuthException
                                                      OAuthOptions
                                                      This class holds all settings related to the OAuth provider as well as the default HTTP client.
                                                      Amazon
                                                      Login with Amazon for Websites (OAuth2)
                                                      AzureActiveDirectory
                                                      Microsoft identity platform (OAuth2)
                                                      BattleNet
                                                      Battle.net OAuth2
                                                      BigCartel
                                                      BigCartel OAuth2
                                                      Bitbucket
                                                      Bitbucket OAuth2 (Atlassian)
                                                      Deezer
                                                      Deezer OAuth2
                                                      DeviantArt
                                                      DeviantArt OAuth2
                                                      Discogs
                                                      Discogs OAuth1
                                                      Discord
                                                      Discord OAuth2
                                                      Flickr
                                                      Flickr OAuth1
                                                      Foursquare
                                                      Foursquare OAuth2
                                                      GitHub
                                                      GitHub OAuth2
                                                      GitLab
                                                      GitLab OAuth2
                                                      Google
                                                      Google OAuth2
                                                      GuildWars2
                                                      Guild Wars 2
                                                      Imgur
                                                      Imgur OAuth2
                                                      LastFM
                                                      Last.fm
                                                      MailChimp
                                                      MailChimp OAuth2
                                                      Mastodon
                                                      Mastodon OAuth2 (v4.x instances)
                                                      MicrosoftGraph
                                                      Microsoft Graph OAuth2
                                                      Mixcloud
                                                      Mixcloud OAuth2
                                                      MusicBrainz
                                                      MusicBrainz OAuth2
                                                      NPROne
                                                      NPR API services (OAuth2)
                                                      OpenCaching
                                                      Opencaching OAuth1
                                                      OpenStreetmap
                                                      OpenStreetmap OAuth1 (deprecated)
                                                      OpenStreetmap2
                                                      OpenStreetmap OAuth2
                                                      Patreon
                                                      Patreon v2 OAuth2
                                                      PayPal
                                                      PayPal OAuth2
                                                      PayPalSandbox
                                                      PayPal OAuth2 (sandbox)
                                                      ProviderException
                                                      Slack
                                                      Slack v2 OAuth2
                                                      SoundCloud
                                                      SoundCloud OAuth2
                                                      Spotify
                                                      Spotify OAuth2
                                                      SteamOpenID
                                                      Steam OpenID
                                                      Stripe
                                                      Stripe OAuth2
                                                      Tumblr
                                                      Tumblr OAuth1
                                                      Tumblr2
                                                      Tumblr OAuth2
                                                      Twitch
                                                      Twitch OAuth2
                                                      Twitter
                                                      Twitter OAuth1
                                                      TwitterCC
                                                      Twitter OAuth2 (client credentials)
                                                      Vimeo
                                                      Vimeo OAuth2
                                                      WordPress
                                                      WordPress OAuth2
                                                      YouTube
                                                      YouTube OAuth2
                                                      MemoryStorage
                                                      Implements a memory storage adapter.
                                                      OAuthStorageAbstract
                                                      Implements an abstract OAuth storage adapter
                                                      OAuthStorageException
                                                      SessionStorage
                                                      Implements a session storage adapter.
                                                      AccessTokenTest
                                                      Tests the AccessToken class
                                                      DummyOAuth1Provider
                                                      An OAuth1 provider implementation
                                                      DummyOAuth2BasicProvider
                                                      A minimal OAuth2 provider implementation
                                                      DummyOAuth2Provider
                                                      An OAuth2 provider implementation that supports token refresh, csrf tokens and client credentials
                                                      DummyOAuth2TestBasic
                                                      Tests a minimal OAuth2 provider implementation (no token refresh, no csrf, no nothing)
                                                      OAuth1Test
                                                      OAuth2Test
                                                      RequestTest
                                                      RequestTestProvider
                                                      Implements an abstract OAuth provider with all methods required by the OAuthInterface.
                                                      ChillerlanHttpClientFactory
                                                      GuzzleHttpClientFactory
                                                      OAuthTestHttpClient
                                                      OAuthTestMemoryStorage
                                                      Extends the standard memory storage so that it also saves tokens as JSON in the given path
                                                      ProviderTestHttpClient
                                                      a dummy client that returns a prepared set of responses
                                                      AmazonAPITest
                                                      Amazon API usage tests/examples
                                                      BattleNetAPITest
                                                      BigCartelAPITest
                                                      BitbucketAPITest
                                                      DeezerAPITest
                                                      Spotify API usage tests/examples
                                                      DeviantArtAPITest
                                                      DiscogsAPITest
                                                      Discogs API test
                                                      DiscordAPITest
                                                      FlickrAPITest
                                                      FoursquareAPITest
                                                      Foursquare API usage tests/examples
                                                      GitHubAPITest
                                                      GitLabAPITest
                                                      GoogleAPITest
                                                      Google API usage tests/examples
                                                      GuildWars2APITest
                                                      ImgurAPITest
                                                      LastFMAPITest
                                                      last.fm API test & examples
                                                      MailChimpAPITest
                                                      MailChimp API usage tests/examples
                                                      MastodonAPITest
                                                      Spotify API usage tests/examples
                                                      MicrosoftGraphAPITest
                                                      MixcloudAPITest
                                                      MusicBrainzAPITest
                                                      NPROneAPITest
                                                      OpenCachingAPITest
                                                      OpenStreetmap2APITest
                                                      OpenStreetmapAPITest
                                                      Patreon1APITest
                                                      Patreon2APITest
                                                      PayPalAPITest
                                                      SlackAPITest
                                                      SoundcloudAPITest
                                                      SpotifyAPITest
                                                      Spotify API usage tests/examples
                                                      SteamOpenIDAPITest
                                                      StripeAPITest
                                                      Stripe API usage tests/examples
                                                      Tumblr2APITest
                                                      TumblrAPITest
                                                      TwitchAPITest
                                                      TwitterAPITest
                                                      Twitter API tests & examples
                                                      TwitterCCAPITest
                                                      VimeoAPITest
                                                      WordpressAPITest
                                                      OAuth1APITestAbstract
                                                      OAuth1ProviderTestAbstract
                                                      OAuth2APITestAbstract
                                                      OAuth2ProviderTestAbstract
                                                      OAuthAPITestAbstract
                                                      OAuthProviderTestAbstract
                                                      AmazonTest
                                                      BattleNetTest
                                                      BigCartelTest
                                                      BitbucketTest
                                                      DeezerTest
                                                      DeviantArtTest
                                                      DiscogsTest
                                                      DiscordTest
                                                      FlickrTest
                                                      FoursquareTest
                                                      GitHubTest
                                                      GitLabTest
                                                      GoogleTest
                                                      GuildWars2Test
                                                      ImgurTest
                                                      LastFMTest
                                                      MailChimpTest
                                                      MastodonTest
                                                      MicrosoftGraphTest
                                                      MixcloudTest
                                                      MusicBrainzTest
                                                      NPROneTest
                                                      OpenCachingTest
                                                      OpenStreetmap2Test
                                                      OpenStreetmapTest
                                                      Patreon1Test
                                                      Patreon2Test
                                                      PayPalTest
                                                      SlackTest
                                                      SoundCloudTest
                                                      SpotifyTest
                                                      SteamOpenIDTest
                                                      StripeTest
                                                      Tumblr2Test
                                                      TumblrTest
                                                      TwitchTest
                                                      TwitterCCTest
                                                      TwitterTest
                                                      VimeoTest
                                                      WordPressTest
                                                      YouTubeTest
                                                      MemoryStorageTest
                                                      SessionStorageTest
                                                      StorageTestAbstract
                                                      +
                                                      AccessToken
                                                      Access token implementation for any OAuth version.
                                                      InvalidAccessTokenException
                                                      OAuth1Provider
                                                      Implements an abstract OAuth1 provider with all methods required by the OAuth1Interface.
                                                      OAuth2Provider
                                                      Implements an abstract OAuth2 provider with all methods required by the OAuth2Interface.
                                                      OAuthProvider
                                                      Implements an abstract OAuth provider with all methods required by the OAuthInterface.
                                                      UnauthorizedAccessException
                                                      OAuthException
                                                      OAuthOptions
                                                      This class holds all settings related to the OAuth provider as well as the default HTTP client.
                                                      Amazon
                                                      Login with Amazon for Websites (OAuth2)
                                                      AzureActiveDirectory
                                                      Microsoft identity platform (OAuth2)
                                                      BattleNet
                                                      Battle.net OAuth2
                                                      BigCartel
                                                      BigCartel OAuth2
                                                      Bitbucket
                                                      Bitbucket OAuth2 (Atlassian)
                                                      Deezer
                                                      Deezer OAuth2
                                                      DeviantArt
                                                      DeviantArt OAuth2
                                                      Discogs
                                                      Discogs OAuth1
                                                      Discord
                                                      Discord OAuth2
                                                      Flickr
                                                      Flickr OAuth1
                                                      Foursquare
                                                      Foursquare OAuth2
                                                      GitHub
                                                      GitHub OAuth2
                                                      GitLab
                                                      GitLab OAuth2
                                                      Google
                                                      Google OAuth2
                                                      GuildWars2
                                                      Guild Wars 2
                                                      Imgur
                                                      Imgur OAuth2
                                                      LastFM
                                                      Last.fm
                                                      MailChimp
                                                      MailChimp OAuth2
                                                      Mastodon
                                                      Mastodon OAuth2 (v4.x instances)
                                                      MicrosoftGraph
                                                      Microsoft Graph OAuth2
                                                      Mixcloud
                                                      Mixcloud OAuth2
                                                      MusicBrainz
                                                      MusicBrainz OAuth2
                                                      NPROne
                                                      NPR API services (OAuth2)
                                                      OpenCaching
                                                      Opencaching OAuth1
                                                      OpenStreetmap
                                                      OpenStreetmap OAuth1 (deprecated)
                                                      OpenStreetmap2
                                                      OpenStreetmap OAuth2
                                                      Patreon
                                                      Patreon v2 OAuth2
                                                      PayPal
                                                      PayPal OAuth2
                                                      PayPalSandbox
                                                      PayPal OAuth2 (sandbox)
                                                      ProviderException
                                                      Slack
                                                      Slack v2 OAuth2
                                                      SoundCloud
                                                      SoundCloud OAuth2
                                                      Spotify
                                                      Spotify OAuth2
                                                      SteamOpenID
                                                      Steam OpenID
                                                      Stripe
                                                      Stripe OAuth2
                                                      Tumblr
                                                      Tumblr OAuth1
                                                      Tumblr2
                                                      Tumblr OAuth2
                                                      Twitch
                                                      Twitch OAuth2
                                                      Twitter
                                                      Twitter OAuth1
                                                      TwitterCC
                                                      Twitter OAuth2 (client credentials)
                                                      Vimeo
                                                      Vimeo OAuth2
                                                      WordPress
                                                      WordPress OAuth2
                                                      YouTube
                                                      YouTube OAuth2
                                                      MemoryStorage
                                                      Implements a memory storage adapter.
                                                      OAuthStorageAbstract
                                                      Implements an abstract OAuth storage adapter
                                                      OAuthStorageException
                                                      SessionStorage
                                                      Implements a session storage adapter.
                                                      AccessTokenTest
                                                      Tests the AccessToken class
                                                      DummyOAuth1Provider
                                                      An OAuth1 provider implementation
                                                      DummyOAuth2Provider
                                                      An OAuth2 provider implementation that supports token refresh, csrf tokens and client credentials
                                                      AmazonAPITest
                                                      BattleNetAPITest
                                                      BigCartelAPITest
                                                      BitbucketAPITest
                                                      DeezerAPITest
                                                      DeviantArtAPITest
                                                      DiscogsAPITest
                                                      DiscordAPITest
                                                      FlickrAPITest
                                                      FoursquareAPITest
                                                      GitHubAPITest
                                                      GitLabAPITest
                                                      GoogleAPITest
                                                      GuildWars2APITest
                                                      ImgurAPITest
                                                      LastFMAPITest
                                                      MailChimpAPITest
                                                      MastodonAPITest
                                                      MicrosoftGraphAPITest
                                                      MixcloudAPITest
                                                      MusicBrainzAPITest
                                                      NPROneAPITest
                                                      OAuth1ProviderLiveTestAbstract
                                                      OAuth2ProviderLiveTestAbstract
                                                      OAuthProviderLiveTestAbstract
                                                      OpenCachingAPITest
                                                      OpenStreetmap2APITest
                                                      OpenStreetmapAPITest
                                                      PatreonAPITest
                                                      PayPalAPITest
                                                      SlackAPITest
                                                      SoundcloudAPITest
                                                      SpotifyAPITest
                                                      SteamOpenIDAPITest
                                                      StripeAPITest
                                                      Tumblr2APITest
                                                      TumblrAPITest
                                                      TwitchAPITest
                                                      TwitterAPITest
                                                      TwitterCCAPITest
                                                      VimeoAPITest
                                                      WordpressAPITest
                                                      ProviderLiveTestAbstract
                                                      ProviderLiveTestHttpClientFactory
                                                      ProviderLiveTestMemoryStorage
                                                      Extends the standard memory storage so that it also saves tokens as JSON in the given path
                                                      ProviderTestLoggerFactory
                                                      ProviderUnitTestAbstract
                                                      ProviderUnitTestHttpClientFactory
                                                      AmazonTest
                                                      BattleNetTest
                                                      BigCartelTest
                                                      BitbucketTest
                                                      DeezerTest
                                                      DeviantArtTest
                                                      DiscogsTest
                                                      DiscordTest
                                                      FlickrTest
                                                      FoursquareTest
                                                      GitHubTest
                                                      GitLabTest
                                                      GoogleTest
                                                      GuildWars2Test
                                                      ImgurTest
                                                      LastFMTest
                                                      MailChimpTest
                                                      MastodonTest
                                                      MicrosoftGraphTest
                                                      MixcloudTest
                                                      MusicBrainzTest
                                                      NPROneTest
                                                      OAuth1ProviderUnitTestAbstract
                                                      OAuth1Test
                                                      The built-in dummy test for OAuth1
                                                      OAuth2ProviderUnitTestAbstract
                                                      OAuth2Test
                                                      The built-in dummy test for OAuth2
                                                      OAuthProviderUnitTestAbstract
                                                      OpenCachingTest
                                                      OpenStreetmap2Test
                                                      OpenStreetmapTest
                                                      Patreon1Test
                                                      Patreon2Test
                                                      PayPalTest
                                                      SlackTest
                                                      SoundCloudTest
                                                      SpotifyTest
                                                      SteamOpenIDTest
                                                      StripeTest
                                                      Tumblr2Test
                                                      TumblrTest
                                                      TwitchTest
                                                      TwitterCCTest
                                                      TwitterTest
                                                      VimeoTest
                                                      WordPressTest
                                                      YouTubeTest
                                                      MemoryStorageTest
                                                      SessionStorageTest
                                                      StorageTestAbstract

                                                      Traits @@ -146,7 +146,7 @@

                                                      -
                                                      OAuthOptionsTrait
                                                      The settings for the OAuth provider
                                                      HTTPFactoryTrait
                                                      Trait HTTPFactoryTrait
                                                      +
                                                      OAuthOptionsTrait
                                                      The settings for the OAuth provider