From 6ba1d30cb45e2e00c1d1781b919776d4612eb6c5 Mon Sep 17 00:00:00 2001 From: codemasher Date: Wed, 24 Jul 2024 09:10:02 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20chillerl?= =?UTF-8?q?an/php-oauth@4fe7a8da40b3cca137ccdb4b1faafe4234c72277=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chillerlan-OAuth-Core-AccessToken.html | 28 +- ...illerlan-OAuth-Core-AuthenticatedUser.html | 32 +- classes/chillerlan-OAuth-Core-CSRFToken.html | 10 +- .../chillerlan-OAuth-Core-OAuth1Provider.html | 114 ++--- .../chillerlan-OAuth-Core-OAuth2Provider.html | 390 +++++++--------- .../chillerlan-OAuth-Core-OAuthProvider.html | 60 +-- classes/chillerlan-OAuth-Core-PAR.html | 12 +- classes/chillerlan-OAuth-Core-PKCE.html | 12 +- ...chillerlan-OAuth-OAuthProviderFactory.html | 24 +- .../chillerlan-OAuth-Providers-Amazon.html | 390 +++++++--------- ...-OAuth-Providers-AzureActiveDirectory.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-BattleNet.html | 410 ++++++++-------- .../chillerlan-OAuth-Providers-BigCartel.html | 400 +++++++--------- .../chillerlan-OAuth-Providers-Bitbucket.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Codeberg.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Deezer.html | 372 +++++++-------- ...chillerlan-OAuth-Providers-DeviantArt.html | 398 +++++++--------- .../chillerlan-OAuth-Providers-Discogs.html | 114 ++--- .../chillerlan-OAuth-Providers-Discord.html | 386 +++++++--------- .../chillerlan-OAuth-Providers-Flickr.html | 128 ++--- ...chillerlan-OAuth-Providers-Foursquare.html | 404 +++++++--------- .../chillerlan-OAuth-Providers-GitHub.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-GitLab.html | 390 +++++++--------- classes/chillerlan-OAuth-Providers-Gitea.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Google.html | 390 +++++++--------- ...chillerlan-OAuth-Providers-GuildWars2.html | 363 +++++++-------- classes/chillerlan-OAuth-Providers-Imgur.html | 397 +++++++--------- .../chillerlan-OAuth-Providers-LastFM.html | 194 +++----- .../chillerlan-OAuth-Providers-MailChimp.html | 416 +++++++---------- .../chillerlan-OAuth-Providers-Mastodon.html | 397 +++++++--------- ...lerlan-OAuth-Providers-MicrosoftGraph.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Mixcloud.html | 390 +++++++--------- ...hillerlan-OAuth-Providers-MusicBrainz.html | 435 +++++++---------- .../chillerlan-OAuth-Providers-NPROne.html | 399 ++++++++-------- ...hillerlan-OAuth-Providers-OpenCaching.html | 114 ++--- ...llerlan-OAuth-Providers-OpenStreetmap.html | 114 ++--- ...lerlan-OAuth-Providers-OpenStreetmap2.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Patreon.html | 406 ++++++++-------- .../chillerlan-OAuth-Providers-PayPal.html | 390 +++++++--------- ...llerlan-OAuth-Providers-PayPalSandbox.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Pinterest.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Reddit.html | 382 +++++++-------- classes/chillerlan-OAuth-Providers-Slack.html | 390 +++++++--------- ...chillerlan-OAuth-Providers-SoundCloud.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Spotify.html | 390 +++++++--------- classes/chillerlan-OAuth-Providers-Steam.html | 113 ++--- .../chillerlan-OAuth-Providers-Stripe.html | 386 +++++++--------- .../chillerlan-OAuth-Providers-Tumblr.html | 114 ++--- .../chillerlan-OAuth-Providers-Tumblr2.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-Twitch.html | 437 +++++++----------- .../chillerlan-OAuth-Providers-Twitter.html | 114 ++--- .../chillerlan-OAuth-Providers-TwitterCC.html | 348 +++++++------- classes/chillerlan-OAuth-Providers-Vimeo.html | 398 +++++++--------- .../chillerlan-OAuth-Providers-WordPress.html | 390 +++++++--------- .../chillerlan-OAuth-Providers-YouTube.html | 390 +++++++--------- .../chillerlan-OAuth-Storage-FileStorage.html | 309 ++----------- ...hillerlan-OAuth-Storage-MemoryStorage.html | 305 ++---------- ...an-OAuth-Storage-OAuthStorageAbstract.html | 47 +- ...illerlan-OAuth-Storage-SessionStorage.html | 317 ++----------- ...llerlan-OAuthTest-Attributes-Provider.html | 6 +- ...uthTest-Providers-DummyOAuth1Provider.html | 142 +++--- ...uthTest-Providers-DummyOAuth2Provider.html | 393 +++++++--------- ...AuthTest-Providers-Live-AmazonAPITest.html | 22 +- ...hTest-Providers-Live-BattleNetAPITest.html | 22 +- ...hTest-Providers-Live-BigCartelAPITest.html | 22 +- ...hTest-Providers-Live-BitbucketAPITest.html | 22 +- ...thTest-Providers-Live-CodebergAPITest.html | 22 +- ...AuthTest-Providers-Live-DeezerAPITest.html | 22 +- ...Test-Providers-Live-DeviantArtAPITest.html | 22 +- ...uthTest-Providers-Live-DiscogsAPITest.html | 14 +- ...uthTest-Providers-Live-DiscordAPITest.html | 20 +- ...AuthTest-Providers-Live-FlickrAPITest.html | 14 +- ...Test-Providers-Live-FoursquareAPITest.html | 22 +- ...AuthTest-Providers-Live-GitHubAPITest.html | 22 +- ...AuthTest-Providers-Live-GitLabAPITest.html | 22 +- ...OAuthTest-Providers-Live-GiteaAPITest.html | 22 +- ...AuthTest-Providers-Live-GoogleAPITest.html | 22 +- ...Test-Providers-Live-GuildWars2APITest.html | 22 +- ...OAuthTest-Providers-Live-ImgurAPITest.html | 22 +- ...AuthTest-Providers-Live-LastFMAPITest.html | 14 +- ...hTest-Providers-Live-MailChimpAPITest.html | 22 +- ...thTest-Providers-Live-MastodonAPITest.html | 22 +- ...-Providers-Live-MicrosoftGraphAPITest.html | 22 +- ...thTest-Providers-Live-MixcloudAPITest.html | 22 +- ...est-Providers-Live-MusicBrainzAPITest.html | 22 +- ...AuthTest-Providers-Live-NPROneAPITest.html | 22 +- ...s-Live-OAuth1ProviderLiveTestAbstract.html | 14 +- ...s-Live-OAuth2ProviderLiveTestAbstract.html | 22 +- ...rs-Live-OAuthProviderLiveTestAbstract.html | 14 +- ...est-Providers-Live-OpenCachingAPITest.html | 14 +- ...-Providers-Live-OpenStreetmap2APITest.html | 22 +- ...t-Providers-Live-OpenStreetmapAPITest.html | 14 +- ...uthTest-Providers-Live-PatreonAPITest.html | 22 +- ...AuthTest-Providers-Live-PayPalAPITest.html | 22 +- ...hTest-Providers-Live-PinterestAPITest.html | 22 +- ...AuthTest-Providers-Live-RedditAPITest.html | 22 +- ...OAuthTest-Providers-Live-SlackAPITest.html | 22 +- ...Test-Providers-Live-SoundcloudAPITest.html | 20 +- ...uthTest-Providers-Live-SpotifyAPITest.html | 22 +- ...OAuthTest-Providers-Live-SteamAPITest.html | 14 +- ...AuthTest-Providers-Live-StripeAPITest.html | 22 +- ...uthTest-Providers-Live-Tumblr2APITest.html | 22 +- ...AuthTest-Providers-Live-TumblrAPITest.html | 14 +- ...AuthTest-Providers-Live-TwitchAPITest.html | 22 +- ...uthTest-Providers-Live-TwitterAPITest.html | 14 +- ...hTest-Providers-Live-TwitterCCAPITest.html | 22 +- ...OAuthTest-Providers-Live-VimeoAPITest.html | 22 +- ...hTest-Providers-Live-WordpressAPITest.html | 22 +- ...uthTest-Providers-Live-YouTubeAPITest.html | 22 +- ...st-Providers-ProviderLiveTestAbstract.html | 14 +- ...st-Providers-ProviderUnitTestAbstract.html | 14 +- ...n-OAuthTest-Providers-Unit-AmazonTest.html | 52 +-- ...AuthTest-Providers-Unit-BattleNetTest.html | 48 +- ...AuthTest-Providers-Unit-BigCartelTest.html | 50 +- ...AuthTest-Providers-Unit-BitbucketTest.html | 52 +-- ...OAuthTest-Providers-Unit-CodebergTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-DeezerTest.html | 52 +-- ...uthTest-Providers-Unit-DeviantArtTest.html | 50 +- ...-OAuthTest-Providers-Unit-DiscogsTest.html | 52 +-- ...-OAuthTest-Providers-Unit-DiscordTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-FlickrTest.html | 48 +- ...uthTest-Providers-Unit-FoursquareTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-GitHubTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-GitLabTest.html | 52 +-- ...an-OAuthTest-Providers-Unit-GiteaTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-GoogleTest.html | 52 +-- ...uthTest-Providers-Unit-GuildWars2Test.html | 52 +-- ...an-OAuthTest-Providers-Unit-ImgurTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-LastFMTest.html | 46 +- ...AuthTest-Providers-Unit-MailChimpTest.html | 52 +-- ...OAuthTest-Providers-Unit-MastodonTest.html | 52 +-- ...est-Providers-Unit-MicrosoftGraphTest.html | 52 +-- ...OAuthTest-Providers-Unit-MixcloudTest.html | 52 +-- ...thTest-Providers-Unit-MusicBrainzTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-NPROneTest.html | 52 +-- ...s-Unit-OAuth1ProviderUnitTestAbstract.html | 52 +-- ...n-OAuthTest-Providers-Unit-OAuth1Test.html | 50 +- ...s-Unit-OAuth2ProviderUnitTestAbstract.html | 52 +-- ...n-OAuthTest-Providers-Unit-OAuth2Test.html | 50 +- ...rs-Unit-OAuthProviderUnitTestAbstract.html | 52 +-- ...thTest-Providers-Unit-OpenCachingTest.html | 52 +-- ...est-Providers-Unit-OpenStreetmap2Test.html | 52 +-- ...Test-Providers-Unit-OpenStreetmapTest.html | 52 +-- ...-OAuthTest-Providers-Unit-PatreonTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-PayPalTest.html | 52 +-- ...AuthTest-Providers-Unit-PinterestTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-RedditTest.html | 50 +- ...an-OAuthTest-Providers-Unit-SlackTest.html | 52 +-- ...uthTest-Providers-Unit-SoundCloudTest.html | 52 +-- ...-OAuthTest-Providers-Unit-SpotifyTest.html | 52 +-- ...an-OAuthTest-Providers-Unit-SteamTest.html | 48 +- ...n-OAuthTest-Providers-Unit-StripeTest.html | 50 +- ...-OAuthTest-Providers-Unit-Tumblr2Test.html | 52 +-- ...n-OAuthTest-Providers-Unit-TumblrTest.html | 52 +-- ...n-OAuthTest-Providers-Unit-TwitchTest.html | 52 +-- ...AuthTest-Providers-Unit-TwitterCCTest.html | 50 +- ...-OAuthTest-Providers-Unit-TwitterTest.html | 52 +-- ...an-OAuthTest-Providers-Unit-VimeoTest.html | 50 +- ...AuthTest-Providers-Unit-WordPressTest.html | 52 +-- ...-OAuthTest-Providers-Unit-YouTubeTest.html | 52 +-- files/src/Core/AccessToken.php.txt | 4 + files/src/Core/AuthenticatedUser.php.txt | 6 +- files/src/Core/OAuth1Provider.php.txt | 8 +- files/src/Core/OAuth2Provider.php.txt | 75 ++- files/src/Core/OAuthProvider.php.txt | 5 +- js/searchIndex.js | 28 +- 166 files changed, 9667 insertions(+), 12091 deletions(-) diff --git a/classes/chillerlan-OAuth-Core-AccessToken.html b/classes/chillerlan-OAuth-Core-AccessToken.html index 7bf10ae..dcc3b92 100644 --- a/classes/chillerlan-OAuth-Core-AccessToken.html +++ b/classes/chillerlan-OAuth-Core-AccessToken.html @@ -259,7 +259,7 @@

$extraParams -  : array<string|int, mixed> +  : array<string, mixed>
(magic) Additional token parameters supplied by the provider
@@ -280,7 +280,7 @@

$scopes -  : array<string|int, mixed> +  : array<string|int, string>
(magic) The scopes that are attached to this token
@@ -558,9 +558,9 @@

(magic) Additional token parameters supplied by the provider

@@ -568,7 +568,7 @@

protected - array<string|int, mixed> + array<string, mixed> $extraParams = [] @@ -596,9 +596,9 @@

(magic) The provider that issued the token

@@ -672,9 +672,9 @@

(magic) The scopes that are attached to this token

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

protected - array<string|int, mixed> + array<string|int, string> $scopes = [] @@ -715,9 +715,9 @@

Checks whether this token is expired

@@ -755,9 +755,9 @@

Sets the expiration for this token, clamps the expiry to EXPIRY_MAX

diff --git a/classes/chillerlan-OAuth-Core-AuthenticatedUser.html b/classes/chillerlan-OAuth-Core-AuthenticatedUser.html index d314c47..219a70b 100644 --- a/classes/chillerlan-OAuth-Core-AuthenticatedUser.html +++ b/classes/chillerlan-OAuth-Core-AuthenticatedUser.html @@ -211,7 +211,7 @@

$data -  : array<string|int, mixed> +  : array<string, mixed>
(magic) The full user endpoint response
@@ -364,9 +364,9 @@

(magic) The full user endpoint response

@@ -374,7 +374,7 @@

protected - array<string|int, mixed> + array<string, mixed> $data = [] @@ -597,9 +597,9 @@

@@ -658,9 +658,9 @@

@@ -724,9 +724,9 @@

@@ -787,9 +787,9 @@

@@ -850,9 +850,9 @@

trim and set the display name

@@ -896,9 +896,9 @@

set the user id, convert to int if possible

diff --git a/classes/chillerlan-OAuth-Core-CSRFToken.html b/classes/chillerlan-OAuth-Core-CSRFToken.html index 4c71350..0d19209 100644 --- a/classes/chillerlan-OAuth-Core-CSRFToken.html +++ b/classes/chillerlan-OAuth-Core-CSRFToken.html @@ -203,7 +203,7 @@

setState() -  : array<string|int, mixed> +  : array<string, string>
Sets the CSRF state parameter in a given array of query parameters and stores that value in the local storage for later verification. Returns the updated array of parameters.
@@ -297,7 +297,7 @@

@@ -306,7 +306,7 @@

public - setState(array<string|int, mixed> $params) : array<string|int, mixed> + setState(array<string, string> $params) : array<string, string>
@@ -316,7 +316,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -344,7 +344,7 @@
Return values
- array<string|int, mixed> + array<string, string>
diff --git a/classes/chillerlan-OAuth-Core-OAuth1Provider.html b/classes/chillerlan-OAuth-Core-OAuth1Provider.html index 2acf07b..f45eba1 100644 --- a/classes/chillerlan-OAuth-Core-OAuth1Provider.html +++ b/classes/chillerlan-OAuth-Core-OAuth1Provider.html @@ -1359,9 +1359,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

@@ -1631,7 +1631,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1641,7 +1641,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1656,20 +1656,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1754,9 +1740,9 @@

Authorizes the $request with the credentials from the given $token @@ -1956,9 +1942,9 @@

@@ -2036,9 +2022,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2144,9 +2130,9 @@

@@ -2641,9 +2627,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2691,16 +2677,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2710,7 +2696,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2741,16 +2727,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2760,7 +2746,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2882,9 +2868,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -2939,9 +2925,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3085,9 +3071,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3223,9 +3209,9 @@

Prepares the request URL

@@ -3280,16 +3266,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3306,7 +3292,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3389,9 +3375,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3452,9 +3438,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3627,16 +3613,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3646,7 +3632,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3692,9 +3678,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3814,16 +3800,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -3840,7 +3826,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3871,9 +3857,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Core-OAuth2Provider.html b/classes/chillerlan-OAuth-Core-OAuth2Provider.html index 27da179..96b29c0 100644 --- a/classes/chillerlan-OAuth-Core-OAuth2Provider.html +++ b/classes/chillerlan-OAuth-Core-OAuth2Provider.html @@ -379,18 +379,21 @@

 : void +
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -434,6 +437,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -447,6 +451,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -481,12 +486,14 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
refreshAccessToken()  : AccessToken
+
implements TokenRefresh::refreshAccessToken()
request() @@ -507,12 +514,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -533,6 +542,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1603,12 +1613,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1636,15 +1647,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1680,12 +1690,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1720,15 +1731,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1760,12 +1770,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1793,15 +1804,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1860,9 +1870,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -1895,20 +1905,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2115,9 +2111,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2125,7 +2121,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2135,14 +2131,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2150,20 +2146,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2187,15 +2169,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2205,7 +2188,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2220,13 +2203,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2321,15 +2303,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2339,7 +2322,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2354,15 +2337,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2429,20 +2411,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2588,9 +2556,9 @@

@@ -2668,15 +2636,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2686,7 +2655,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2708,13 +2677,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2748,12 +2716,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2781,13 +2750,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2821,9 +2789,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2929,9 +2897,9 @@

@@ -3000,15 +2968,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3018,7 +2987,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3040,15 +3009,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3080,15 +3048,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3098,7 +3067,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3113,15 +3082,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3295,15 +3263,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3313,7 +3282,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3328,15 +3297,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3660,9 +3628,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3710,16 +3678,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3729,7 +3697,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3760,16 +3728,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3779,7 +3747,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3901,9 +3869,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -3966,16 +3934,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -3985,14 +3953,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4038,9 +4006,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4103,9 +4071,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4175,9 +4143,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4271,16 +4239,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4290,7 +4258,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4343,9 +4311,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4458,9 +4426,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4534,9 +4502,9 @@

Prepares the request URL

@@ -4591,9 +4559,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4672,9 +4640,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4735,9 +4703,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4806,9 +4774,9 @@

Parses the response from a request to the token endpoint

@@ -4909,16 +4877,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -4935,7 +4903,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -4997,16 +4965,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5023,7 +4991,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5069,9 +5037,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5126,16 +5094,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5152,7 +5120,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5198,9 +5166,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Core-OAuthProvider.html b/classes/chillerlan-OAuth-Core-OAuthProvider.html index 3d1966e..0a66059 100644 --- a/classes/chillerlan-OAuth-Core-OAuthProvider.html +++ b/classes/chillerlan-OAuth-Core-OAuthProvider.html @@ -1586,9 +1586,9 @@

@@ -1666,9 +1666,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -1774,9 +1774,9 @@

@@ -2271,9 +2271,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2321,16 +2321,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2340,7 +2340,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2371,16 +2371,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2390,7 +2390,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2512,9 +2512,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -2658,9 +2658,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -2734,9 +2734,9 @@

Prepares the request URL

@@ -2791,9 +2791,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -2854,9 +2854,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -2925,9 +2925,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -2982,9 +2982,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Core-PAR.html b/classes/chillerlan-OAuth-Core-PAR.html index 8624a03..cb4c3ec 100644 --- a/classes/chillerlan-OAuth-Core-PAR.html +++ b/classes/chillerlan-OAuth-Core-PAR.html @@ -221,7 +221,7 @@

@@ -230,7 +230,7 @@

public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -240,7 +240,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -260,11 +260,7 @@
OAuth2Provider::$parAuthorizationURL -
    -
  • -
-
- +
link diff --git a/classes/chillerlan-OAuth-Core-PKCE.html b/classes/chillerlan-OAuth-Core-PKCE.html index 6974bbb..b01adcf 100644 --- a/classes/chillerlan-OAuth-Core-PKCE.html +++ b/classes/chillerlan-OAuth-Core-PKCE.html @@ -508,7 +508,7 @@

@@ -517,7 +517,7 @@

public - setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -527,7 +527,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -587,7 +587,7 @@

@@ -596,7 +596,7 @@

public - setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -606,7 +606,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
diff --git a/classes/chillerlan-OAuth-OAuthProviderFactory.html b/classes/chillerlan-OAuth-OAuthProviderFactory.html index b0d254e..245b77b 100644 --- a/classes/chillerlan-OAuth-OAuthProviderFactory.html +++ b/classes/chillerlan-OAuth-OAuthProviderFactory.html @@ -285,7 +285,7 @@

@@ -321,7 +321,7 @@

@@ -331,7 +331,7 @@

protected LoggerInterface $logger - = new NullLogger() + @@ -357,7 +357,7 @@

@@ -393,7 +393,7 @@

@@ -429,7 +429,7 @@

@@ -470,7 +470,7 @@

@@ -543,7 +543,7 @@

@@ -606,7 +606,7 @@

@@ -658,7 +658,7 @@

@@ -710,7 +710,7 @@

@@ -762,7 +762,7 @@

diff --git a/classes/chillerlan-OAuth-Providers-Amazon.html b/classes/chillerlan-OAuth-Providers-Amazon.html index b33ed4a..202d3bd 100644 --- a/classes/chillerlan-OAuth-Providers-Amazon.html +++ b/classes/chillerlan-OAuth-Providers-Amazon.html @@ -393,18 +393,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -448,6 +451,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -461,6 +465,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -495,6 +500,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -508,6 +514,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -528,12 +535,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -554,6 +563,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1776,12 +1786,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1809,15 +1820,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1853,12 +1863,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1893,15 +1904,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1933,12 +1943,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1966,15 +1977,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2033,9 +2043,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2068,20 +2078,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2288,9 +2284,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2298,7 +2294,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2308,14 +2304,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2323,20 +2319,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2360,15 +2342,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2378,7 +2361,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2393,13 +2376,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2494,15 +2476,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2512,7 +2495,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2527,15 +2510,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2602,20 +2584,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2761,9 +2729,9 @@

@@ -2841,15 +2809,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2859,7 +2828,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2881,13 +2850,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2981,12 +2949,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3014,13 +2983,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3054,9 +3022,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3162,9 +3130,9 @@

@@ -3233,15 +3201,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3251,7 +3220,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3273,15 +3242,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3313,15 +3281,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3331,7 +3300,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3346,15 +3315,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3528,15 +3496,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3546,7 +3515,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3561,15 +3530,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3893,9 +3861,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3943,16 +3911,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3962,7 +3930,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3993,16 +3961,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4012,7 +3980,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4134,9 +4102,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4199,16 +4167,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4218,14 +4186,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4271,9 +4239,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4336,9 +4304,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4408,9 +4376,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4504,16 +4472,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4523,7 +4491,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4576,9 +4544,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4691,9 +4659,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4767,9 +4735,9 @@

Prepares the request URL

@@ -4824,9 +4792,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4905,9 +4873,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4968,9 +4936,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5039,9 +5007,9 @@

Parses the response from a request to the token endpoint

@@ -5142,16 +5110,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5168,7 +5136,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5230,16 +5198,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5256,7 +5224,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5302,9 +5270,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5359,16 +5327,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5385,7 +5353,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5431,9 +5399,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html b/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html index 49dda5f..2f0f45d 100644 --- a/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html +++ b/classes/chillerlan-OAuth-Providers-AzureActiveDirectory.html @@ -396,18 +396,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -451,6 +454,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -464,6 +468,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -498,12 +503,14 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
refreshAccessToken()  : AccessToken
+
implements TokenRefresh::refreshAccessToken()
request() @@ -524,12 +531,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -550,6 +559,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1743,12 +1753,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1776,15 +1787,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1820,12 +1830,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1860,15 +1871,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1900,12 +1910,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1933,15 +1944,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2000,9 +2010,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2035,20 +2045,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2255,9 +2251,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2265,7 +2261,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2275,14 +2271,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2290,20 +2286,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2327,15 +2309,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2345,7 +2328,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2360,13 +2343,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2461,15 +2443,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2479,7 +2462,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2494,15 +2477,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2569,20 +2551,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2728,9 +2696,9 @@

@@ -2808,15 +2776,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2826,7 +2795,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2848,13 +2817,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2888,12 +2856,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2921,13 +2890,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2961,9 +2929,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3069,9 +3037,9 @@

@@ -3140,15 +3108,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3158,7 +3127,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3180,15 +3149,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3220,15 +3188,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3238,7 +3207,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3253,15 +3222,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3435,15 +3403,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3453,7 +3422,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3468,15 +3437,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3800,9 +3768,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3850,16 +3818,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3869,7 +3837,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3900,16 +3868,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3919,7 +3887,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4041,9 +4009,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4106,16 +4074,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4125,14 +4093,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4178,9 +4146,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4243,9 +4211,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4315,9 +4283,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4411,16 +4379,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4430,7 +4398,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4483,9 +4451,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4598,9 +4566,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4674,9 +4642,9 @@

Prepares the request URL

@@ -4731,9 +4699,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4812,9 +4780,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4875,9 +4843,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4946,9 +4914,9 @@

Parses the response from a request to the token endpoint

@@ -5049,16 +5017,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5075,7 +5043,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5137,16 +5105,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5163,7 +5131,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5209,9 +5177,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5266,16 +5234,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5292,7 +5260,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5338,9 +5306,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-BattleNet.html b/classes/chillerlan-OAuth-Providers-BattleNet.html index a47316f..c6c4107 100644 --- a/classes/chillerlan-OAuth-Providers-BattleNet.html +++ b/classes/chillerlan-OAuth-Providers-BattleNet.html @@ -409,18 +409,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -464,6 +467,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -477,6 +481,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -511,6 +516,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -524,6 +530,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -544,12 +551,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -577,6 +586,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1931,12 +1941,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1964,15 +1975,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2008,12 +2018,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2048,15 +2059,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2088,12 +2098,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2121,15 +2132,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2188,9 +2198,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2223,20 +2233,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2443,9 +2439,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2453,7 +2449,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2463,14 +2459,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2478,20 +2474,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2515,15 +2497,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2533,7 +2516,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2548,13 +2531,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2649,15 +2631,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2667,7 +2650,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2682,15 +2665,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2757,20 +2739,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2916,9 +2884,9 @@

@@ -2996,15 +2964,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3014,7 +2983,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3036,13 +3005,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3076,7 +3044,7 @@

@@ -3136,12 +3104,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3169,13 +3138,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3209,9 +3177,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3317,9 +3285,9 @@

@@ -3388,15 +3356,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3406,7 +3375,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3428,15 +3397,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3468,15 +3436,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3486,7 +3455,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3501,15 +3470,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3612,7 +3580,7 @@

@@ -3747,15 +3715,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3765,7 +3734,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3780,15 +3749,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4112,9 +4080,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4162,16 +4130,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4181,7 +4149,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4212,16 +4180,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4231,7 +4199,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4353,9 +4321,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4418,16 +4386,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4437,14 +4405,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4490,9 +4458,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4555,9 +4523,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4627,9 +4595,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4723,16 +4691,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4742,7 +4710,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4795,9 +4763,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4910,7 +4878,7 @@

@@ -4924,7 +4892,9 @@

- +

Throws if the host of a given URL does not match the host of $apiURL.

+
+

Parameters
@@ -4937,20 +4907,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -4974,9 +4930,9 @@

Prepares the request URL

@@ -5031,9 +4987,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5112,9 +5068,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5175,9 +5131,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5246,9 +5202,9 @@

Parses the response from a request to the token endpoint

@@ -5349,16 +5305,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5375,7 +5331,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5437,16 +5393,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5463,7 +5419,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5509,9 +5465,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5566,16 +5522,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5592,7 +5548,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5638,9 +5594,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-BigCartel.html b/classes/chillerlan-OAuth-Providers-BigCartel.html index 50839d4..0796402 100644 --- a/classes/chillerlan-OAuth-Providers-BigCartel.html +++ b/classes/chillerlan-OAuth-Providers-BigCartel.html @@ -373,18 +373,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -428,6 +431,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -441,6 +445,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -475,6 +480,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -488,6 +494,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -508,12 +515,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -534,6 +543,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1651,12 +1661,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1684,15 +1695,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1728,12 +1738,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1768,15 +1779,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1808,12 +1818,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1841,15 +1852,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1908,9 +1918,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -1943,20 +1953,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2163,9 +2159,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2173,7 +2169,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2183,14 +2179,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2198,20 +2194,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2235,15 +2217,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2253,7 +2236,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2268,13 +2251,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2369,15 +2351,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2387,7 +2370,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2402,15 +2385,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2477,20 +2459,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2636,9 +2604,9 @@

@@ -2716,11 +2684,12 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool @@ -2748,20 +2717,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2785,7 +2740,7 @@

@@ -2808,13 +2763,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -2845,12 +2793,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2878,13 +2827,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2918,9 +2866,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3026,9 +2974,9 @@

@@ -3097,15 +3045,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3115,7 +3064,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3137,15 +3086,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3177,15 +3125,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3195,7 +3144,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3210,15 +3159,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3392,15 +3340,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3410,7 +3359,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3425,15 +3374,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3757,9 +3705,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3807,16 +3755,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3826,7 +3774,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3857,16 +3805,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3876,7 +3824,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3998,9 +3946,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4063,7 +4011,7 @@

@@ -4127,16 +4075,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4146,14 +4094,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4199,9 +4147,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4264,9 +4212,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4336,9 +4284,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4432,16 +4380,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4451,7 +4399,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4504,9 +4452,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4619,9 +4567,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4695,9 +4643,9 @@

Prepares the request URL

@@ -4752,9 +4700,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4833,9 +4781,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4896,9 +4844,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4967,9 +4915,9 @@

Parses the response from a request to the token endpoint

@@ -5070,16 +5018,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5096,7 +5044,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5158,16 +5106,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5184,7 +5132,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5230,9 +5178,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5287,16 +5235,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5313,7 +5261,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5359,9 +5307,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Bitbucket.html b/classes/chillerlan-OAuth-Providers-Bitbucket.html index a596fcf..b22d461 100644 --- a/classes/chillerlan-OAuth-Providers-Bitbucket.html +++ b/classes/chillerlan-OAuth-Providers-Bitbucket.html @@ -362,18 +362,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -417,6 +420,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -430,6 +434,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -464,6 +469,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -477,6 +483,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -497,12 +504,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -523,6 +532,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1621,12 +1631,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1654,15 +1665,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1698,12 +1708,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1738,15 +1749,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1778,12 +1788,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1811,15 +1822,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1878,9 +1888,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -1913,20 +1923,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2133,9 +2129,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2143,7 +2139,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2153,14 +2149,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2168,20 +2164,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2205,15 +2187,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2223,7 +2206,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2238,13 +2221,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2339,15 +2321,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2357,7 +2340,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2372,15 +2355,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2447,20 +2429,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2606,9 +2574,9 @@

@@ -2686,15 +2654,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2704,7 +2673,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2726,13 +2695,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2826,12 +2794,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2859,13 +2828,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2899,9 +2867,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3007,9 +2975,9 @@

@@ -3078,15 +3046,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3096,7 +3065,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3118,15 +3087,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3158,15 +3126,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3176,7 +3145,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3191,15 +3160,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3373,15 +3341,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3391,7 +3360,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3406,15 +3375,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3738,9 +3706,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3788,16 +3756,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3807,7 +3775,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3838,16 +3806,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3857,7 +3825,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3979,9 +3947,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4044,16 +4012,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4063,14 +4031,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4116,9 +4084,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4181,9 +4149,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4253,9 +4221,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4349,16 +4317,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4368,7 +4336,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4421,9 +4389,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4536,9 +4504,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4612,9 +4580,9 @@

Prepares the request URL

@@ -4669,9 +4637,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4750,9 +4718,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4813,9 +4781,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4884,9 +4852,9 @@

Parses the response from a request to the token endpoint

@@ -4987,16 +4955,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5013,7 +4981,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5075,16 +5043,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5101,7 +5069,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5147,9 +5115,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5204,16 +5172,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5230,7 +5198,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5276,9 +5244,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Codeberg.html b/classes/chillerlan-OAuth-Providers-Codeberg.html index 7e706eb..f9a797d 100644 --- a/classes/chillerlan-OAuth-Providers-Codeberg.html +++ b/classes/chillerlan-OAuth-Providers-Codeberg.html @@ -543,18 +543,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -598,6 +601,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -611,6 +615,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -645,6 +650,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -658,6 +664,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -678,12 +685,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -704,6 +713,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2668,12 +2678,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2701,15 +2712,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2745,12 +2755,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2785,15 +2796,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2825,12 +2835,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2858,15 +2869,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2925,9 +2935,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2960,20 +2970,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3180,9 +3176,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -3190,7 +3186,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -3200,14 +3196,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -3215,20 +3211,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3252,15 +3234,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -3270,7 +3253,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -3285,13 +3268,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -3386,15 +3368,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -3404,7 +3387,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3419,15 +3402,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -3494,20 +3476,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3653,9 +3621,9 @@

@@ -3733,15 +3701,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3751,7 +3720,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3773,13 +3742,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3873,12 +3841,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3906,13 +3875,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3946,9 +3914,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -4054,9 +4022,9 @@

@@ -4125,15 +4093,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -4143,7 +4112,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4165,15 +4134,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -4205,15 +4173,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -4223,7 +4192,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4238,15 +4207,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -4420,15 +4388,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -4438,7 +4407,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4453,15 +4422,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4785,9 +4753,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4835,16 +4803,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4854,7 +4822,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4885,16 +4853,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4904,7 +4872,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -5026,9 +4994,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -5091,16 +5059,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -5110,14 +5078,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -5163,9 +5131,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -5228,9 +5196,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -5300,9 +5268,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -5396,16 +5364,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -5415,7 +5383,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -5468,9 +5436,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5583,9 +5551,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5659,9 +5627,9 @@

Prepares the request URL

@@ -5716,9 +5684,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5797,9 +5765,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5860,9 +5828,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5931,9 +5899,9 @@

Parses the response from a request to the token endpoint

@@ -6034,16 +6002,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6060,7 +6028,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6122,16 +6090,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6148,7 +6116,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6194,9 +6162,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -6251,16 +6219,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6277,7 +6245,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6323,9 +6291,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Deezer.html b/classes/chillerlan-OAuth-Providers-Deezer.html index 3404333..a821082 100644 --- a/classes/chillerlan-OAuth-Providers-Deezer.html +++ b/classes/chillerlan-OAuth-Providers-Deezer.html @@ -415,18 +415,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -470,6 +473,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -483,6 +487,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -517,6 +522,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -530,6 +536,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -550,12 +557,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -576,6 +585,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1951,12 +1961,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1984,15 +1995,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2028,12 +2038,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2068,15 +2079,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2108,12 +2118,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2141,15 +2152,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2208,9 +2218,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2243,20 +2253,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2463,9 +2459,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2473,7 +2469,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2483,14 +2479,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2498,20 +2494,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2535,15 +2517,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2553,7 +2536,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2568,13 +2551,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2669,15 +2651,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2687,7 +2670,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2702,15 +2685,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2777,20 +2759,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2936,9 +2904,9 @@

@@ -3016,15 +2984,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3034,7 +3003,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3056,13 +3025,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3156,12 +3124,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3189,13 +3158,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3229,9 +3197,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3337,9 +3305,9 @@

@@ -3408,15 +3376,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3426,7 +3395,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3448,15 +3417,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3488,15 +3456,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3506,7 +3475,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3521,15 +3490,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3703,15 +3671,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3721,7 +3690,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3736,15 +3705,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4068,9 +4036,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4118,16 +4086,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4137,7 +4105,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4168,16 +4136,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4187,7 +4155,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4444,9 +4412,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4509,9 +4477,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4581,9 +4549,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4677,16 +4645,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4696,7 +4664,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4749,9 +4717,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4864,9 +4832,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4940,9 +4908,9 @@

Prepares the request URL

@@ -5063,9 +5031,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5126,9 +5094,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5197,9 +5165,9 @@

Parses the response from a request to the token endpoint

@@ -5300,16 +5268,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5326,7 +5294,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5388,16 +5356,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5414,7 +5382,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5460,9 +5428,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5517,16 +5485,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5543,7 +5511,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5589,9 +5557,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-DeviantArt.html b/classes/chillerlan-OAuth-Providers-DeviantArt.html index 455619e..f4e7f7b 100644 --- a/classes/chillerlan-OAuth-Providers-DeviantArt.html +++ b/classes/chillerlan-OAuth-Providers-DeviantArt.html @@ -438,18 +438,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -493,6 +496,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -506,6 +510,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -540,6 +545,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -553,6 +559,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -573,12 +580,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -599,6 +608,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2081,12 +2091,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2114,15 +2125,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2158,12 +2168,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2198,15 +2209,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2238,12 +2248,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2271,15 +2282,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2338,9 +2348,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2373,20 +2383,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2593,9 +2589,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2603,7 +2599,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2613,14 +2609,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2628,20 +2624,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2665,15 +2647,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2683,7 +2666,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2698,13 +2681,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2799,15 +2781,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2817,7 +2800,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2832,15 +2815,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2907,20 +2889,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3066,9 +3034,9 @@

@@ -3146,11 +3114,12 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool @@ -3178,20 +3147,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3215,7 +3170,7 @@

@@ -3238,13 +3193,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3275,12 +3223,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3308,13 +3257,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3348,9 +3296,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3456,9 +3404,9 @@

@@ -3527,15 +3475,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3545,7 +3494,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3567,15 +3516,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3607,15 +3555,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3625,7 +3574,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3640,15 +3589,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3822,15 +3770,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3840,7 +3789,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3855,15 +3804,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4187,9 +4135,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4237,16 +4185,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4256,7 +4204,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4287,16 +4235,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4306,7 +4254,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4428,9 +4376,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4493,16 +4441,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4512,14 +4460,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4565,9 +4513,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4630,9 +4578,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4702,9 +4650,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4798,16 +4746,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4817,7 +4765,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4870,9 +4818,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4985,9 +4933,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5061,9 +5009,9 @@

Prepares the request URL

@@ -5118,9 +5066,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5199,9 +5147,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5262,9 +5210,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5333,9 +5281,9 @@

Parses the response from a request to the token endpoint

@@ -5436,16 +5384,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5462,7 +5410,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5524,16 +5472,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5550,7 +5498,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5596,9 +5544,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5653,16 +5601,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5679,7 +5627,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5725,9 +5673,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Discogs.html b/classes/chillerlan-OAuth-Providers-Discogs.html index 76a7809..4f2f5e7 100644 --- a/classes/chillerlan-OAuth-Providers-Discogs.html +++ b/classes/chillerlan-OAuth-Providers-Discogs.html @@ -1433,9 +1433,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

@@ -1705,7 +1705,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1715,7 +1715,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1730,20 +1730,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1828,9 +1814,9 @@

Authorizes the $request with the credentials from the given $token @@ -2030,9 +2016,9 @@

@@ -2170,9 +2156,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2278,9 +2264,9 @@

@@ -2775,9 +2761,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2825,16 +2811,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2844,7 +2830,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2875,16 +2861,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2894,7 +2880,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3016,9 +3002,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -3073,9 +3059,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3219,9 +3205,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3357,9 +3343,9 @@

Prepares the request URL

@@ -3414,16 +3400,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3440,7 +3426,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3523,9 +3509,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3586,9 +3572,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3761,16 +3747,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3780,7 +3766,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3826,9 +3812,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3948,16 +3934,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -3974,7 +3960,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4005,9 +3991,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Discord.html b/classes/chillerlan-OAuth-Providers-Discord.html index ccf03ee..d1222e7 100644 --- a/classes/chillerlan-OAuth-Providers-Discord.html +++ b/classes/chillerlan-OAuth-Providers-Discord.html @@ -481,18 +481,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -536,6 +539,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -549,6 +553,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -583,6 +588,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -596,6 +602,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -616,12 +623,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -642,6 +651,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2343,12 +2353,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2376,15 +2387,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2420,12 +2430,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2460,15 +2471,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2500,12 +2510,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2533,15 +2544,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2600,9 +2610,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2635,20 +2645,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2855,9 +2851,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2865,7 +2861,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2875,14 +2871,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2890,20 +2886,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2927,15 +2909,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2945,7 +2928,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2960,13 +2943,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -3061,15 +3043,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -3079,7 +3062,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3094,15 +3077,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -3169,20 +3151,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3328,9 +3296,9 @@

@@ -3408,15 +3376,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3426,7 +3395,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3448,13 +3417,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3548,12 +3516,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3581,13 +3550,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3621,9 +3589,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3729,9 +3697,9 @@

@@ -3800,15 +3768,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3818,7 +3787,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3840,15 +3809,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3880,15 +3848,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3898,7 +3867,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3913,15 +3882,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -4095,15 +4063,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -4113,7 +4082,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4128,15 +4097,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4460,9 +4428,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4510,16 +4478,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4529,7 +4497,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4560,16 +4528,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4579,7 +4547,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4701,9 +4669,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4766,16 +4734,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4785,14 +4753,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4838,9 +4806,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4980,9 +4948,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -5076,16 +5044,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -5095,7 +5063,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -5148,9 +5116,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5263,9 +5231,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5339,9 +5307,9 @@

Prepares the request URL

@@ -5396,9 +5364,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5477,9 +5445,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5540,9 +5508,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5611,9 +5579,9 @@

Parses the response from a request to the token endpoint

@@ -5714,16 +5682,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5740,7 +5708,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5802,16 +5770,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5828,7 +5796,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5874,9 +5842,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5931,16 +5899,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5957,7 +5925,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6003,9 +5971,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Flickr.html b/classes/chillerlan-OAuth-Providers-Flickr.html index 5ee823e..9796709 100644 --- a/classes/chillerlan-OAuth-Providers-Flickr.html +++ b/classes/chillerlan-OAuth-Providers-Flickr.html @@ -1507,9 +1507,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

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

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1789,7 +1789,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1804,20 +1804,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1902,9 +1888,9 @@

Authorizes the $request with the credentials from the given $token @@ -2104,9 +2090,9 @@

@@ -2184,7 +2170,7 @@

@@ -2244,7 +2230,7 @@

@@ -2306,20 +2292,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2343,9 +2315,9 @@

@@ -2840,9 +2812,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2890,16 +2862,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2909,7 +2881,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2940,16 +2912,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2959,7 +2931,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3081,9 +3053,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -3138,9 +3110,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3284,9 +3256,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3422,9 +3394,9 @@

Prepares the request URL

@@ -3479,16 +3451,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3505,7 +3477,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3588,9 +3560,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3651,9 +3623,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3826,16 +3798,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3845,7 +3817,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3891,9 +3863,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -4013,16 +3985,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -4039,7 +4011,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4070,9 +4042,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Foursquare.html b/classes/chillerlan-OAuth-Providers-Foursquare.html index 6238ea3..3a82dff 100644 --- a/classes/chillerlan-OAuth-Providers-Foursquare.html +++ b/classes/chillerlan-OAuth-Providers-Foursquare.html @@ -385,18 +385,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -440,6 +443,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -453,6 +457,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -487,6 +492,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -500,6 +506,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -520,12 +527,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -546,6 +555,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1766,12 +1776,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1799,15 +1810,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1843,12 +1853,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1883,15 +1894,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1923,12 +1933,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1956,15 +1967,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2023,9 +2033,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2058,20 +2068,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2278,9 +2274,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2288,7 +2284,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2298,14 +2294,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2313,20 +2309,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2350,15 +2332,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2368,7 +2351,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2383,13 +2366,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2484,15 +2466,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2502,7 +2485,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2517,15 +2500,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2592,20 +2574,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2751,9 +2719,9 @@

@@ -2831,15 +2799,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2849,7 +2818,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2871,13 +2840,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2911,7 +2879,7 @@

@@ -2934,13 +2902,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -2971,12 +2932,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3004,13 +2966,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3044,7 +3005,7 @@

@@ -3113,13 +3074,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3150,9 +3104,9 @@

@@ -3221,15 +3175,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3239,7 +3194,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3261,15 +3216,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3301,15 +3255,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3319,7 +3274,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3334,15 +3289,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3516,15 +3470,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3534,7 +3489,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3549,15 +3504,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3881,9 +3835,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3931,16 +3885,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3950,7 +3904,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3981,16 +3935,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4000,7 +3954,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4122,9 +4076,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4187,16 +4141,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4206,14 +4160,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4259,9 +4213,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4324,9 +4278,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4396,9 +4350,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4492,16 +4446,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4511,7 +4465,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4564,9 +4518,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4679,9 +4633,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4755,9 +4709,9 @@

Prepares the request URL

@@ -4812,9 +4766,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4893,9 +4847,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4956,9 +4910,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5027,9 +4981,9 @@

Parses the response from a request to the token endpoint

@@ -5130,16 +5084,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5156,7 +5110,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5218,16 +5172,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5244,7 +5198,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5290,9 +5244,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5347,16 +5301,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5373,7 +5327,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5419,9 +5373,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-GitHub.html b/classes/chillerlan-OAuth-Providers-GitHub.html index b102244..050de45 100644 --- a/classes/chillerlan-OAuth-Providers-GitHub.html +++ b/classes/chillerlan-OAuth-Providers-GitHub.html @@ -597,18 +597,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -652,6 +655,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -665,6 +669,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -699,6 +704,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -712,6 +718,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -732,12 +739,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -758,6 +767,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -3001,12 +3011,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -3034,15 +3045,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -3078,12 +3088,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -3118,15 +3129,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -3158,12 +3168,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -3191,15 +3202,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -3258,9 +3268,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -3293,20 +3303,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3513,9 +3509,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -3523,7 +3519,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -3533,14 +3529,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -3548,20 +3544,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3585,15 +3567,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -3603,7 +3586,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -3618,13 +3601,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -3719,15 +3701,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -3737,7 +3720,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3752,15 +3735,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -3827,20 +3809,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3986,9 +3954,9 @@

@@ -4066,15 +4034,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -4084,7 +4053,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -4106,13 +4075,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -4206,12 +4174,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -4239,13 +4208,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -4279,9 +4247,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -4387,9 +4355,9 @@

@@ -4458,15 +4426,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -4476,7 +4445,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4498,15 +4467,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -4538,15 +4506,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -4556,7 +4525,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4571,15 +4540,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -4753,15 +4721,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -4771,7 +4740,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4786,15 +4755,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -5118,9 +5086,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -5168,16 +5136,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -5187,7 +5155,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -5218,16 +5186,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -5237,7 +5205,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -5359,9 +5327,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -5424,16 +5392,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -5443,14 +5411,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -5496,9 +5464,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -5561,9 +5529,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -5633,9 +5601,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -5729,16 +5697,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -5748,7 +5716,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -5801,9 +5769,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5916,9 +5884,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5992,9 +5960,9 @@

Prepares the request URL

@@ -6049,9 +6017,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -6130,9 +6098,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -6193,9 +6161,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -6264,9 +6232,9 @@

Parses the response from a request to the token endpoint

@@ -6367,16 +6335,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6393,7 +6361,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6455,16 +6423,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6481,7 +6449,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6527,9 +6495,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -6584,16 +6552,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6610,7 +6578,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6656,9 +6624,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-GitLab.html b/classes/chillerlan-OAuth-Providers-GitLab.html index 2c8b891..beb1d26 100644 --- a/classes/chillerlan-OAuth-Providers-GitLab.html +++ b/classes/chillerlan-OAuth-Providers-GitLab.html @@ -362,18 +362,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -417,6 +420,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -430,6 +434,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -464,6 +469,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -477,6 +483,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -497,12 +504,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -523,6 +532,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1621,12 +1631,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1654,15 +1665,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1698,12 +1708,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1738,15 +1749,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1778,12 +1788,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1811,15 +1822,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1878,9 +1888,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -1913,20 +1923,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2133,9 +2129,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2143,7 +2139,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2153,14 +2149,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2168,20 +2164,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2205,15 +2187,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2223,7 +2206,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2238,13 +2221,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2339,15 +2321,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2357,7 +2340,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2372,15 +2355,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2447,20 +2429,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2606,9 +2574,9 @@

@@ -2686,15 +2654,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2704,7 +2673,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2726,13 +2695,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2826,12 +2794,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2859,13 +2828,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2899,9 +2867,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3007,9 +2975,9 @@

@@ -3078,15 +3046,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3096,7 +3065,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3118,15 +3087,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3158,15 +3126,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3176,7 +3145,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3191,15 +3160,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3373,15 +3341,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3391,7 +3360,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3406,15 +3375,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3738,9 +3706,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3788,16 +3756,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3807,7 +3775,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3838,16 +3806,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3857,7 +3825,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3979,9 +3947,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4044,16 +4012,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4063,14 +4031,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4116,9 +4084,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4181,9 +4149,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4253,9 +4221,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4349,16 +4317,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4368,7 +4336,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4421,9 +4389,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4536,9 +4504,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4612,9 +4580,9 @@

Prepares the request URL

@@ -4669,9 +4637,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4750,9 +4718,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4813,9 +4781,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4884,9 +4852,9 @@

Parses the response from a request to the token endpoint

@@ -4987,16 +4955,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5013,7 +4981,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5075,16 +5043,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5101,7 +5069,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5147,9 +5115,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5204,16 +5172,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5230,7 +5198,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5276,9 +5244,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Gitea.html b/classes/chillerlan-OAuth-Providers-Gitea.html index 3637dc2..e496bfc 100644 --- a/classes/chillerlan-OAuth-Providers-Gitea.html +++ b/classes/chillerlan-OAuth-Providers-Gitea.html @@ -511,18 +511,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -566,6 +569,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -579,6 +583,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -613,6 +618,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -626,6 +632,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -646,12 +653,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -672,6 +681,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2543,12 +2553,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2576,15 +2587,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2620,12 +2630,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2660,15 +2671,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2700,12 +2710,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2733,15 +2744,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2800,9 +2810,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2835,20 +2845,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3055,9 +3051,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -3065,7 +3061,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -3075,14 +3071,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -3090,20 +3086,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3127,15 +3109,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -3145,7 +3128,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -3160,13 +3143,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -3261,15 +3243,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -3279,7 +3262,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3294,15 +3277,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -3369,20 +3351,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3528,9 +3496,9 @@

@@ -3608,15 +3576,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3626,7 +3595,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3648,13 +3617,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3748,12 +3716,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3781,13 +3750,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3821,9 +3789,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3929,9 +3897,9 @@

@@ -4000,15 +3968,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -4018,7 +3987,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4040,15 +4009,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -4080,15 +4048,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -4098,7 +4067,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4113,15 +4082,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -4295,15 +4263,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -4313,7 +4282,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4328,15 +4297,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4660,9 +4628,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4710,16 +4678,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4729,7 +4697,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4760,16 +4728,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4779,7 +4747,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4901,9 +4869,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4966,16 +4934,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4985,14 +4953,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -5038,9 +5006,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -5103,9 +5071,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -5175,9 +5143,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -5271,16 +5239,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -5290,7 +5258,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -5343,9 +5311,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5458,9 +5426,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5534,9 +5502,9 @@

Prepares the request URL

@@ -5591,9 +5559,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5672,9 +5640,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5735,9 +5703,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5806,9 +5774,9 @@

Parses the response from a request to the token endpoint

@@ -5909,16 +5877,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5935,7 +5903,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5997,16 +5965,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6023,7 +5991,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6069,9 +6037,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -6126,16 +6094,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6152,7 +6120,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6198,9 +6166,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Google.html b/classes/chillerlan-OAuth-Providers-Google.html index 320174e..da79b86 100644 --- a/classes/chillerlan-OAuth-Providers-Google.html +++ b/classes/chillerlan-OAuth-Providers-Google.html @@ -405,18 +405,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -460,6 +463,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -473,6 +477,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -507,6 +512,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -520,6 +526,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -540,12 +547,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -566,6 +575,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1817,12 +1827,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1850,15 +1861,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1894,12 +1904,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1934,15 +1945,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1974,12 +1984,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2007,15 +2018,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2074,9 +2084,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2109,20 +2119,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2329,9 +2325,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2339,7 +2335,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2349,14 +2345,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2364,20 +2360,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2401,15 +2383,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2419,7 +2402,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2434,13 +2417,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2535,15 +2517,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2553,7 +2536,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2568,15 +2551,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2643,20 +2625,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2802,9 +2770,9 @@

@@ -2882,15 +2850,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2900,7 +2869,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2922,13 +2891,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3022,12 +2990,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3055,13 +3024,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3095,9 +3063,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3203,9 +3171,9 @@

@@ -3274,15 +3242,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3292,7 +3261,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3314,15 +3283,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3354,15 +3322,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3372,7 +3341,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3387,15 +3356,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3569,15 +3537,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3587,7 +3556,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3602,15 +3571,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3934,9 +3902,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3984,16 +3952,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4003,7 +3971,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4034,16 +4002,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4053,7 +4021,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4175,9 +4143,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4240,16 +4208,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4259,14 +4227,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4312,9 +4280,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4377,9 +4345,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4449,9 +4417,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4545,16 +4513,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4564,7 +4532,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4617,9 +4585,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4732,9 +4700,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4808,9 +4776,9 @@

Prepares the request URL

@@ -4865,9 +4833,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4946,9 +4914,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5009,9 +4977,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5080,9 +5048,9 @@

Parses the response from a request to the token endpoint

@@ -5183,16 +5151,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5209,7 +5177,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5271,16 +5239,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5297,7 +5265,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5343,9 +5311,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5400,16 +5368,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5426,7 +5394,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5472,9 +5440,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-GuildWars2.html b/classes/chillerlan-OAuth-Providers-GuildWars2.html index fb30fa8..40c59e2 100644 --- a/classes/chillerlan-OAuth-Providers-GuildWars2.html +++ b/classes/chillerlan-OAuth-Providers-GuildWars2.html @@ -431,18 +431,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -486,6 +489,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -499,6 +503,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -533,6 +538,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -546,6 +552,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -566,12 +573,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -592,6 +601,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2006,12 +2016,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2039,15 +2050,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2083,12 +2093,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2123,15 +2134,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2163,12 +2173,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2196,15 +2207,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2263,7 +2273,7 @@

@@ -2525,7 +2535,7 @@

@@ -2604,15 +2614,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2622,7 +2633,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2637,13 +2648,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2738,15 +2748,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2756,7 +2767,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2771,15 +2782,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2846,20 +2856,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3005,9 +3001,9 @@

@@ -3085,15 +3081,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3103,7 +3100,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3125,13 +3122,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3165,7 +3161,7 @@

@@ -3188,13 +3184,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3225,12 +3214,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3258,13 +3248,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3298,9 +3287,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3406,9 +3395,9 @@

@@ -3477,15 +3466,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3495,7 +3485,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3517,15 +3507,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3557,15 +3546,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3575,7 +3565,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3590,15 +3580,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3772,15 +3761,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3790,7 +3780,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3805,15 +3795,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4137,7 +4126,7 @@

@@ -4200,9 +4189,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4250,16 +4239,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4269,7 +4258,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4300,16 +4289,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4319,7 +4308,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4441,9 +4430,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4506,16 +4495,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4525,14 +4514,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4578,9 +4567,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4643,9 +4632,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4715,9 +4704,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4811,16 +4800,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4830,7 +4819,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4883,9 +4872,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4998,9 +4987,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5074,9 +5063,9 @@

Prepares the request URL

@@ -5131,9 +5120,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5212,9 +5201,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5275,9 +5264,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5346,9 +5335,9 @@

Parses the response from a request to the token endpoint

@@ -5449,16 +5438,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5475,7 +5464,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5537,16 +5526,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5563,7 +5552,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5609,9 +5598,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5666,16 +5655,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5692,7 +5681,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5738,9 +5727,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Imgur.html b/classes/chillerlan-OAuth-Providers-Imgur.html index aa7ce03..5378381 100644 --- a/classes/chillerlan-OAuth-Providers-Imgur.html +++ b/classes/chillerlan-OAuth-Providers-Imgur.html @@ -364,18 +364,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -419,6 +422,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -432,6 +436,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -466,6 +471,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -479,6 +485,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -499,12 +506,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -525,6 +534,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1621,12 +1631,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1654,15 +1665,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1698,12 +1708,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1738,15 +1749,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1778,12 +1788,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1811,15 +1822,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1878,7 +1888,7 @@

@@ -1912,20 +1922,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2132,9 +2128,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2142,7 +2138,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2152,14 +2148,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2167,20 +2163,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2204,15 +2186,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2222,7 +2205,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2237,13 +2220,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2338,15 +2320,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2356,7 +2339,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2371,15 +2354,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2446,20 +2428,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2605,9 +2573,9 @@

@@ -2685,15 +2653,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2703,7 +2672,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2725,13 +2694,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2765,7 +2733,7 @@

@@ -2788,13 +2756,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -2825,12 +2786,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2858,13 +2820,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2898,9 +2859,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3006,9 +2967,9 @@

@@ -3077,15 +3038,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3095,7 +3057,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3117,15 +3079,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3157,15 +3118,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3175,7 +3137,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3190,15 +3152,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3372,15 +3333,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3390,7 +3352,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3405,15 +3367,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3737,9 +3698,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3787,16 +3748,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3806,7 +3767,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3837,16 +3798,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3856,7 +3817,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3978,9 +3939,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4043,16 +4004,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4062,14 +4023,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4115,9 +4076,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4180,9 +4141,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4252,9 +4213,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4348,16 +4309,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4367,7 +4328,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4420,9 +4381,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4535,9 +4496,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4611,9 +4572,9 @@

Prepares the request URL

@@ -4668,9 +4629,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4749,9 +4710,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4812,9 +4773,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4883,9 +4844,9 @@

Parses the response from a request to the token endpoint

@@ -4986,16 +4947,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5012,7 +4973,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5074,16 +5035,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5100,7 +5061,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5146,9 +5107,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5203,16 +5164,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5229,7 +5190,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5275,9 +5236,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-LastFM.html b/classes/chillerlan-OAuth-Providers-LastFM.html index 4e9f647..27d8971 100644 --- a/classes/chillerlan-OAuth-Providers-LastFM.html +++ b/classes/chillerlan-OAuth-Providers-LastFM.html @@ -343,7 +343,7 @@

$scrobbles -  : array<string|int, mixed> +  : array<int, array<string, scalar>>
@@ -491,7 +491,7 @@

scrobble() -  : array<string|int, mixed> +  : array<string, scalar>
Scrobbles an array of one or more tracks
@@ -553,7 +553,7 @@

addSignature() -  : array<string|int, mixed> +  : array<string, string>
returns the signature for the set of parameters
@@ -672,7 +672,7 @@

sendScrobbles() -  : array<string|int, mixed>|null +  : array<string, mixed>|null
@@ -1395,7 +1395,7 @@

@@ -1403,7 +1403,7 @@

protected - array<string|int, mixed> + array<int, array<string, scalar>> $scrobbles = [] @@ -1675,7 +1675,7 @@

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

public - addScrobble(array<string|int, mixed> $track) : static + addScrobble(array<string, scalar> $track) : static
@@ -1693,7 +1693,7 @@

Parameters
$track - : array<string|int, mixed> + : array<string, scalar>
@@ -1724,7 +1724,7 @@

@@ -1776,7 +1776,7 @@

@@ -2008,7 +2008,7 @@

@@ -2022,7 +2022,10 @@

- +

If the provider supports RFC-9126 "Pushed Authorization Requests (PAR)", a request to the PAR endpoint +shall be made within this method in order to send authorization data and obtain a temporary request URI.

+
+

Parameters
@@ -2042,20 +2045,6 @@
Parameters
-
- Tags - - -
-
-
- inheritdoc -
-
- - -
-
@@ -2140,7 +2129,7 @@

@@ -2174,20 +2163,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2333,9 +2308,9 @@

@@ -2413,7 +2388,7 @@

@@ -2436,13 +2411,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -2473,7 +2441,7 @@

@@ -2535,20 +2503,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2572,7 +2526,7 @@

@@ -2580,7 +2534,7 @@

public - scrobble(array<string|int, mixed> $tracks) : array<string|int, mixed> + scrobble(array<string, scalar> $tracks) : array<string, scalar>
@@ -2610,7 +2564,7 @@

Parameters
$tracks - : array<string|int, mixed> + : array<string, scalar>
@@ -2637,7 +2591,7 @@
Return values
- array<string|int, mixed> + array<string, scalar>
@@ -2655,9 +2609,9 @@

@@ -3152,9 +3106,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3202,7 +3156,7 @@

@@ -3210,7 +3164,7 @@

protected - addSignature(array<string|int, mixed> $params) : array<string|int, mixed> + addSignature(array<string, string> $params) : array<string, string>
@@ -3220,7 +3174,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3233,7 +3187,7 @@
Parameters
Return values
- array<string|int, mixed> + array<string, string>
@@ -3251,16 +3205,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3270,7 +3224,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3301,16 +3255,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3320,7 +3274,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3442,7 +3396,7 @@

LastFM.php : - 85 + 83 @@ -3491,7 +3445,7 @@

@@ -3499,7 +3453,7 @@

protected - getAuthorization(array<string|int, mixed> $params[, AccessToken|null $token = null ]) : array<string|int, mixed> + getAuthorization(array<string, string> $params[, AccessToken|null $token = null ]) : array<string|int, mixed>
@@ -3509,7 +3463,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3547,9 +3501,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3693,9 +3647,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3769,9 +3723,9 @@

Prepares the request URL

@@ -3826,9 +3780,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3889,9 +3843,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4023,14 +3977,14 @@

protected - parseTrack(array<string|int, mixed> $track) : array<string|int, mixed> + parseTrack(array<string, scalar> $track) : array<string|int, mixed>
@@ -4040,7 +3994,7 @@

Parameters
$track - : array<string|int, mixed> + : array<string, scalar>
@@ -4093,7 +4047,7 @@

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $params) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $params) : ResponseInterface
@@ -4110,7 +4064,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4141,7 +4095,7 @@

@@ -4174,20 +4128,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -4211,14 +4151,14 @@

protected - sendScrobbles(array<string|int, mixed> $body) : array<string|int, mixed>|null + sendScrobbles(array<string, string> $body) : array<string, mixed>|null
@@ -4228,7 +4168,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -4255,7 +4195,7 @@
Return values
- array<string|int, mixed>|null + array<string, mixed>|null
@@ -4273,9 +4213,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-MailChimp.html b/classes/chillerlan-OAuth-Providers-MailChimp.html index c561d4e..5bd7c62 100644 --- a/classes/chillerlan-OAuth-Providers-MailChimp.html +++ b/classes/chillerlan-OAuth-Providers-MailChimp.html @@ -381,18 +381,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -436,6 +439,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -449,6 +453,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -489,6 +494,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -502,6 +508,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -522,12 +529,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -548,6 +557,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1708,12 +1718,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1741,15 +1752,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1785,12 +1795,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1825,15 +1836,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1865,12 +1875,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1898,15 +1909,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1965,7 +1975,7 @@

@@ -1999,20 +2009,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2219,9 +2215,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2229,7 +2225,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2239,14 +2235,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2254,20 +2250,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2291,15 +2273,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2309,7 +2292,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2324,13 +2307,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2425,15 +2407,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2443,7 +2426,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2458,15 +2441,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2533,20 +2515,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2631,7 +2599,7 @@

@@ -2755,9 +2723,9 @@

@@ -2835,15 +2803,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2853,7 +2822,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2875,13 +2844,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2915,7 +2883,7 @@

@@ -2982,12 +2950,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3015,13 +2984,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3055,7 +3023,7 @@

@@ -3117,20 +3085,6 @@

Parameters
-
- Tags - - -
-
-
- inheritdoc -
-
- - -
-
@@ -3154,9 +3108,9 @@

@@ -3225,15 +3179,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3243,7 +3198,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3265,15 +3220,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3305,15 +3259,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3323,7 +3278,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3338,15 +3293,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3520,15 +3474,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3538,7 +3493,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3553,15 +3508,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3885,9 +3839,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3935,16 +3889,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3954,7 +3908,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3985,16 +3939,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4004,7 +3958,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4126,9 +4080,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4191,16 +4145,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4210,14 +4164,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4263,9 +4217,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4328,9 +4282,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4400,9 +4354,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4496,16 +4450,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4515,7 +4469,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4568,9 +4522,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4683,9 +4637,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4759,9 +4713,9 @@

Prepares the request URL

@@ -4816,9 +4770,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4897,9 +4851,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4960,9 +4914,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5031,9 +4985,9 @@

Parses the response from a request to the token endpoint

@@ -5134,16 +5088,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5160,7 +5114,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5222,16 +5176,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5248,7 +5202,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5294,7 +5248,7 @@

@@ -5327,20 +5281,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -5364,16 +5304,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5390,7 +5330,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5436,9 +5376,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Mastodon.html b/classes/chillerlan-OAuth-Providers-Mastodon.html index 47679f2..b38d5ff 100644 --- a/classes/chillerlan-OAuth-Providers-Mastodon.html +++ b/classes/chillerlan-OAuth-Providers-Mastodon.html @@ -404,18 +404,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -459,6 +462,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -472,6 +476,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -506,6 +511,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -519,6 +525,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -539,12 +546,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setInstance() @@ -572,6 +581,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1859,12 +1869,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1892,15 +1903,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1936,12 +1946,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1976,15 +1987,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2016,12 +2026,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2049,15 +2060,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2116,7 +2126,7 @@

@@ -2150,20 +2160,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2370,9 +2366,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2380,7 +2376,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2390,14 +2386,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2405,20 +2401,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2442,15 +2424,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2460,7 +2443,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2475,13 +2458,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2576,15 +2558,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2594,7 +2577,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2609,15 +2592,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2684,20 +2666,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2843,9 +2811,9 @@

@@ -2923,15 +2891,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2941,7 +2910,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2963,13 +2932,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3003,7 +2971,7 @@

@@ -3026,13 +2994,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3063,12 +3024,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3096,13 +3058,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3136,9 +3097,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3244,9 +3205,9 @@

@@ -3315,15 +3276,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3333,7 +3295,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3355,15 +3317,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3395,15 +3356,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3413,7 +3375,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3428,15 +3390,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3674,15 +3635,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3692,7 +3654,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3707,15 +3669,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4039,9 +4000,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4089,16 +4050,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4108,7 +4069,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4139,16 +4100,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4158,7 +4119,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4280,9 +4241,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4345,16 +4306,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4364,14 +4325,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4417,9 +4378,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4482,9 +4443,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4554,9 +4515,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4650,16 +4611,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4669,7 +4630,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4722,9 +4683,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4837,9 +4798,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4913,9 +4874,9 @@

Prepares the request URL

@@ -4970,9 +4931,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5051,9 +5012,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5114,9 +5075,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5185,9 +5146,9 @@

Parses the response from a request to the token endpoint

@@ -5288,16 +5249,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5314,7 +5275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5376,16 +5337,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5402,7 +5363,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5448,9 +5409,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5505,16 +5466,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5531,7 +5492,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5577,9 +5538,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html b/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html index 90a623f..cbf7cd0 100644 --- a/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html +++ b/classes/chillerlan-OAuth-Providers-MicrosoftGraph.html @@ -403,18 +403,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -458,6 +461,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -471,6 +475,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -505,6 +510,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -518,6 +524,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -538,12 +545,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -564,6 +573,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1877,12 +1887,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1910,15 +1921,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1954,12 +1964,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1994,15 +2005,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2034,12 +2044,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2067,15 +2078,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2134,9 +2144,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2169,20 +2179,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2389,9 +2385,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2399,7 +2395,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2409,14 +2405,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2424,20 +2420,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2461,15 +2443,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2479,7 +2462,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2494,13 +2477,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2595,15 +2577,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2613,7 +2596,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2628,15 +2611,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2703,20 +2685,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2862,9 +2830,9 @@

@@ -2942,15 +2910,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2960,7 +2929,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2982,13 +2951,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3082,12 +3050,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3115,13 +3084,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3155,9 +3123,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3263,9 +3231,9 @@

@@ -3334,15 +3302,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3352,7 +3321,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3374,15 +3343,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3414,15 +3382,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3432,7 +3401,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3447,15 +3416,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3629,15 +3597,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3647,7 +3616,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3662,15 +3631,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3994,9 +3962,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4044,16 +4012,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4063,7 +4031,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4094,16 +4062,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4113,7 +4081,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4235,9 +4203,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4300,16 +4268,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4319,14 +4287,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4372,9 +4340,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4437,9 +4405,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4509,9 +4477,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4605,16 +4573,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4624,7 +4592,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4677,9 +4645,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4792,9 +4760,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4868,9 +4836,9 @@

Prepares the request URL

@@ -4925,9 +4893,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5006,9 +4974,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5069,9 +5037,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5140,9 +5108,9 @@

Parses the response from a request to the token endpoint

@@ -5243,16 +5211,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5269,7 +5237,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5331,16 +5299,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5357,7 +5325,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5403,9 +5371,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5460,16 +5428,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5486,7 +5454,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5532,9 +5500,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Mixcloud.html b/classes/chillerlan-OAuth-Providers-Mixcloud.html index 8c29299..218985d 100644 --- a/classes/chillerlan-OAuth-Providers-Mixcloud.html +++ b/classes/chillerlan-OAuth-Providers-Mixcloud.html @@ -369,18 +369,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -424,6 +427,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -437,6 +441,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -471,6 +476,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -484,6 +490,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -504,12 +511,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -530,6 +539,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1657,12 +1667,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1690,15 +1701,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1734,12 +1744,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1774,15 +1785,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1814,12 +1824,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1847,15 +1858,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1914,9 +1924,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -1949,20 +1959,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2169,9 +2165,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2179,7 +2175,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2189,14 +2185,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2204,20 +2200,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2241,15 +2223,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2259,7 +2242,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2274,13 +2257,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2375,15 +2357,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2393,7 +2376,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2408,15 +2391,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2483,20 +2465,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2642,9 +2610,9 @@

@@ -2722,15 +2690,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2740,7 +2709,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2762,13 +2731,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2862,12 +2830,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2895,13 +2864,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2935,9 +2903,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3043,9 +3011,9 @@

@@ -3114,15 +3082,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3132,7 +3101,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3154,15 +3123,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3194,15 +3162,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3212,7 +3181,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3227,15 +3196,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3409,15 +3377,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3427,7 +3396,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3442,15 +3411,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3774,9 +3742,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3824,16 +3792,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3843,7 +3811,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3874,16 +3842,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3893,7 +3861,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4015,9 +3983,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4080,16 +4048,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4099,14 +4067,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4152,9 +4120,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4217,9 +4185,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4289,9 +4257,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4385,16 +4353,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4404,7 +4372,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4457,9 +4425,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4572,9 +4540,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4648,9 +4616,9 @@

Prepares the request URL

@@ -4705,9 +4673,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4786,9 +4754,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4849,9 +4817,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4920,9 +4888,9 @@

Parses the response from a request to the token endpoint

@@ -5023,16 +4991,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5049,7 +5017,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5111,16 +5079,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5137,7 +5105,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5183,9 +5151,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5240,16 +5208,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5266,7 +5234,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5312,9 +5280,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-MusicBrainz.html b/classes/chillerlan-OAuth-Providers-MusicBrainz.html index d8631f1..bca3d64 100644 --- a/classes/chillerlan-OAuth-Providers-MusicBrainz.html +++ b/classes/chillerlan-OAuth-Providers-MusicBrainz.html @@ -415,18 +415,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -470,6 +473,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -483,6 +487,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -517,6 +522,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -530,6 +536,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -550,12 +557,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -576,6 +585,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1903,12 +1913,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1936,15 +1947,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1980,12 +1990,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2020,15 +2031,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2060,12 +2070,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2093,15 +2104,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2160,9 +2170,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2195,20 +2205,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2415,9 +2411,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2425,7 +2421,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2435,14 +2431,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2450,20 +2446,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2487,15 +2469,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2505,7 +2488,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2520,13 +2503,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2621,15 +2603,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2639,7 +2622,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2654,15 +2637,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2729,20 +2711,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2888,9 +2856,9 @@

@@ -2968,15 +2936,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2986,7 +2955,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3008,13 +2977,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3048,7 +3016,7 @@

@@ -3071,13 +3039,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3108,12 +3069,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3141,13 +3103,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3181,7 +3142,7 @@

@@ -3243,20 +3204,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3280,9 +3227,9 @@

@@ -3351,15 +3298,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3369,7 +3317,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3391,15 +3339,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3431,15 +3378,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3449,7 +3397,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3464,15 +3412,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3646,15 +3593,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3664,7 +3612,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3679,15 +3627,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4011,9 +3958,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4061,16 +4008,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4080,7 +4027,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4111,16 +4058,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4130,7 +4077,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4252,9 +4199,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4317,16 +4264,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4336,14 +4283,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4389,9 +4336,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4454,7 +4401,7 @@

MusicBrainz.php : - 71 + 65 @@ -4487,20 +4434,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -4524,9 +4457,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4620,16 +4553,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4639,7 +4572,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4692,7 +4625,7 @@

MusicBrainz.php : - 59 + 56 @@ -4718,20 +4651,6 @@

Parameters
-
- Tags - - -
-
-
- inheritdoc -
-
- - -
-
@@ -4805,9 +4724,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4881,9 +4800,9 @@

Prepares the request URL

@@ -4938,9 +4857,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5019,9 +4938,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5082,9 +5001,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5153,9 +5072,9 @@

Parses the response from a request to the token endpoint

@@ -5256,16 +5175,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5282,7 +5201,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5344,16 +5263,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5370,7 +5289,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5416,9 +5335,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5473,16 +5392,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5499,7 +5418,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5545,9 +5464,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-NPROne.html b/classes/chillerlan-OAuth-Providers-NPROne.html index 7c620d7..bda0039 100644 --- a/classes/chillerlan-OAuth-Providers-NPROne.html +++ b/classes/chillerlan-OAuth-Providers-NPROne.html @@ -404,18 +404,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -459,6 +462,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -472,6 +476,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -506,6 +511,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -519,6 +525,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -546,12 +553,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -572,6 +581,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1839,12 +1849,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1872,15 +1883,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1916,12 +1926,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1956,15 +1967,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1996,12 +2006,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2029,15 +2040,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2096,9 +2106,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2131,20 +2141,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2351,9 +2347,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2361,7 +2357,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2371,14 +2367,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2386,20 +2382,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2423,15 +2405,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2441,7 +2424,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2456,13 +2439,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2557,15 +2539,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2575,7 +2558,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2590,15 +2573,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2665,20 +2647,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2824,9 +2792,9 @@

@@ -2904,15 +2872,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2922,7 +2891,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2944,13 +2913,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2984,7 +2952,7 @@

@@ -3007,13 +2975,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3044,12 +3005,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3077,13 +3039,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3117,9 +3078,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3225,9 +3186,9 @@

@@ -3360,15 +3321,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3378,7 +3340,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3400,15 +3362,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3440,15 +3401,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3458,7 +3420,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3473,15 +3435,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3655,15 +3616,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3673,7 +3635,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3688,15 +3650,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4020,9 +3981,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4070,16 +4031,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4089,7 +4050,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4120,16 +4081,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4139,7 +4100,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4261,9 +4222,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4326,16 +4287,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4345,14 +4306,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4398,9 +4359,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4463,9 +4424,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4535,9 +4496,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4631,16 +4592,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4650,7 +4611,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4703,9 +4664,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4818,9 +4779,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4894,9 +4855,9 @@

Prepares the request URL

@@ -4951,9 +4912,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5032,9 +4993,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5095,9 +5056,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5166,9 +5127,9 @@

Parses the response from a request to the token endpoint

@@ -5269,16 +5230,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5295,7 +5256,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5357,16 +5318,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5383,7 +5344,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5429,9 +5390,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5486,16 +5447,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5512,7 +5473,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5558,9 +5519,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-OpenCaching.html b/classes/chillerlan-OAuth-Providers-OpenCaching.html index 4f9f766..14f4598 100644 --- a/classes/chillerlan-OAuth-Providers-OpenCaching.html +++ b/classes/chillerlan-OAuth-Providers-OpenCaching.html @@ -1426,9 +1426,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

@@ -1698,7 +1698,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1708,7 +1708,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1723,20 +1723,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1821,9 +1807,9 @@

Authorizes the $request with the credentials from the given $token @@ -2023,9 +2009,9 @@

@@ -2163,9 +2149,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2271,9 +2257,9 @@

@@ -2768,9 +2754,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2818,16 +2804,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2837,7 +2823,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2868,16 +2854,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2887,7 +2873,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3009,9 +2995,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -3066,9 +3052,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3212,9 +3198,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3350,9 +3336,9 @@

Prepares the request URL

@@ -3407,16 +3393,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3433,7 +3419,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3516,9 +3502,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3579,9 +3565,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3754,16 +3740,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3773,7 +3759,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3819,9 +3805,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3941,16 +3927,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -3967,7 +3953,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3998,9 +3984,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-OpenStreetmap.html b/classes/chillerlan-OAuth-Providers-OpenStreetmap.html index e3dcac2..1cf3f82 100644 --- a/classes/chillerlan-OAuth-Providers-OpenStreetmap.html +++ b/classes/chillerlan-OAuth-Providers-OpenStreetmap.html @@ -1406,9 +1406,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

@@ -1678,7 +1678,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1688,7 +1688,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1703,20 +1703,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1801,9 +1787,9 @@

Authorizes the $request with the credentials from the given $token @@ -2003,9 +1989,9 @@

@@ -2143,9 +2129,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2251,9 +2237,9 @@

@@ -2748,9 +2734,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2798,16 +2784,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2817,7 +2803,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2848,16 +2834,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2867,7 +2853,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2989,9 +2975,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -3046,9 +3032,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3192,9 +3178,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3330,9 +3316,9 @@

Prepares the request URL

@@ -3387,16 +3373,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3413,7 +3399,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3496,9 +3482,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3559,9 +3545,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3734,16 +3720,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3753,7 +3739,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3799,9 +3785,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3921,16 +3907,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -3947,7 +3933,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3978,9 +3964,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html b/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html index 512cde5..f9e5bd8 100644 --- a/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html +++ b/classes/chillerlan-OAuth-Providers-OpenStreetmap2.html @@ -436,18 +436,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -491,6 +494,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -504,6 +508,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -538,6 +543,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -551,6 +557,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -571,12 +578,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -597,6 +606,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2005,12 +2015,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2038,15 +2049,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2082,12 +2092,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2122,15 +2133,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2162,12 +2172,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2195,15 +2206,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2262,9 +2272,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2297,20 +2307,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2517,9 +2513,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2527,7 +2523,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2537,14 +2533,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2552,20 +2548,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2589,15 +2571,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2607,7 +2590,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2622,13 +2605,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2723,15 +2705,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2741,7 +2724,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2756,15 +2739,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2831,20 +2813,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2990,9 +2958,9 @@

@@ -3070,15 +3038,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3088,7 +3057,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3110,13 +3079,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3210,12 +3178,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3243,13 +3212,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3283,9 +3251,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3391,9 +3359,9 @@

@@ -3462,15 +3430,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3480,7 +3449,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3502,15 +3471,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3542,15 +3510,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3560,7 +3529,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3575,15 +3544,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3757,15 +3725,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3775,7 +3744,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3790,15 +3759,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4122,9 +4090,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4172,16 +4140,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4191,7 +4159,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4222,16 +4190,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4241,7 +4209,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4363,9 +4331,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4428,16 +4396,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4447,14 +4415,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4500,9 +4468,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4565,9 +4533,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4637,9 +4605,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4733,16 +4701,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4752,7 +4720,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4805,9 +4773,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4920,9 +4888,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4996,9 +4964,9 @@

Prepares the request URL

@@ -5053,9 +5021,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5134,9 +5102,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5197,9 +5165,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5268,9 +5236,9 @@

Parses the response from a request to the token endpoint

@@ -5371,16 +5339,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5397,7 +5365,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5459,16 +5427,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5485,7 +5453,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5531,9 +5499,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5588,16 +5556,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5614,7 +5582,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5660,9 +5628,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Patreon.html b/classes/chillerlan-OAuth-Providers-Patreon.html index 4d89cfa..b08823b 100644 --- a/classes/chillerlan-OAuth-Providers-Patreon.html +++ b/classes/chillerlan-OAuth-Providers-Patreon.html @@ -448,18 +448,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -503,6 +506,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -516,6 +520,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -550,6 +555,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -563,6 +569,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -583,12 +590,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -609,6 +618,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2079,12 +2089,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2112,15 +2123,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2156,12 +2166,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2196,15 +2207,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2236,12 +2246,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2269,15 +2280,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2336,9 +2346,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2371,20 +2381,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2591,9 +2587,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2601,7 +2597,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2611,14 +2607,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2626,20 +2622,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2663,15 +2645,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2681,7 +2664,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2696,13 +2679,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2797,15 +2779,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2815,7 +2798,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2830,15 +2813,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2905,20 +2887,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3064,9 +3032,9 @@

@@ -3144,15 +3112,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3162,7 +3131,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3184,13 +3153,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3224,7 +3192,7 @@

@@ -3240,20 +3208,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3277,12 +3231,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3310,13 +3265,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3350,9 +3304,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3458,9 +3412,9 @@

@@ -3529,15 +3483,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3547,7 +3502,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3569,15 +3524,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3609,15 +3563,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3627,7 +3582,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3642,15 +3597,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3824,15 +3778,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3842,7 +3797,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3857,15 +3812,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4189,9 +4143,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4239,16 +4193,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4258,7 +4212,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4289,16 +4243,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4308,7 +4262,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4430,9 +4384,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4495,16 +4449,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4514,14 +4468,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4567,9 +4521,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4632,9 +4586,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4704,9 +4658,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4800,16 +4754,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4819,7 +4773,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4872,9 +4826,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4987,9 +4941,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5063,9 +5017,9 @@

Prepares the request URL

@@ -5120,9 +5074,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5201,9 +5155,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5264,9 +5218,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5335,9 +5289,9 @@

Parses the response from a request to the token endpoint

@@ -5438,16 +5392,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5464,7 +5418,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5526,16 +5480,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5552,7 +5506,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5598,9 +5552,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5655,16 +5609,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5681,7 +5635,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5727,9 +5681,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-PayPal.html b/classes/chillerlan-OAuth-Providers-PayPal.html index d890c1c..0a683cc 100644 --- a/classes/chillerlan-OAuth-Providers-PayPal.html +++ b/classes/chillerlan-OAuth-Providers-PayPal.html @@ -404,18 +404,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -459,6 +462,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -472,6 +476,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -506,6 +511,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -519,6 +525,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -539,12 +546,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -565,6 +574,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1880,12 +1890,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1913,15 +1924,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1957,12 +1967,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1997,15 +2008,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2037,12 +2047,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2070,15 +2081,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2137,9 +2147,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2172,20 +2182,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2392,9 +2388,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2402,7 +2398,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2412,14 +2408,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2427,20 +2423,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2464,15 +2446,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2482,7 +2465,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2497,13 +2480,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2598,15 +2580,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2616,7 +2599,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2631,15 +2614,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2706,20 +2688,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2865,9 +2833,9 @@

@@ -2945,15 +2913,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2963,7 +2932,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2985,13 +2954,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3085,12 +3053,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3118,13 +3087,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3158,9 +3126,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3266,9 +3234,9 @@

@@ -3337,15 +3305,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3355,7 +3324,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3377,15 +3346,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3417,15 +3385,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3435,7 +3404,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3450,15 +3419,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3632,15 +3600,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3650,7 +3619,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3665,15 +3634,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3997,9 +3965,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4047,16 +4015,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4066,7 +4034,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4097,16 +4065,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4116,7 +4084,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4238,9 +4206,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4303,16 +4271,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4322,14 +4290,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4375,9 +4343,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4440,9 +4408,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4512,9 +4480,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4608,16 +4576,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4627,7 +4595,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4680,9 +4648,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4795,9 +4763,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4871,9 +4839,9 @@

Prepares the request URL

@@ -4928,9 +4896,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5009,9 +4977,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5072,9 +5040,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5143,9 +5111,9 @@

Parses the response from a request to the token endpoint

@@ -5246,16 +5214,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5272,7 +5240,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5334,16 +5302,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5360,7 +5328,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5406,9 +5374,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5463,16 +5431,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5489,7 +5457,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5535,9 +5503,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-PayPalSandbox.html b/classes/chillerlan-OAuth-Providers-PayPalSandbox.html index 166e52f..d055ba0 100644 --- a/classes/chillerlan-OAuth-Providers-PayPalSandbox.html +++ b/classes/chillerlan-OAuth-Providers-PayPalSandbox.html @@ -393,18 +393,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -448,6 +451,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -461,6 +465,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -495,6 +500,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -508,6 +514,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -528,12 +535,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -554,6 +563,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1869,12 +1879,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1902,15 +1913,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1946,12 +1956,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1986,15 +1997,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2026,12 +2036,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2059,15 +2070,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2126,9 +2136,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2161,20 +2171,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2381,9 +2377,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2391,7 +2387,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2401,14 +2397,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2416,20 +2412,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2453,15 +2435,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2471,7 +2454,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2486,13 +2469,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2587,15 +2569,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2605,7 +2588,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2620,15 +2603,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2695,20 +2677,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2854,9 +2822,9 @@

@@ -2934,15 +2902,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2952,7 +2921,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2974,13 +2943,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3074,12 +3042,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3107,13 +3076,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3147,9 +3115,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3255,9 +3223,9 @@

@@ -3326,15 +3294,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3344,7 +3313,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3366,15 +3335,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3406,15 +3374,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3424,7 +3393,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3439,15 +3408,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3621,15 +3589,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3639,7 +3608,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3654,15 +3623,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3986,9 +3954,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4036,16 +4004,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4055,7 +4023,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4086,16 +4054,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4105,7 +4073,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4227,9 +4195,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4292,16 +4260,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4311,14 +4279,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4364,9 +4332,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4429,9 +4397,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4501,9 +4469,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4597,16 +4565,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4616,7 +4584,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4669,9 +4637,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4784,9 +4752,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4860,9 +4828,9 @@

Prepares the request URL

@@ -4917,9 +4885,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4998,9 +4966,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5061,9 +5029,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5132,9 +5100,9 @@

Parses the response from a request to the token endpoint

@@ -5235,16 +5203,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5261,7 +5229,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5323,16 +5291,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5349,7 +5317,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5395,9 +5363,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5452,16 +5420,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5478,7 +5446,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5524,9 +5492,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Pinterest.html b/classes/chillerlan-OAuth-Providers-Pinterest.html index 00dc57f..c51e6b4 100644 --- a/classes/chillerlan-OAuth-Providers-Pinterest.html +++ b/classes/chillerlan-OAuth-Providers-Pinterest.html @@ -451,18 +451,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -506,6 +509,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -519,6 +523,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -553,6 +558,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -566,6 +572,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -586,12 +593,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -612,6 +621,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2173,12 +2183,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2206,15 +2217,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2250,12 +2260,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2290,15 +2301,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2330,12 +2340,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2363,15 +2374,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2430,9 +2440,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2465,20 +2475,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2685,9 +2681,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2695,7 +2691,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2705,14 +2701,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2720,20 +2716,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2757,15 +2739,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2775,7 +2758,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2790,13 +2773,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2891,15 +2873,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2909,7 +2892,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2924,15 +2907,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2999,20 +2981,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3158,9 +3126,9 @@

@@ -3238,15 +3206,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3256,7 +3225,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3278,13 +3247,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3378,12 +3346,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3411,13 +3380,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3451,9 +3419,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3559,9 +3527,9 @@

@@ -3630,15 +3598,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3648,7 +3617,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3670,15 +3639,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3710,15 +3678,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3728,7 +3697,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3743,15 +3712,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3925,15 +3893,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3943,7 +3912,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3958,15 +3927,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4290,9 +4258,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4340,16 +4308,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4359,7 +4327,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4390,16 +4358,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4409,7 +4377,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4531,9 +4499,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4596,16 +4564,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4615,14 +4583,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4668,9 +4636,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4733,9 +4701,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4805,9 +4773,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4901,16 +4869,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4920,7 +4888,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4973,9 +4941,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5088,9 +5056,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5164,9 +5132,9 @@

Prepares the request URL

@@ -5221,9 +5189,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5302,9 +5270,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5365,9 +5333,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5436,9 +5404,9 @@

Parses the response from a request to the token endpoint

@@ -5539,16 +5507,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5565,7 +5533,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5627,16 +5595,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5653,7 +5621,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5699,9 +5667,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5756,16 +5724,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5782,7 +5750,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5828,9 +5796,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Reddit.html b/classes/chillerlan-OAuth-Providers-Reddit.html index 1651a6a..645d830 100644 --- a/classes/chillerlan-OAuth-Providers-Reddit.html +++ b/classes/chillerlan-OAuth-Providers-Reddit.html @@ -592,18 +592,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -647,6 +650,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -660,6 +664,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -694,6 +699,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -707,6 +713,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -727,12 +734,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -753,6 +762,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2886,12 +2896,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2919,15 +2930,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2963,12 +2973,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -3003,15 +3014,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -3043,12 +3053,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -3076,15 +3087,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -3143,9 +3153,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -3178,20 +3188,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3398,9 +3394,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -3408,7 +3404,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -3418,14 +3414,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -3433,20 +3429,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3470,15 +3452,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -3488,7 +3471,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -3503,13 +3486,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -3604,15 +3586,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -3622,7 +3605,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3637,15 +3620,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -3712,20 +3694,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3871,9 +3839,9 @@

@@ -3951,15 +3919,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3969,7 +3938,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3991,13 +3960,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -4091,12 +4059,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -4124,13 +4093,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -4164,9 +4132,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -4272,9 +4240,9 @@

@@ -4343,15 +4311,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -4361,7 +4330,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4383,15 +4352,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -4423,15 +4391,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -4441,7 +4410,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4456,15 +4425,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -4638,15 +4606,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -4656,7 +4625,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4671,15 +4640,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -5003,9 +4971,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -5053,16 +5021,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -5072,7 +5040,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -5103,16 +5071,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -5122,7 +5090,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -5244,9 +5212,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -5309,16 +5277,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -5328,14 +5296,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -5381,9 +5349,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -5446,9 +5414,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -5518,9 +5486,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -5614,16 +5582,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -5633,7 +5601,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -5686,9 +5654,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5801,9 +5769,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5877,9 +5845,9 @@

Prepares the request URL

@@ -5934,9 +5902,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -6015,9 +5983,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -6078,9 +6046,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -6149,9 +6117,9 @@

Parses the response from a request to the token endpoint

@@ -6252,16 +6220,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6278,7 +6246,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6340,16 +6308,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6366,7 +6334,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6412,9 +6380,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -6539,9 +6507,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Slack.html b/classes/chillerlan-OAuth-Providers-Slack.html index 0cfdda3..b9ff882 100644 --- a/classes/chillerlan-OAuth-Providers-Slack.html +++ b/classes/chillerlan-OAuth-Providers-Slack.html @@ -681,18 +681,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -736,6 +739,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -749,6 +753,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -783,6 +788,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -796,6 +802,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -816,12 +823,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -842,6 +851,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -3519,12 +3529,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -3552,15 +3563,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -3596,12 +3606,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -3636,15 +3647,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -3676,12 +3686,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -3709,15 +3720,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -3776,9 +3786,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -3811,20 +3821,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -4031,9 +4027,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -4041,7 +4037,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -4051,14 +4047,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -4066,20 +4062,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -4103,15 +4085,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -4121,7 +4104,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -4136,13 +4119,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -4237,15 +4219,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -4255,7 +4238,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -4270,15 +4253,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -4345,20 +4327,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -4504,9 +4472,9 @@

@@ -4584,15 +4552,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -4602,7 +4571,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -4624,13 +4593,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -4724,12 +4692,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -4757,13 +4726,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -4797,9 +4765,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -4905,9 +4873,9 @@

@@ -4976,15 +4944,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -4994,7 +4963,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -5016,15 +4985,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -5056,15 +5024,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -5074,7 +5043,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -5089,15 +5058,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -5271,15 +5239,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -5289,7 +5258,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -5304,15 +5273,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -5636,9 +5604,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -5686,16 +5654,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -5705,7 +5673,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -5736,16 +5704,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -5755,7 +5723,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -5877,9 +5845,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -5942,16 +5910,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -5961,14 +5929,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -6014,9 +5982,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -6079,9 +6047,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -6151,9 +6119,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -6247,16 +6215,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -6266,7 +6234,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -6319,9 +6287,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -6434,9 +6402,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -6510,9 +6478,9 @@

Prepares the request URL

@@ -6567,9 +6535,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -6648,9 +6616,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -6711,9 +6679,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -6782,9 +6750,9 @@

Parses the response from a request to the token endpoint

@@ -6885,16 +6853,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6911,7 +6879,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6973,16 +6941,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6999,7 +6967,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -7045,9 +7013,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -7102,16 +7070,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -7128,7 +7096,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -7174,9 +7142,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-SoundCloud.html b/classes/chillerlan-OAuth-Providers-SoundCloud.html index a170246..5a003f4 100644 --- a/classes/chillerlan-OAuth-Providers-SoundCloud.html +++ b/classes/chillerlan-OAuth-Providers-SoundCloud.html @@ -393,18 +393,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -448,6 +451,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -461,6 +465,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -495,6 +500,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -508,6 +514,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -528,12 +535,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -554,6 +563,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1743,12 +1753,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1776,15 +1787,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1820,12 +1830,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1860,15 +1871,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1900,12 +1910,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1933,15 +1944,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2000,9 +2010,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2035,20 +2045,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2255,9 +2251,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2265,7 +2261,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2275,14 +2271,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2290,20 +2286,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2327,15 +2309,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2345,7 +2328,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2360,13 +2343,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2461,15 +2443,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2479,7 +2462,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2494,15 +2477,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2569,20 +2551,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2728,9 +2696,9 @@

@@ -2808,15 +2776,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2826,7 +2795,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2848,13 +2817,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2948,12 +2916,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2981,13 +2950,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3021,9 +2989,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3129,9 +3097,9 @@

@@ -3200,15 +3168,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3218,7 +3187,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3240,15 +3209,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3280,15 +3248,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3298,7 +3267,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3313,15 +3282,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3495,15 +3463,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3513,7 +3482,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3528,15 +3497,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3860,9 +3828,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3910,16 +3878,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3929,7 +3897,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3960,16 +3928,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3979,7 +3947,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4101,9 +4069,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4166,16 +4134,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4185,14 +4153,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4238,9 +4206,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4303,9 +4271,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4375,9 +4343,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4471,16 +4439,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4490,7 +4458,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4543,9 +4511,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4658,9 +4626,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4734,9 +4702,9 @@

Prepares the request URL

@@ -4791,9 +4759,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4872,9 +4840,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4935,9 +4903,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5006,9 +4974,9 @@

Parses the response from a request to the token endpoint

@@ -5109,16 +5077,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5135,7 +5103,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5197,16 +5165,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5223,7 +5191,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5269,9 +5237,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5326,16 +5294,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5352,7 +5320,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5398,9 +5366,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Spotify.html b/classes/chillerlan-OAuth-Providers-Spotify.html index 3871d9b..6452d83 100644 --- a/classes/chillerlan-OAuth-Providers-Spotify.html +++ b/classes/chillerlan-OAuth-Providers-Spotify.html @@ -519,18 +519,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -574,6 +577,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -587,6 +591,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -621,6 +626,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -634,6 +640,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -654,12 +661,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -680,6 +689,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2534,12 +2544,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2567,15 +2578,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2611,12 +2621,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2651,15 +2662,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2691,12 +2701,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2724,15 +2735,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2791,9 +2801,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2826,20 +2836,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3046,9 +3042,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -3056,7 +3052,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -3066,14 +3062,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -3081,20 +3077,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3118,15 +3100,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -3136,7 +3119,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -3151,13 +3134,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -3252,15 +3234,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -3270,7 +3253,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3285,15 +3268,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -3360,20 +3342,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3519,9 +3487,9 @@

@@ -3599,15 +3567,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3617,7 +3586,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3639,13 +3608,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3739,12 +3707,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3772,13 +3741,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3812,9 +3780,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3920,9 +3888,9 @@

@@ -3991,15 +3959,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -4009,7 +3978,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4031,15 +4000,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -4071,15 +4039,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -4089,7 +4058,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4104,15 +4073,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -4286,15 +4254,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -4304,7 +4273,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4319,15 +4288,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4651,9 +4619,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4701,16 +4669,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4720,7 +4688,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4751,16 +4719,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4770,7 +4738,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4892,9 +4860,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4957,16 +4925,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4976,14 +4944,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -5029,9 +4997,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -5094,9 +5062,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -5166,9 +5134,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -5262,16 +5230,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -5281,7 +5249,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -5334,9 +5302,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5449,9 +5417,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5525,9 +5493,9 @@

Prepares the request URL

@@ -5582,9 +5550,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5663,9 +5631,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5726,9 +5694,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5797,9 +5765,9 @@

Parses the response from a request to the token endpoint

@@ -5900,16 +5868,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5926,7 +5894,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5988,16 +5956,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6014,7 +5982,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6060,9 +6028,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -6117,16 +6085,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6143,7 +6111,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6189,9 +6157,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Steam.html b/classes/chillerlan-OAuth-Providers-Steam.html index 1b93cbf..22efd5c 100644 --- a/classes/chillerlan-OAuth-Providers-Steam.html +++ b/classes/chillerlan-OAuth-Providers-Steam.html @@ -1349,7 +1349,7 @@

@@ -1357,7 +1357,7 @@

public - getAccessToken(array<string|int, mixed> $urlQuery) : AccessToken + getAccessToken(array<string, string> $urlQuery) : AccessToken
@@ -1367,7 +1367,7 @@

Parameters
$urlQuery - : array<string|int, mixed> + : array<string, string>
@@ -1581,7 +1581,7 @@

@@ -1589,7 +1589,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -1599,14 +1599,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -1712,7 +1712,7 @@

@@ -1746,20 +1746,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1905,9 +1891,9 @@

@@ -1985,7 +1971,7 @@

@@ -2008,13 +1994,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -2045,9 +2024,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2153,9 +2132,9 @@

@@ -2650,9 +2629,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2700,16 +2679,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2719,7 +2698,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2750,16 +2729,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2769,7 +2748,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2891,7 +2870,7 @@

Steam.php : - 72 + 79 @@ -2899,7 +2878,7 @@

protected - getAccessTokenRequestBodyParams(array<string|int, mixed> $received) : array<string|int, mixed> + getAccessTokenRequestBodyParams(array<string, string> $received) : array<string|int, mixed>
@@ -2909,7 +2888,7 @@

Parameters
$received - : array<string|int, mixed> + : array<string, string>
@@ -2940,9 +2919,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3086,9 +3065,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3162,9 +3141,9 @@

Prepares the request URL

@@ -3219,9 +3198,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3282,9 +3261,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3353,7 +3332,7 @@

@@ -3423,7 +3402,7 @@

@@ -3431,7 +3410,7 @@

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -3448,7 +3427,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3479,9 +3458,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3536,9 +3515,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Stripe.html b/classes/chillerlan-OAuth-Providers-Stripe.html index 47ed500..d8a7d25 100644 --- a/classes/chillerlan-OAuth-Providers-Stripe.html +++ b/classes/chillerlan-OAuth-Providers-Stripe.html @@ -406,18 +406,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -461,6 +464,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -474,6 +478,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -508,6 +513,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -521,6 +527,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -541,12 +548,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -567,6 +576,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1739,12 +1749,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1772,15 +1783,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1816,12 +1826,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1856,15 +1867,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1896,12 +1906,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1929,15 +1940,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1996,9 +2006,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2031,20 +2041,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2251,9 +2247,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2261,7 +2257,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2271,14 +2267,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2286,20 +2282,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2323,15 +2305,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2341,7 +2324,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2356,13 +2339,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2457,15 +2439,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2475,7 +2458,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2490,15 +2473,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2565,20 +2547,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2724,9 +2692,9 @@

@@ -2804,15 +2772,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2822,7 +2791,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2844,13 +2813,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2944,12 +2912,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2977,13 +2946,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3017,9 +2985,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3125,9 +3093,9 @@

@@ -3196,15 +3164,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3214,7 +3183,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3236,15 +3205,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3276,15 +3244,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3294,7 +3263,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3309,15 +3278,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3491,15 +3459,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3509,7 +3478,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3524,15 +3493,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3856,9 +3824,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3906,16 +3874,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3925,7 +3893,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3956,16 +3924,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3975,7 +3943,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4097,9 +4065,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4162,16 +4130,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4181,14 +4149,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4234,9 +4202,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4369,9 +4337,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4465,16 +4433,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4484,7 +4452,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4537,9 +4505,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4652,9 +4620,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4728,9 +4696,9 @@

Prepares the request URL

@@ -4785,9 +4753,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4866,9 +4834,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4929,9 +4897,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5000,9 +4968,9 @@

Parses the response from a request to the token endpoint

@@ -5103,16 +5071,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5129,7 +5097,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5191,16 +5159,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5217,7 +5185,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5263,9 +5231,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5320,16 +5288,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5346,7 +5314,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5392,9 +5360,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Tumblr.html b/classes/chillerlan-OAuth-Providers-Tumblr.html index 608eb69..764966a 100644 --- a/classes/chillerlan-OAuth-Providers-Tumblr.html +++ b/classes/chillerlan-OAuth-Providers-Tumblr.html @@ -1457,9 +1457,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

@@ -1729,7 +1729,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1739,7 +1739,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1754,20 +1754,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1852,9 +1838,9 @@

Authorizes the $request with the credentials from the given $token @@ -2054,9 +2040,9 @@

@@ -2194,9 +2180,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2302,9 +2288,9 @@

@@ -2799,9 +2785,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2849,16 +2835,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2868,7 +2854,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2899,16 +2885,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2918,7 +2904,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3040,9 +3026,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -3097,9 +3083,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3243,9 +3229,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3381,9 +3367,9 @@

Prepares the request URL

@@ -3438,16 +3424,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3464,7 +3450,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3547,9 +3533,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3610,9 +3596,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3785,16 +3771,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3804,7 +3790,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3850,9 +3836,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3972,16 +3958,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -3998,7 +3984,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4029,9 +4015,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Tumblr2.html b/classes/chillerlan-OAuth-Providers-Tumblr2.html index 50dbab5..24a515a 100644 --- a/classes/chillerlan-OAuth-Providers-Tumblr2.html +++ b/classes/chillerlan-OAuth-Providers-Tumblr2.html @@ -385,18 +385,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -440,6 +443,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -453,6 +457,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -487,6 +492,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -500,6 +506,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -520,12 +527,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -546,6 +555,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1766,12 +1776,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1799,15 +1810,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1843,12 +1853,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1883,15 +1894,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1923,12 +1933,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1956,15 +1967,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2023,9 +2033,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2058,20 +2068,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2278,9 +2274,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2288,7 +2284,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2298,14 +2294,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2313,20 +2309,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2350,15 +2332,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2368,7 +2351,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2383,13 +2366,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2484,15 +2466,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2502,7 +2485,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2517,15 +2500,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2592,20 +2574,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2751,9 +2719,9 @@

@@ -2831,15 +2799,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2849,7 +2818,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2871,13 +2840,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2971,12 +2939,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3004,13 +2973,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3044,9 +3012,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3152,9 +3120,9 @@

@@ -3223,15 +3191,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3241,7 +3210,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3263,15 +3232,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3303,15 +3271,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3321,7 +3290,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3336,15 +3305,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3518,15 +3486,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3536,7 +3505,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3551,15 +3520,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3883,9 +3851,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3933,16 +3901,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3952,7 +3920,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3983,16 +3951,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4002,7 +3970,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4124,9 +4092,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4189,16 +4157,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4208,14 +4176,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4261,9 +4229,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4326,9 +4294,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4398,9 +4366,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4494,16 +4462,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4513,7 +4481,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4566,9 +4534,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4681,9 +4649,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4757,9 +4725,9 @@

Prepares the request URL

@@ -4814,9 +4782,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4895,9 +4863,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4958,9 +4926,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5029,9 +4997,9 @@

Parses the response from a request to the token endpoint

@@ -5132,16 +5100,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5158,7 +5126,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5220,16 +5188,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5246,7 +5214,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5292,9 +5260,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5349,16 +5317,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5375,7 +5343,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5421,9 +5389,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Twitch.html b/classes/chillerlan-OAuth-Providers-Twitch.html index 7a16ac3..f2fb37a 100644 --- a/classes/chillerlan-OAuth-Providers-Twitch.html +++ b/classes/chillerlan-OAuth-Providers-Twitch.html @@ -524,18 +524,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -579,6 +582,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -592,6 +596,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -626,6 +631,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -639,6 +645,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -659,12 +666,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -685,6 +694,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2539,12 +2549,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2572,15 +2583,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2616,12 +2626,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2656,15 +2667,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2696,12 +2706,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2729,15 +2740,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2796,9 +2806,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2831,20 +2841,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3051,9 +3047,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -3061,7 +3057,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -3071,14 +3067,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -3086,20 +3082,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3123,15 +3105,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -3141,7 +3124,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -3156,13 +3139,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -3257,15 +3239,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -3275,7 +3258,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -3290,15 +3273,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -3330,7 +3312,7 @@

@@ -3364,20 +3346,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3523,9 +3491,9 @@

@@ -3603,15 +3571,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -3621,7 +3590,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -3643,13 +3612,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3683,7 +3651,7 @@

@@ -3706,13 +3674,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3743,12 +3704,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3776,13 +3738,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3816,9 +3777,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3924,9 +3885,9 @@

@@ -3995,15 +3956,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -4013,7 +3975,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4035,15 +3997,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -4075,15 +4036,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -4093,7 +4055,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4108,15 +4070,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -4290,15 +4251,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -4308,7 +4270,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4323,15 +4285,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4655,9 +4616,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4705,16 +4666,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4724,7 +4685,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4755,16 +4716,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4774,7 +4735,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4896,9 +4857,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4961,16 +4922,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4980,14 +4941,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -5033,7 +4994,7 @@

Twitch.php : - 82 + 79 @@ -5059,20 +5020,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -5096,7 +5043,7 @@

Twitch.php : - 119 + 113 @@ -5129,20 +5076,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -5166,9 +5099,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -5262,16 +5195,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -5281,7 +5214,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -5334,9 +5267,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5449,9 +5382,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5525,9 +5458,9 @@

Prepares the request URL

@@ -5582,9 +5515,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5663,9 +5596,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5726,9 +5659,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5797,9 +5730,9 @@

Parses the response from a request to the token endpoint

@@ -5900,16 +5833,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5926,7 +5859,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5988,7 +5921,7 @@

Twitch.php : - 100 + 97 @@ -5996,7 +5929,7 @@

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6013,7 +5946,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6021,20 +5954,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -6058,9 +5977,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -6115,16 +6034,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -6141,7 +6060,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -6187,9 +6106,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Twitter.html b/classes/chillerlan-OAuth-Providers-Twitter.html index 0ac05da..a8b371d 100644 --- a/classes/chillerlan-OAuth-Providers-Twitter.html +++ b/classes/chillerlan-OAuth-Providers-Twitter.html @@ -1426,9 +1426,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

@@ -1698,7 +1698,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1708,7 +1708,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1723,20 +1723,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1821,9 +1807,9 @@

Authorizes the $request with the credentials from the given $token @@ -2023,9 +2009,9 @@

@@ -2163,9 +2149,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2271,9 +2257,9 @@

@@ -2768,9 +2754,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2818,16 +2804,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2837,7 +2823,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2868,16 +2854,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2887,7 +2873,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3009,9 +2995,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -3066,9 +3052,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3212,9 +3198,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3350,9 +3336,9 @@

Prepares the request URL

@@ -3407,16 +3393,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3433,7 +3419,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3516,9 +3502,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3579,9 +3565,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3754,16 +3740,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3773,7 +3759,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3819,9 +3805,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3941,16 +3927,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -3967,7 +3953,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3998,9 +3984,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-TwitterCC.html b/classes/chillerlan-OAuth-Providers-TwitterCC.html index daba951..5cb08cb 100644 --- a/classes/chillerlan-OAuth-Providers-TwitterCC.html +++ b/classes/chillerlan-OAuth-Providers-TwitterCC.html @@ -393,18 +393,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -448,6 +451,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -461,6 +465,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -495,12 +500,14 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
refreshAccessToken()  : AccessToken
+
implements TokenRefresh::refreshAccessToken()
request() @@ -521,12 +528,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -547,6 +556,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1662,12 +1672,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1695,15 +1706,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1739,12 +1749,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1779,15 +1790,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1819,12 +1829,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1852,15 +1863,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2260,15 +2270,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2278,7 +2289,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2293,13 +2304,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2394,15 +2404,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2412,7 +2423,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2427,15 +2438,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2502,20 +2512,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2661,9 +2657,9 @@

@@ -2741,15 +2737,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2759,7 +2756,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2781,13 +2778,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2821,12 +2817,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2854,13 +2851,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2894,9 +2890,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3002,9 +2998,9 @@

@@ -3073,15 +3069,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3091,7 +3088,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3113,15 +3110,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3153,15 +3149,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3171,7 +3168,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3186,15 +3183,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3368,15 +3364,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3386,7 +3383,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3401,15 +3398,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3733,9 +3729,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3783,16 +3779,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3802,7 +3798,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3833,16 +3829,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3852,7 +3848,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3974,9 +3970,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4039,16 +4035,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4058,14 +4054,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4111,9 +4107,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4176,9 +4172,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4248,9 +4244,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4344,16 +4340,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4363,7 +4359,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4416,9 +4412,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4531,9 +4527,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4607,9 +4603,9 @@

Prepares the request URL

@@ -4664,9 +4660,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4745,9 +4741,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4808,9 +4804,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4879,9 +4875,9 @@

Parses the response from a request to the token endpoint

@@ -4982,16 +4978,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5008,7 +5004,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5070,16 +5066,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5096,7 +5092,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5142,9 +5138,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5199,16 +5195,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5225,7 +5221,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5271,9 +5267,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-Vimeo.html b/classes/chillerlan-OAuth-Providers-Vimeo.html index 5ed599f..300eaf0 100644 --- a/classes/chillerlan-OAuth-Providers-Vimeo.html +++ b/classes/chillerlan-OAuth-Providers-Vimeo.html @@ -457,18 +457,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -512,6 +515,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -525,6 +529,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -559,6 +564,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -572,6 +578,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -592,12 +599,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -618,6 +627,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -2160,12 +2170,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -2193,15 +2204,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -2237,12 +2247,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -2277,15 +2288,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2317,12 +2327,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2350,15 +2361,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2417,9 +2427,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2452,20 +2462,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2672,9 +2668,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2682,7 +2678,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2692,14 +2688,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2707,20 +2703,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2744,15 +2726,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2762,7 +2745,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2777,13 +2760,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2878,15 +2860,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2896,7 +2879,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2911,15 +2894,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2986,20 +2968,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3145,9 +3113,9 @@

@@ -3225,11 +3193,12 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool @@ -3257,20 +3226,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -3294,7 +3249,7 @@

@@ -3317,13 +3272,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -3354,12 +3302,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3387,13 +3336,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3427,9 +3375,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3535,9 +3483,9 @@

@@ -3606,15 +3554,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3624,7 +3573,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3646,15 +3595,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3686,15 +3634,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3704,7 +3653,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3719,15 +3668,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3901,15 +3849,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3919,7 +3868,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3934,15 +3883,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -4266,9 +4214,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4316,16 +4264,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4335,7 +4283,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4366,16 +4314,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4385,7 +4333,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4507,9 +4455,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4572,16 +4520,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4591,14 +4539,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4644,9 +4592,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4709,9 +4657,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4781,9 +4729,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4877,16 +4825,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4896,7 +4844,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4949,9 +4897,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -5064,9 +5012,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -5140,9 +5088,9 @@

Prepares the request URL

@@ -5197,9 +5145,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -5278,9 +5226,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5341,9 +5289,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5412,9 +5360,9 @@

Parses the response from a request to the token endpoint

@@ -5515,16 +5463,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5541,7 +5489,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5603,16 +5551,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5629,7 +5577,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5675,9 +5623,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5732,16 +5680,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5758,7 +5706,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5804,9 +5752,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-WordPress.html b/classes/chillerlan-OAuth-Providers-WordPress.html index 0cea461..9e4103b 100644 --- a/classes/chillerlan-OAuth-Providers-WordPress.html +++ b/classes/chillerlan-OAuth-Providers-WordPress.html @@ -379,18 +379,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -434,6 +437,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -447,6 +451,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -481,6 +486,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -494,6 +500,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -514,12 +521,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -540,6 +549,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1729,12 +1739,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1762,15 +1773,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1806,12 +1816,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1846,15 +1857,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1886,12 +1896,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1919,15 +1930,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1986,9 +1996,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2021,20 +2031,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2241,9 +2237,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2251,7 +2247,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2261,14 +2257,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2276,20 +2272,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2313,15 +2295,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2331,7 +2314,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2346,13 +2329,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2447,15 +2429,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2465,7 +2448,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2480,15 +2463,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2555,20 +2537,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2714,9 +2682,9 @@

@@ -2794,15 +2762,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2812,7 +2781,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2834,13 +2803,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -2934,12 +2902,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2967,13 +2936,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3007,9 +2975,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3115,9 +3083,9 @@

@@ -3186,15 +3154,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3204,7 +3173,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3226,15 +3195,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3266,15 +3234,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3284,7 +3253,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3299,15 +3268,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3481,15 +3449,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3499,7 +3468,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3514,15 +3483,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3846,9 +3814,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3896,16 +3864,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3915,7 +3883,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3946,16 +3914,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3965,7 +3933,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4087,9 +4055,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4152,16 +4120,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4171,14 +4139,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4224,9 +4192,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4289,9 +4257,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4361,9 +4329,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4457,16 +4425,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4476,7 +4444,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4529,9 +4497,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4644,9 +4612,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4720,9 +4688,9 @@

Prepares the request URL

@@ -4777,9 +4745,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4858,9 +4826,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4921,9 +4889,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4992,9 +4960,9 @@

Parses the response from a request to the token endpoint

@@ -5095,16 +5063,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5121,7 +5089,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5183,16 +5151,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5209,7 +5177,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5255,9 +5223,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5312,16 +5280,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5338,7 +5306,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5384,9 +5352,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Providers-YouTube.html b/classes/chillerlan-OAuth-Providers-YouTube.html index ae8339d..e5d6ee7 100644 --- a/classes/chillerlan-OAuth-Providers-YouTube.html +++ b/classes/chillerlan-OAuth-Providers-YouTube.html @@ -392,18 +392,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -447,6 +450,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -460,6 +464,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -494,6 +499,7 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
me() @@ -507,6 +513,7 @@

 : AccessToken

+
implements TokenRefresh::refreshAccessToken()
request() @@ -527,12 +534,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -553,6 +562,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1866,12 +1876,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1899,15 +1910,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1943,12 +1953,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1983,15 +1994,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -2023,12 +2033,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -2056,15 +2067,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -2123,9 +2133,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -2158,20 +2168,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2378,9 +2374,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2388,7 +2384,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2398,14 +2394,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2413,20 +2409,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2450,15 +2432,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2468,7 +2451,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2483,13 +2466,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2584,15 +2566,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2602,7 +2585,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2617,15 +2600,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2692,20 +2674,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2851,9 +2819,9 @@

@@ -2931,15 +2899,16 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2949,7 +2918,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2971,13 +2940,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken()

-
- + TokenInvalidate::invalidateAccessToken() + +
throws @@ -3071,12 +3039,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -3104,13 +3073,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -3144,9 +3112,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -3252,9 +3220,9 @@

@@ -3323,15 +3291,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3341,7 +3310,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3363,15 +3332,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3403,15 +3371,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3421,7 +3390,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3436,15 +3405,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3618,15 +3586,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3636,7 +3605,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3651,15 +3620,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3983,9 +3951,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -4033,16 +4001,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4052,7 +4020,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4083,16 +4051,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -4102,7 +4070,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -4224,9 +4192,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4289,16 +4257,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4308,14 +4276,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4361,9 +4329,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4426,9 +4394,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4498,9 +4466,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4594,16 +4562,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4613,7 +4581,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4666,9 +4634,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4781,9 +4749,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4857,9 +4825,9 @@

Prepares the request URL

@@ -4914,9 +4882,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4995,9 +4963,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -5058,9 +5026,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -5129,9 +5097,9 @@

Parses the response from a request to the token endpoint

@@ -5232,16 +5200,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5258,7 +5226,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5320,16 +5288,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5346,7 +5314,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5392,9 +5360,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5449,16 +5417,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5475,7 +5443,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5521,9 +5489,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuth-Storage-FileStorage.html b/classes/chillerlan-OAuth-Storage-FileStorage.html index ef14cc8..3a50a91 100644 --- a/classes/chillerlan-OAuth-Storage-FileStorage.html +++ b/classes/chillerlan-OAuth-Storage-FileStorage.html @@ -797,7 +797,7 @@

@@ -823,20 +823,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -860,7 +846,7 @@

@@ -876,20 +862,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -913,7 +885,7 @@

@@ -929,20 +901,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -966,7 +924,7 @@

@@ -982,20 +940,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1019,7 +963,7 @@

@@ -1045,20 +989,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1082,7 +1012,7 @@

@@ -1108,20 +1038,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1145,7 +1061,7 @@

@@ -1171,20 +1087,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1208,7 +1110,7 @@

@@ -1221,7 +1123,9 @@

- +

This method must throw a ItemNotFoundException if a token is not found

+
+

Parameters
@@ -1234,20 +1138,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1271,7 +1161,7 @@

@@ -1284,7 +1174,9 @@

- +

This method must throw a ItemNotFoundException if a verifier is not found

+
+

Parameters
@@ -1297,20 +1189,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1334,7 +1212,7 @@

@@ -1347,7 +1225,9 @@

- +

This method must throw a ItemNotFoundException if a state is not found

+
+

Parameters
@@ -1360,20 +1240,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1397,7 +1263,7 @@

@@ -1423,20 +1289,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1460,7 +1312,7 @@

@@ -1486,20 +1338,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1523,7 +1361,7 @@

@@ -1549,20 +1387,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1586,7 +1410,7 @@

@@ -1619,13 +1443,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -1656,7 +1473,7 @@

@@ -1689,20 +1506,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1726,7 +1529,7 @@

@@ -1759,20 +1562,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1796,7 +1585,7 @@

@@ -1829,20 +1618,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1866,7 +1641,7 @@

@@ -1893,20 +1668,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1926,7 +1687,7 @@

@@ -1975,7 +1736,7 @@

@@ -2020,7 +1781,7 @@

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

@@ -2121,7 +1882,7 @@

@@ -2177,7 +1938,7 @@

@@ -2241,7 +2002,7 @@

@@ -2297,7 +2058,7 @@

diff --git a/classes/chillerlan-OAuth-Storage-MemoryStorage.html b/classes/chillerlan-OAuth-Storage-MemoryStorage.html index bd341fd..f43d287 100644 --- a/classes/chillerlan-OAuth-Storage-MemoryStorage.html +++ b/classes/chillerlan-OAuth-Storage-MemoryStorage.html @@ -234,7 +234,7 @@

$storage -  : array<string|int, mixed> +  : array<string, array<string, mixed>>
the storage array
@@ -637,7 +637,7 @@

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

protected - array<string|int, mixed> + array<string, array<string, mixed>> $storage = [self::KEY_TOKEN => [], self::KEY_STATE => [], self::KEY_VERIFIER => []] @@ -731,7 +731,7 @@

@@ -757,20 +757,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -794,7 +780,7 @@

@@ -810,20 +796,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -847,7 +819,7 @@

@@ -863,20 +835,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -900,7 +858,7 @@

@@ -916,20 +874,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -953,7 +897,7 @@

@@ -979,20 +923,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1016,7 +946,7 @@

@@ -1042,20 +972,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1079,7 +995,7 @@

@@ -1105,20 +1021,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1142,7 +1044,7 @@

@@ -1155,7 +1057,9 @@

- +

This method must throw a ItemNotFoundException if a token is not found

+
+

Parameters
@@ -1168,20 +1072,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1205,7 +1095,7 @@

@@ -1218,7 +1108,9 @@

- +

This method must throw a ItemNotFoundException if a verifier is not found

+
+

Parameters
@@ -1231,20 +1123,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1268,7 +1146,7 @@

@@ -1281,7 +1159,9 @@

- +

This method must throw a ItemNotFoundException if a state is not found

+
+

Parameters
@@ -1294,20 +1174,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1331,7 +1197,7 @@

@@ -1357,20 +1223,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1394,7 +1246,7 @@

@@ -1420,20 +1272,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1457,7 +1295,7 @@

@@ -1483,20 +1321,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1520,7 +1344,7 @@

@@ -1553,13 +1377,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -1590,7 +1407,7 @@

@@ -1623,20 +1440,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1660,7 +1463,7 @@

@@ -1693,20 +1496,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1730,7 +1519,7 @@

@@ -1763,20 +1552,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1800,7 +1575,7 @@

@@ -1827,20 +1602,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1860,7 +1621,7 @@

@@ -1909,7 +1670,7 @@

@@ -1958,7 +1719,7 @@

diff --git a/classes/chillerlan-OAuth-Storage-OAuthStorageAbstract.html b/classes/chillerlan-OAuth-Storage-OAuthStorageAbstract.html index 40416a0..8032d0e 100644 --- a/classes/chillerlan-OAuth-Storage-OAuthStorageAbstract.html +++ b/classes/chillerlan-OAuth-Storage-OAuthStorageAbstract.html @@ -589,7 +589,7 @@

@@ -615,20 +615,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -652,7 +638,7 @@

@@ -685,13 +671,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -722,7 +701,7 @@

@@ -749,20 +728,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -782,7 +747,7 @@

@@ -831,7 +796,7 @@

@@ -880,7 +845,7 @@

diff --git a/classes/chillerlan-OAuth-Storage-SessionStorage.html b/classes/chillerlan-OAuth-Storage-SessionStorage.html index a6e8cde..bfe8d39 100644 --- a/classes/chillerlan-OAuth-Storage-SessionStorage.html +++ b/classes/chillerlan-OAuth-Storage-SessionStorage.html @@ -686,7 +686,7 @@

@@ -719,20 +719,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -752,7 +738,7 @@

@@ -801,7 +787,7 @@

@@ -827,20 +813,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -864,7 +836,7 @@

@@ -880,20 +852,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -917,7 +875,7 @@

@@ -933,20 +891,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -970,7 +914,7 @@

@@ -986,20 +930,6 @@

-

- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1023,7 +953,7 @@

@@ -1049,20 +979,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1086,7 +1002,7 @@

@@ -1112,20 +1028,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1149,7 +1051,7 @@

@@ -1175,20 +1077,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1212,7 +1100,7 @@

@@ -1225,7 +1113,9 @@

- +

This method must throw a ItemNotFoundException if a token is not found

+
+

Parameters
@@ -1238,20 +1128,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1275,7 +1151,7 @@

@@ -1288,7 +1164,9 @@

- +

This method must throw a ItemNotFoundException if a verifier is not found

+
+

Parameters
@@ -1301,20 +1179,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1338,7 +1202,7 @@

@@ -1351,7 +1215,9 @@

- +

This method must throw a ItemNotFoundException if a state is not found

+
+

Parameters
@@ -1364,20 +1230,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1401,7 +1253,7 @@

@@ -1427,20 +1279,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1464,7 +1302,7 @@

@@ -1490,20 +1328,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1527,7 +1351,7 @@

@@ -1553,20 +1377,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1590,7 +1400,7 @@

@@ -1623,13 +1433,6 @@

- inheritDoc -
-
- - -
-
codeCoverageIgnore
@@ -1660,7 +1463,7 @@

@@ -1693,20 +1496,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1730,7 +1519,7 @@

@@ -1763,20 +1552,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1800,7 +1575,7 @@

@@ -1833,20 +1608,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1870,7 +1631,7 @@

@@ -1897,20 +1658,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1930,7 +1677,7 @@

@@ -1979,7 +1726,7 @@

@@ -2028,7 +1775,7 @@

diff --git a/classes/chillerlan-OAuthTest-Attributes-Provider.html b/classes/chillerlan-OAuthTest-Attributes-Provider.html index 53e1960..f7c52d1 100644 --- a/classes/chillerlan-OAuthTest-Attributes-Provider.html +++ b/classes/chillerlan-OAuthTest-Attributes-Provider.html @@ -254,7 +254,7 @@

@@ -295,7 +295,7 @@

@@ -339,7 +339,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html b/classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html index 5bbdd73..07597b3 100644 --- a/classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html +++ b/classes/chillerlan-OAuthTest-Providers-DummyOAuth1Provider.html @@ -1438,9 +1438,9 @@

Obtains an OAuth1 access token with the given $token and $verifier and returns an AccessToken object.

@@ -1710,7 +1710,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
@@ -1720,7 +1720,7 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
@@ -1735,20 +1735,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -1833,9 +1819,9 @@

Authorizes the $request with the credentials from the given $token @@ -2035,9 +2021,9 @@

@@ -2115,7 +2101,7 @@

@@ -2123,17 +2109,23 @@

public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
- +

Clients shall set the optional OAuthProvider::$revokeURL for use in this method. +If a token is given via $token, that token should be invalidated, +otherwise the current user token from the internal storage should be used. +Returns true if the operation was successful, false otherwise. +May throw a ProviderException if an error occurred.

+
+

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2148,20 +2140,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2185,9 +2163,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2293,9 +2271,9 @@

@@ -2790,9 +2768,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -2840,16 +2818,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2859,7 +2837,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -2890,16 +2868,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -2909,7 +2887,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3031,9 +3009,9 @@

OAuth1Provider.php : - 207 + 209 - +

Prepares the header params for the access token request

@@ -3088,9 +3066,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -3234,9 +3212,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -3372,9 +3350,9 @@

Prepares the request URL

@@ -3429,16 +3407,16 @@

Generates a request signature

protected - getSignature(UriInterface|string $url, array<string|int, mixed> $params, string $method[, string|null $accessTokenSecret = null ]) : string + getSignature(UriInterface|string $url, array<string, string> $params, string $method[, string|null $accessTokenSecret = null ]) : string
@@ -3455,7 +3433,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3538,9 +3516,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -3601,9 +3579,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -3776,16 +3754,16 @@

Sends the access token request

protected - sendAccessTokenRequest(array<string|int, mixed> $headerParams) : ResponseInterface + sendAccessTokenRequest(array<string, string> $headerParams) : ResponseInterface
@@ -3795,7 +3773,7 @@

Parameters
$headerParams - : array<string|int, mixed> + : array<string, string>
@@ -3841,9 +3819,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -3963,16 +3941,16 @@

Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters

protected - setAuthorizationHeader(RequestInterface $request, array<string|int, mixed> $params) : RequestInterface + setAuthorizationHeader(RequestInterface $request, array<string, string> $params) : RequestInterface
@@ -3989,7 +3967,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -4020,9 +3998,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html b/classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html index cfadd76..62037da 100644 --- a/classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html +++ b/classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html @@ -367,18 +367,21 @@

 : void

+
implements CSRFToken::checkState()
generateChallenge()  : string
+
implements PKCE::generateChallenge()
generateVerifier()  : string
+
implements PKCE::generateVerifier()
getAccessToken() @@ -422,6 +425,7 @@

 : AccessToken

+
implements ClientCredentials::getClientCredentialsToken()
getName() @@ -435,6 +439,7 @@

 : UriInterface

+
implements PAR::getParRequestUri()
getRequestAuthorization() @@ -469,12 +474,14 @@

 : bool

+
implements TokenInvalidate::invalidateAccessToken()
refreshAccessToken()  : AccessToken
+
implements TokenRefresh::refreshAccessToken()
request() @@ -495,12 +502,14 @@

 : array<string|int, mixed>

+
implements PKCE::setCodeChallenge()
setCodeVerifier()  : array<string|int, mixed>
+
implements PKCE::setCodeVerifier()
setLogger() @@ -521,6 +530,7 @@

 : array<string|int, mixed>

+
implements CSRFToken::setState()
setStorage() @@ -1681,12 +1691,13 @@

- +

implements CSRFToken::checkState()

+ public final checkState([string|null $state = null ]) : void @@ -1714,15 +1725,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::checkState()

-
- + CSRFToken::checkState() + +
-
+
see
@@ -1758,12 +1768,13 @@

- +

implements PKCE::generateChallenge()

+ public final generateChallenge(string $verifier, string $challengeMethod) : string @@ -1798,15 +1809,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateChallenge()

-
- + PKCE::generateChallenge() + +
-
+
see
@@ -1838,12 +1848,13 @@

- +

implements PKCE::generateVerifier()

+ public final generateVerifier(int $length) : string @@ -1871,15 +1882,14 @@

- implements + see
- -

\chillerlan\OAuth\Core\PKCE::generateVerifier()

-
- + PKCE::generateVerifier() + +
-
+
see
@@ -1938,9 +1948,9 @@

Obtains an OAuth2 access token with the given $code, verifies the $state @@ -1973,20 +1983,6 @@

Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2193,9 +2189,9 @@

Prepares the URL with optional $params which redirects to the provider's authorization prompt @@ -2203,7 +2199,7 @@

public - getAuthorizationURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface + getAuthorizationURL([array<string, string> $params = null ][, array<string|int, string> $scopes = null ]) : UriInterface
@@ -2213,14 +2209,14 @@

Parameters
$params - : array<string|int, mixed>|null + : array<string, string> = null
$scopes - : array<string|int, mixed>|null + : array<string|int, string> = null
@@ -2228,20 +2224,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2265,15 +2247,16 @@

- +

implements ClientCredentials::getClientCredentialsToken()

+ public - getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken + getClientCredentialsToken([array<string|int, string>|null $scopes = null ]) : AccessToken
@@ -2283,7 +2266,7 @@

Parameters
$scopes - : array<string|int, mixed>|null + : array<string|int, string>|null = null
@@ -2298,13 +2281,12 @@
- implements + see
- -

\chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken()

-
- + ClientCredentials::getClientCredentialsToken() + +
throws @@ -2399,15 +2381,16 @@

- +

implements PAR::getParRequestUri()

+ public - getParRequestUri(array<string|int, mixed> $body) : UriInterface + getParRequestUri(array<string, string> $body) : UriInterface
@@ -2417,7 +2400,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2432,15 +2415,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PAR::getParRequestUri()

-
- + PAR::getParRequestUri() + +
-
+
see
@@ -2507,20 +2489,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2666,9 +2634,9 @@

@@ -2746,14 +2714,15 @@

- +

implements TokenInvalidate::invalidateAccessToken()

+ public - invalidateAccessToken([AccessToken $token = null ][, string|null $type = null ]) : bool + invalidateAccessToken([AccessToken|null $token = null ][, string|null $type = null ]) : bool
@@ -2763,7 +2732,7 @@

Parameters
$token - : AccessToken + : AccessToken|null = null
@@ -2778,20 +2747,6 @@
Parameters
-
- Tags - - -
-
-
- inheritDoc -
-
- - -
-
@@ -2815,12 +2770,13 @@

- +

implements TokenRefresh::refreshAccessToken()

+ public refreshAccessToken([AccessToken|null $token = null ]) : AccessToken @@ -2848,13 +2804,12 @@

- implements + see
- -

\chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken()

-
- + TokenRefresh::refreshAccessToken() + +
throws @@ -2888,9 +2843,9 @@

Prepares an API request to $path with the given parameters, gets authorization, fires the request @@ -2996,9 +2951,9 @@

@@ -3067,15 +3022,16 @@

- +

implements PKCE::setCodeChallenge()

+ public - final setCodeChallenge(array<string|int, mixed> $params, string $challengeMethod) : array<string|int, mixed> + final setCodeChallenge(array<string, string> $params, string $challengeMethod) : array<string|int, mixed>
@@ -3085,7 +3041,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3107,15 +3063,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeChallenge()

-
- + PKCE::setCodeChallenge() + +
-
+
see
@@ -3147,15 +3102,16 @@

- +

implements PKCE::setCodeVerifier()

+ public - final setCodeVerifier(array<string|int, mixed> $params) : array<string|int, mixed> + final setCodeVerifier(array<string, string> $params) : array<string|int, mixed>
@@ -3165,7 +3121,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3180,15 +3136,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\PKCE::setCodeVerifier()

-
- + PKCE::setCodeVerifier() + +
-
+
see
@@ -3362,15 +3317,16 @@

- +

implements CSRFToken::setState()

+ public - final setState(array<string|int, mixed> $params) : array<string|int, mixed> + final setState(array<string, string> $params) : array<string|int, mixed>
@@ -3380,7 +3336,7 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
@@ -3395,15 +3351,14 @@
- implements + see
- -

\chillerlan\OAuth\Core\CSRFToken::setState()

-
- + CSRFToken::setState() + +
-
+
see
@@ -3727,9 +3682,9 @@

Adds an "Authorization: Basic <base64(key:secret)>" header to the given request

@@ -3777,16 +3732,16 @@

Cleans an array of body parameters

protected - cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanBodyParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3796,7 +3751,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3827,16 +3782,16 @@

Cleans an array of query parameters

protected - cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed> + cleanQueryParams(array<string, scalar> $params) : array<string|int, mixed>
@@ -3846,7 +3801,7 @@

Parameters
$params - : iterable<string|int, mixed> + : array<string, scalar>
@@ -3968,9 +3923,9 @@

OAuth2Provider.php : - 211 + 212 - +

prepares the request body parameters for the access token request

@@ -4033,16 +3988,16 @@

OAuth2Provider.php : - 76 + 80 - +

prepares the query parameters for the auth URL

protected - getAuthorizationURLRequestParams(array<string|int, mixed> $params, array<string|int, mixed> $scopes) : array<string|int, mixed> + getAuthorizationURLRequestParams(array<string, string> $params, array<string|int, string> $scopes) : array<string|int, mixed>
@@ -4052,14 +4007,14 @@

Parameters
$params - : array<string|int, mixed> + : array<string, string>
$scopes - : array<string|int, mixed> + : array<string|int, string>
@@ -4105,9 +4060,9 @@

OAuth2Provider.php : - 324 + 328 - +

prepares the request body parameters for the client credentials token request

@@ -4170,9 +4125,9 @@

OAuth2Provider.php : - 478 + 490 - +

Prepares the body for a token revocation request

@@ -4242,9 +4197,9 @@

fetches the provider's "me" endpoint and returns the JSON data as an array

@@ -4338,16 +4293,16 @@

OAuth2Provider.php : - 674 + 711 - +

Parses the response from the PAR request and returns the query parameters for the authorization URL

protected - getParAuthorizationURLRequestParams(array<string|int, mixed> $response) : array<string|int, mixed> + getParAuthorizationURLRequestParams(array<string, string> $response) : array<string|int, mixed>
@@ -4357,7 +4312,7 @@

Parameters
$response - : array<string|int, mixed> + : array<string, string>
@@ -4410,9 +4365,9 @@

OAuth2Provider.php : - 400 + 408 - +

prepares the request body parameters for the token refresh

@@ -4525,9 +4480,9 @@

Determine the request target from the given URI (path segment or URL) with respect to $apiURL, @@ -4601,9 +4556,9 @@

Prepares the request URL

@@ -4658,9 +4613,9 @@

extracts the data from the access token response and returns an array with the key->value pairs contained

@@ -4739,9 +4694,9 @@

handles errors for the `me()` endpoints - one horrible block of code to catch them all

@@ -4802,9 +4757,9 @@

returns a 32 byte random string (in hexadecimal representation) for use as a nonce

@@ -4873,9 +4828,9 @@

Parses the response from a request to the token endpoint

@@ -4976,16 +4931,16 @@

sends a request to the access/refresh token endpoint $url with the given $body as form data

protected - sendAccessTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendAccessTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5002,7 +4957,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5064,16 +5019,16 @@

OAuth2Provider.php : - 339 + 345 - +

sends a request to the client credentials endpoint, using basic authentication

protected - sendClientCredentialsTokenRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendClientCredentialsTokenRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5090,7 +5045,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5136,9 +5091,9 @@

prepares and sends the request to the provider's "me" endpoint and returns a ResponseInterface

@@ -5193,16 +5148,16 @@

Prepares and sends a request to the token invalidation endpoint

protected - sendTokenInvalidateRequest(string $url, array<string|int, mixed> $body) : ResponseInterface + sendTokenInvalidateRequest(string $url, array<string, string> $body) : ResponseInterface
@@ -5219,7 +5174,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -5265,9 +5220,9 @@

Prepares the request body and sets it in the given RequestInterface, along with a Content-Length header

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html index 122d680..68132ce 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-AmazonAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html index ef8871b..743e675 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-BattleNetAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html index ed25379..19b375f 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-BigCartelAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html index 939ae3a..5e6aef5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-BitbucketAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-CodebergAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-CodebergAPITest.html index 3dff46b..152ec35 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-CodebergAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-CodebergAPITest.html @@ -252,7 +252,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -669,7 +669,7 @@

@@ -677,7 +677,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1175,7 +1175,7 @@

@@ -1253,7 +1253,7 @@

@@ -1302,7 +1302,7 @@

@@ -1401,7 +1401,7 @@

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

@@ -1581,7 +1581,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1598,7 +1598,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1625,7 +1625,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html index 5708b7c..5f43f6e 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DeezerAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html index 43d3eee..8dc5e32 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DeviantArtAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html index b1072d9..2c5fd99 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DiscogsAPITest.html @@ -1173,7 +1173,7 @@

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

@@ -1321,7 +1321,7 @@

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

@@ -1501,7 +1501,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1518,7 +1518,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1545,7 +1545,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html index 5455181..a997b04 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-DiscordAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html index 1961c52..573dca2 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-FlickrAPITest.html @@ -1257,7 +1257,7 @@

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

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

@@ -1577,7 +1577,7 @@

@@ -1585,7 +1585,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1602,7 +1602,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1629,7 +1629,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html index a860ad6..288ed0a 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-FoursquareAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html index 74dfe35..da1855d 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GitHubAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html index 578c20c..3e0d700 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GitLabAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GiteaAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GiteaAPITest.html index df730a3..f69ab24 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GiteaAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GiteaAPITest.html @@ -252,7 +252,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -669,7 +669,7 @@

@@ -677,7 +677,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1175,7 +1175,7 @@

@@ -1253,7 +1253,7 @@

@@ -1302,7 +1302,7 @@

@@ -1401,7 +1401,7 @@

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

@@ -1581,7 +1581,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1598,7 +1598,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1625,7 +1625,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html index 3d6ff78..481a09a 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GoogleAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html index acd65fc..ca504d5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-GuildWars2APITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -683,7 +683,7 @@

@@ -691,7 +691,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1261,7 +1261,7 @@

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

@@ -1388,7 +1388,7 @@

@@ -1487,7 +1487,7 @@

@@ -1659,7 +1659,7 @@

@@ -1667,7 +1667,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1684,7 +1684,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1711,7 +1711,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html index 072ea4f..4619a4b 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-ImgurAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html index f4199d8..7aaf3b5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-LastFMAPITest.html @@ -1131,7 +1131,7 @@

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

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

@@ -1451,7 +1451,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1476,7 +1476,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1503,7 +1503,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html index 9e8cf82..0184565 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MailChimpAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -677,7 +677,7 @@

@@ -685,7 +685,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1217,7 +1217,7 @@

@@ -1295,7 +1295,7 @@

@@ -1344,7 +1344,7 @@

@@ -1443,7 +1443,7 @@

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

@@ -1623,7 +1623,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1640,7 +1640,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1667,7 +1667,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html index 1dc0e17..9ddf16c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MastodonAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -677,7 +677,7 @@

@@ -685,7 +685,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1219,7 +1219,7 @@

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

@@ -1346,7 +1346,7 @@

@@ -1445,7 +1445,7 @@

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

@@ -1625,7 +1625,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1642,7 +1642,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1669,7 +1669,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html index 6c5f8a7..281953c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MicrosoftGraphAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html index 4319309..6a6d7a8 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MixcloudAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html index 74c4f84..4d50be3 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-MusicBrainzAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -683,7 +683,7 @@

@@ -691,7 +691,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1257,7 +1257,7 @@

@@ -1335,7 +1335,7 @@

@@ -1384,7 +1384,7 @@

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

@@ -1655,7 +1655,7 @@

@@ -1663,7 +1663,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1680,7 +1680,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1707,7 +1707,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html index 68f348c..0085ce8 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-NPROneAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html index 9457b3b..a05c8ba 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OAuth1ProviderLiveTestAbstract.html @@ -1109,7 +1109,7 @@

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

@@ -1257,7 +1257,7 @@

@@ -1429,7 +1429,7 @@

@@ -1437,7 +1437,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1454,7 +1454,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1481,7 +1481,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html index 7c09967..02796d4 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OAuth2ProviderLiveTestAbstract.html @@ -226,7 +226,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -607,7 +607,7 @@

@@ -615,7 +615,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1113,7 +1113,7 @@

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

@@ -1240,7 +1240,7 @@

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

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

@@ -1519,7 +1519,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1536,7 +1536,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1563,7 +1563,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html index ca105ce..842242c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OAuthProviderLiveTestAbstract.html @@ -1067,7 +1067,7 @@

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

@@ -1215,7 +1215,7 @@

@@ -1387,7 +1387,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1412,7 +1412,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1439,7 +1439,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html index e13761c..7d30412 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OpenCachingAPITest.html @@ -1173,7 +1173,7 @@

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

@@ -1321,7 +1321,7 @@

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

@@ -1501,7 +1501,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1518,7 +1518,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1545,7 +1545,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html index f928730..c3ab01a 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmap2APITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html index c28f25e..914e419 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-OpenStreetmapAPITest.html @@ -1173,7 +1173,7 @@

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

@@ -1321,7 +1321,7 @@

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

@@ -1501,7 +1501,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1518,7 +1518,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1545,7 +1545,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html index 3293f37..1ee4739 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-PatreonAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html index 815518c..82ed6a1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-PayPalAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-PinterestAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-PinterestAPITest.html index 08c1029..4abfc4c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-PinterestAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-PinterestAPITest.html @@ -252,7 +252,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -669,7 +669,7 @@

@@ -677,7 +677,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1175,7 +1175,7 @@

@@ -1253,7 +1253,7 @@

@@ -1302,7 +1302,7 @@

@@ -1401,7 +1401,7 @@

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

@@ -1581,7 +1581,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1598,7 +1598,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1625,7 +1625,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-RedditAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-RedditAPITest.html index bfa48ad..74ce939 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-RedditAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-RedditAPITest.html @@ -260,7 +260,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -677,7 +677,7 @@

@@ -685,7 +685,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1183,7 +1183,7 @@

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

@@ -1310,7 +1310,7 @@

@@ -1409,7 +1409,7 @@

@@ -1581,7 +1581,7 @@

@@ -1589,7 +1589,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1606,7 +1606,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1633,7 +1633,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html index c0317a9..6f54b92 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SlackAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html index 69ea6d0..c577a4d 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SoundcloudAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html index 92bed2a..5af34c8 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SpotifyAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-SteamAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-SteamAPITest.html index fd14128..9a86018 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-SteamAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-SteamAPITest.html @@ -1173,7 +1173,7 @@

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

@@ -1321,7 +1321,7 @@

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

@@ -1501,7 +1501,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1518,7 +1518,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1545,7 +1545,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html index fd0bc08..59cf6cd 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-StripeAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html b/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html index 011b3df..768ebbd 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-Tumblr2APITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html index 11ac055..0e20df5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TumblrAPITest.html @@ -1213,7 +1213,7 @@

@@ -1262,7 +1262,7 @@

@@ -1361,7 +1361,7 @@

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

@@ -1541,7 +1541,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1558,7 +1558,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1585,7 +1585,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html index ea1ac71..091e6d2 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TwitchAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html index 332887b..1b015eb 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TwitterAPITest.html @@ -1257,7 +1257,7 @@

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

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

@@ -1577,7 +1577,7 @@

@@ -1585,7 +1585,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1602,7 +1602,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1629,7 +1629,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html index d1525aa..7b7bbc7 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-TwitterCCAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html index d5900b9..975f0bd 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-VimeoAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html index 209baa9..9710270 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-WordpressAPITest.html @@ -254,7 +254,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -671,7 +671,7 @@

@@ -679,7 +679,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1177,7 +1177,7 @@

@@ -1255,7 +1255,7 @@

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

@@ -1403,7 +1403,7 @@

@@ -1575,7 +1575,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1600,7 +1600,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1627,7 +1627,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Live-YouTubeAPITest.html b/classes/chillerlan-OAuthTest-Providers-Live-YouTubeAPITest.html index 1ceeaf3..e9b6faa 100644 --- a/classes/chillerlan-OAuthTest-Providers-Live-YouTubeAPITest.html +++ b/classes/chillerlan-OAuthTest-Providers-Live-YouTubeAPITest.html @@ -262,7 +262,7 @@

$clientCredentialsScopes -  : array<string|int, mixed> +  : array<string|int, string>
@@ -679,7 +679,7 @@

@@ -687,7 +687,7 @@

protected - array<string|int, mixed> + array<string|int, string> $clientCredentialsScopes = [] @@ -1185,7 +1185,7 @@

@@ -1263,7 +1263,7 @@

@@ -1312,7 +1312,7 @@

@@ -1411,7 +1411,7 @@

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

@@ -1591,7 +1591,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1608,7 +1608,7 @@

Parameters

$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1635,7 +1635,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html index 759e1dd..138d268 100644 --- a/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-ProviderLiveTestAbstract.html @@ -894,7 +894,7 @@

@@ -943,7 +943,7 @@

@@ -1042,7 +1042,7 @@

@@ -1214,7 +1214,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1239,7 +1239,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1266,7 +1266,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html index c7d2635..abaf004 100644 --- a/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-ProviderUnitTestAbstract.html @@ -769,7 +769,7 @@

@@ -818,7 +818,7 @@

@@ -917,7 +917,7 @@

@@ -1089,7 +1089,7 @@

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

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -1114,7 +1114,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -1141,7 +1141,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html index c1d63d0..c2be650 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-AmazonTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html index 298277c..c8c8a5f 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-BattleNetTest.html @@ -1408,7 +1408,7 @@

@@ -1998,7 +1998,7 @@

@@ -2168,7 +2168,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2236,7 +2236,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2270,14 +2270,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2287,7 +2287,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2475,7 +2475,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2509,7 +2509,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2543,7 +2543,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2577,7 +2577,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2676,7 +2676,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2710,7 +2710,7 @@

@@ -3152,7 +3152,7 @@

@@ -3186,7 +3186,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3526,7 +3526,7 @@

@@ -3560,7 +3560,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3594,7 +3594,7 @@

@@ -3643,7 +3643,7 @@

@@ -3742,7 +3742,7 @@

@@ -3914,7 +3914,7 @@

@@ -3922,7 +3922,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3939,7 +3939,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3966,7 +3966,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html index b48717b..1aec844 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-BigCartelTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html index d4ec58b..313f80c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-BitbucketTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-CodebergTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-CodebergTest.html index 6038ca6..b2a9906 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-CodebergTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-CodebergTest.html @@ -1394,7 +1394,7 @@

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

@@ -1984,7 +1984,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2222,7 +2222,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2256,14 +2256,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2273,7 +2273,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2396,7 +2396,7 @@

@@ -2461,7 +2461,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2495,7 +2495,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2529,7 +2529,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2662,7 +2662,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2696,7 +2696,7 @@

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

@@ -3172,7 +3172,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3444,7 +3444,7 @@

@@ -3478,7 +3478,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3512,7 +3512,7 @@

@@ -3561,7 +3561,7 @@

@@ -3660,7 +3660,7 @@

@@ -3832,7 +3832,7 @@

@@ -3840,7 +3840,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3857,7 +3857,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3884,7 +3884,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html index 62f55c7..e5a6b9f 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DeezerTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html index 459f4d2..460803c 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DeviantArtTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html index 637e1db..19d656e 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DiscogsTest.html @@ -1265,7 +1265,7 @@

@@ -1303,7 +1303,7 @@

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

@@ -1545,7 +1545,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1579,7 +1579,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1613,14 +1613,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1630,7 +1630,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1753,7 +1753,7 @@

@@ -1818,7 +1818,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1954,7 +1954,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1988,7 +1988,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2022,7 +2022,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2121,7 +2121,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2155,7 +2155,7 @@

@@ -2529,7 +2529,7 @@

@@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2665,7 +2665,7 @@

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2733,7 +2733,7 @@

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

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

@@ -3053,7 +3053,7 @@

@@ -3061,7 +3061,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3078,7 +3078,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3105,7 +3105,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html index ddd8e2d..df9f2d5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-DiscordTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html index 9d4ddb7..8f2da93 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-FlickrTest.html @@ -1265,7 +1265,7 @@

@@ -1303,7 +1303,7 @@

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

@@ -1545,7 +1545,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1579,7 +1579,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1613,14 +1613,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1630,7 +1630,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1753,7 +1753,7 @@

@@ -1818,7 +1818,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1954,7 +1954,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1988,7 +1988,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2022,7 +2022,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2121,7 +2121,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2155,7 +2155,7 @@

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

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2733,7 +2733,7 @@

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

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

@@ -3053,7 +3053,7 @@

@@ -3061,7 +3061,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3078,7 +3078,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3105,7 +3105,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html index 9ed88cc..e063972 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-FoursquareTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html index 9d146cd..3cdce2e 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GitHubTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html index 0373f0e..bc8d6e7 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GitLabTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GiteaTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-GiteaTest.html index c93b467..1316c44 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GiteaTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GiteaTest.html @@ -1394,7 +1394,7 @@

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

@@ -1984,7 +1984,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2222,7 +2222,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2256,14 +2256,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2273,7 +2273,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2396,7 +2396,7 @@

@@ -2461,7 +2461,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2495,7 +2495,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2529,7 +2529,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2662,7 +2662,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2696,7 +2696,7 @@

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

@@ -3172,7 +3172,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3444,7 +3444,7 @@

@@ -3478,7 +3478,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3512,7 +3512,7 @@

@@ -3561,7 +3561,7 @@

@@ -3660,7 +3660,7 @@

@@ -3832,7 +3832,7 @@

@@ -3840,7 +3840,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3857,7 +3857,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3884,7 +3884,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html index d78a428..4dc2cc8 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GoogleTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html index 15782d0..09955d4 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-GuildWars2Test.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html index 3eac1e7..808e1e3 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-ImgurTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html index 70a0684..74fc9b4 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-LastFMTest.html @@ -1212,7 +1212,7 @@

@@ -1250,7 +1250,7 @@

@@ -1390,7 +1390,7 @@

@@ -1458,7 +1458,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1492,14 +1492,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1509,7 +1509,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1632,7 +1632,7 @@

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

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1731,7 +1731,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1765,7 +1765,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -1799,7 +1799,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -1932,7 +1932,7 @@

@@ -2238,7 +2238,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2340,7 +2340,7 @@

@@ -2374,7 +2374,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2408,7 +2408,7 @@

@@ -2457,7 +2457,7 @@

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

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

@@ -2736,7 +2736,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -2753,7 +2753,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -2780,7 +2780,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html index afea62f..a0c1fbf 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MailChimpTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html index c3523c4..5333eb3 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MastodonTest.html @@ -1402,7 +1402,7 @@

@@ -1440,7 +1440,7 @@

@@ -1992,7 +1992,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2230,7 +2230,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2264,14 +2264,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2281,7 +2281,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2404,7 +2404,7 @@

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

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2503,7 +2503,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2537,7 +2537,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2571,7 +2571,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2670,7 +2670,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2704,7 +2704,7 @@

@@ -3146,7 +3146,7 @@

@@ -3180,7 +3180,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3486,7 +3486,7 @@

@@ -3520,7 +3520,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3554,7 +3554,7 @@

@@ -3603,7 +3603,7 @@

@@ -3702,7 +3702,7 @@

@@ -3874,7 +3874,7 @@

@@ -3882,7 +3882,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3899,7 +3899,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3926,7 +3926,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html index f81bd40..1146e87 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MicrosoftGraphTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html index 0435ad2..6e706e4 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MixcloudTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html index c2501a4..97a04b1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-MusicBrainzTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html index 97df2bc..c6e54a0 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-NPROneTest.html @@ -1402,7 +1402,7 @@

@@ -1440,7 +1440,7 @@

@@ -1992,7 +1992,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2230,7 +2230,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2264,14 +2264,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2281,7 +2281,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2404,7 +2404,7 @@

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

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2503,7 +2503,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2537,7 +2537,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2571,7 +2571,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2670,7 +2670,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2704,7 +2704,7 @@

@@ -3146,7 +3146,7 @@

@@ -3180,7 +3180,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3486,7 +3486,7 @@

@@ -3520,7 +3520,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3554,7 +3554,7 @@

@@ -3603,7 +3603,7 @@

@@ -3702,7 +3702,7 @@

@@ -3874,7 +3874,7 @@

@@ -3882,7 +3882,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3899,7 +3899,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3926,7 +3926,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html index 6fa2fc2..cf4962e 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1ProviderUnitTestAbstract.html @@ -1209,7 +1209,7 @@

@@ -1247,7 +1247,7 @@

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

@@ -1489,7 +1489,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1523,7 +1523,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1557,14 +1557,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1574,7 +1574,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1697,7 +1697,7 @@

@@ -1762,7 +1762,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1898,7 +1898,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1932,7 +1932,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -1966,7 +1966,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2065,7 +2065,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2099,7 +2099,7 @@

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

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

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2609,7 +2609,7 @@

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2677,7 +2677,7 @@

@@ -2726,7 +2726,7 @@

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

@@ -2997,7 +2997,7 @@

@@ -3005,7 +3005,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3022,7 +3022,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3049,7 +3049,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html index 395f241..3cb050e 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth1Test.html @@ -1265,7 +1265,7 @@

@@ -1303,7 +1303,7 @@

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

@@ -1545,7 +1545,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1579,7 +1579,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1613,14 +1613,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1630,7 +1630,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1753,7 +1753,7 @@

@@ -1818,7 +1818,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1954,7 +1954,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1988,7 +1988,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2022,7 +2022,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2121,7 +2121,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2529,7 +2529,7 @@

@@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2665,7 +2665,7 @@

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2733,7 +2733,7 @@

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

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

@@ -3053,7 +3053,7 @@

@@ -3061,7 +3061,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3078,7 +3078,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3105,7 +3105,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html index b53d73a..85ddb79 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2ProviderUnitTestAbstract.html @@ -1340,7 +1340,7 @@

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

@@ -1930,7 +1930,7 @@

@@ -2100,7 +2100,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2168,7 +2168,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2202,14 +2202,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2219,7 +2219,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2342,7 +2342,7 @@

@@ -2407,7 +2407,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2441,7 +2441,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2475,7 +2475,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2509,7 +2509,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2608,7 +2608,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2642,7 +2642,7 @@

@@ -3084,7 +3084,7 @@

@@ -3118,7 +3118,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3390,7 +3390,7 @@

@@ -3424,7 +3424,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3458,7 +3458,7 @@

@@ -3507,7 +3507,7 @@

@@ -3606,7 +3606,7 @@

@@ -3778,7 +3778,7 @@

@@ -3786,7 +3786,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3803,7 +3803,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3830,7 +3830,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html index 4c449fb..2756711 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuth2Test.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html b/classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html index 40308f2..c69d0da 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OAuthProviderUnitTestAbstract.html @@ -985,7 +985,7 @@

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

@@ -1061,7 +1061,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1129,7 +1129,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1163,14 +1163,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1180,7 +1180,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1303,7 +1303,7 @@

@@ -1368,7 +1368,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1402,7 +1402,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1436,7 +1436,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -1470,7 +1470,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -1569,7 +1569,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -1603,7 +1603,7 @@

@@ -1705,7 +1705,7 @@

@@ -1739,7 +1739,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -1773,7 +1773,7 @@

@@ -1807,7 +1807,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -1841,7 +1841,7 @@

@@ -1890,7 +1890,7 @@

@@ -1989,7 +1989,7 @@

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

@@ -2169,7 +2169,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -2186,7 +2186,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -2213,7 +2213,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html index 817451e..7438ef5 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OpenCachingTest.html @@ -1265,7 +1265,7 @@

@@ -1303,7 +1303,7 @@

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

@@ -1545,7 +1545,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1579,7 +1579,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1613,14 +1613,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1630,7 +1630,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1753,7 +1753,7 @@

@@ -1818,7 +1818,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1954,7 +1954,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1988,7 +1988,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2022,7 +2022,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2121,7 +2121,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2155,7 +2155,7 @@

@@ -2529,7 +2529,7 @@

@@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2665,7 +2665,7 @@

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2733,7 +2733,7 @@

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

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

@@ -3053,7 +3053,7 @@

@@ -3061,7 +3061,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3078,7 +3078,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3105,7 +3105,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html index f4571fd..a2dd0e1 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmap2Test.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html index 33e41af..f45d7ea 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-OpenStreetmapTest.html @@ -1265,7 +1265,7 @@

@@ -1303,7 +1303,7 @@

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

@@ -1545,7 +1545,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1579,7 +1579,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1613,14 +1613,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1630,7 +1630,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1753,7 +1753,7 @@

@@ -1818,7 +1818,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1954,7 +1954,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1988,7 +1988,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2022,7 +2022,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2121,7 +2121,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2155,7 +2155,7 @@

@@ -2529,7 +2529,7 @@

@@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2665,7 +2665,7 @@

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2733,7 +2733,7 @@

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

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

@@ -3053,7 +3053,7 @@

@@ -3061,7 +3061,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3078,7 +3078,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3105,7 +3105,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-PatreonTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-PatreonTest.html index 111efea..2b60e48 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-PatreonTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-PatreonTest.html @@ -1402,7 +1402,7 @@

@@ -1440,7 +1440,7 @@

@@ -1992,7 +1992,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2230,7 +2230,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2264,14 +2264,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2281,7 +2281,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2404,7 +2404,7 @@

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

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2503,7 +2503,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2537,7 +2537,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2571,7 +2571,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2704,7 +2704,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2738,7 +2738,7 @@

@@ -3180,7 +3180,7 @@

@@ -3214,7 +3214,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3486,7 +3486,7 @@

@@ -3520,7 +3520,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3554,7 +3554,7 @@

@@ -3603,7 +3603,7 @@

@@ -3702,7 +3702,7 @@

@@ -3874,7 +3874,7 @@

@@ -3882,7 +3882,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3899,7 +3899,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3926,7 +3926,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html index 813288c..25daa49 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-PayPalTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-PinterestTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-PinterestTest.html index e5693c4..b0e8979 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-PinterestTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-PinterestTest.html @@ -1394,7 +1394,7 @@

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

@@ -1984,7 +1984,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2222,7 +2222,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2256,14 +2256,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2273,7 +2273,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2396,7 +2396,7 @@

@@ -2461,7 +2461,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2495,7 +2495,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2529,7 +2529,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2662,7 +2662,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2696,7 +2696,7 @@

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

@@ -3172,7 +3172,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3444,7 +3444,7 @@

@@ -3478,7 +3478,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3512,7 +3512,7 @@

@@ -3561,7 +3561,7 @@

@@ -3660,7 +3660,7 @@

@@ -3832,7 +3832,7 @@

@@ -3840,7 +3840,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3857,7 +3857,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3884,7 +3884,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-RedditTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-RedditTest.html index fc6f60e..913db0d 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-RedditTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-RedditTest.html @@ -1394,7 +1394,7 @@

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

@@ -1984,7 +1984,7 @@

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

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2222,7 +2222,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2256,14 +2256,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2273,7 +2273,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2396,7 +2396,7 @@

@@ -2461,7 +2461,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2495,7 +2495,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2529,7 +2529,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2662,7 +2662,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2696,7 +2696,7 @@

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

@@ -3172,7 +3172,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3478,7 +3478,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3512,7 +3512,7 @@

@@ -3561,7 +3561,7 @@

@@ -3660,7 +3660,7 @@

@@ -3832,7 +3832,7 @@

@@ -3840,7 +3840,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3857,7 +3857,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3884,7 +3884,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html index 35ed6ba..28f7675 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SlackTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html index 6d77162..3c0f3bd 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SoundCloudTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html index a473340..6a29fcc 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SpotifyTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-SteamTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-SteamTest.html index 8b1128c..9a0a074 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-SteamTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-SteamTest.html @@ -1188,7 +1188,7 @@

@@ -1226,7 +1226,7 @@

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

@@ -1434,7 +1434,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1468,14 +1468,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1485,7 +1485,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1608,7 +1608,7 @@

@@ -1673,7 +1673,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1707,7 +1707,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1741,7 +1741,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -1775,7 +1775,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -1874,7 +1874,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -1908,7 +1908,7 @@

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

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2180,7 +2180,7 @@

@@ -2214,7 +2214,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2248,7 +2248,7 @@

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

@@ -2396,7 +2396,7 @@

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

@@ -2576,7 +2576,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -2593,7 +2593,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -2620,7 +2620,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html index 385d52e..8a20f96 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-StripeTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html b/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html index f788556..463fc75 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-Tumblr2Test.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html index 2b34c2b..b884ba9 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TumblrTest.html @@ -1265,7 +1265,7 @@

@@ -1303,7 +1303,7 @@

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

@@ -1545,7 +1545,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1579,7 +1579,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1613,14 +1613,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1630,7 +1630,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1753,7 +1753,7 @@

@@ -1818,7 +1818,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1954,7 +1954,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1988,7 +1988,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2022,7 +2022,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2121,7 +2121,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2155,7 +2155,7 @@

@@ -2529,7 +2529,7 @@

@@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2665,7 +2665,7 @@

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2733,7 +2733,7 @@

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

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

@@ -3053,7 +3053,7 @@

@@ -3061,7 +3061,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3078,7 +3078,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3105,7 +3105,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html index 0942d95..47beedd 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TwitchTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html index 6862cb1..768f250 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterCCTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html index eec18da..6a7ac03 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-TwitterTest.html @@ -1265,7 +1265,7 @@

@@ -1303,7 +1303,7 @@

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

@@ -1545,7 +1545,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -1579,7 +1579,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -1613,14 +1613,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -1630,7 +1630,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -1753,7 +1753,7 @@

@@ -1818,7 +1818,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -1954,7 +1954,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -1988,7 +1988,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2022,7 +2022,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2121,7 +2121,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2155,7 +2155,7 @@

@@ -2529,7 +2529,7 @@

@@ -2563,7 +2563,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -2665,7 +2665,7 @@

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

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -2733,7 +2733,7 @@

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

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

@@ -3053,7 +3053,7 @@

@@ -3061,7 +3061,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3078,7 +3078,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3105,7 +3105,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html index cabed77..e4b7d20 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-VimeoTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html index 2ebe646..154714d 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-WordPressTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html b/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html index 38411c6..dd5c176 100644 --- a/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html +++ b/classes/chillerlan-OAuthTest-Providers-Unit-YouTubeTest.html @@ -1396,7 +1396,7 @@

@@ -1434,7 +1434,7 @@

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

@@ -2156,7 +2156,7 @@

OAuthProviderUnitTestAbstract.php : - 146 + 149 @@ -2224,7 +2224,7 @@

OAuthProviderUnitTestAbstract.php : - 99 + 102 @@ -2258,14 +2258,14 @@

public - testGetRequestBodyWithArray(array<string|int, mixed> $body, string $contentType, string $expected) : void + testGetRequestBodyWithArray(array<string, string> $body, string $contentType, string $expected) : void
@@ -2275,7 +2275,7 @@

Parameters
$body - : array<string|int, mixed> + : array<string, string>
@@ -2398,7 +2398,7 @@

@@ -2463,7 +2463,7 @@

OAuthProviderUnitTestAbstract.php : - 134 + 137 @@ -2497,7 +2497,7 @@

OAuthProviderUnitTestAbstract.php : - 312 + 315 @@ -2531,7 +2531,7 @@

OAuthProviderUnitTestAbstract.php : - 304 + 307 @@ -2565,7 +2565,7 @@

OAuthProviderUnitTestAbstract.php : - 337 + 340 @@ -2664,7 +2664,7 @@

OAuthProviderUnitTestAbstract.php : - 264 + 267 @@ -2698,7 +2698,7 @@

@@ -3140,7 +3140,7 @@

@@ -3174,7 +3174,7 @@

OAuthProviderUnitTestAbstract.php : - 187 + 190 @@ -3446,7 +3446,7 @@

@@ -3480,7 +3480,7 @@

OAuthProviderUnitTestAbstract.php : - 225 + 228 @@ -3514,7 +3514,7 @@

@@ -3563,7 +3563,7 @@

@@ -3662,7 +3662,7 @@

@@ -3834,7 +3834,7 @@

@@ -3842,7 +3842,7 @@

protected - final invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed + final invokeReflectionMethod(string $method[, array<int, mixed> $args = [] ]) : mixed
@@ -3859,7 +3859,7 @@

Parameters
$args - : array<string|int, mixed> + : array<int, mixed> = []
@@ -3886,7 +3886,7 @@

diff --git a/files/src/Core/AccessToken.php.txt b/files/src/Core/AccessToken.php.txt index df788e8..b8b8a54 100644 --- a/files/src/Core/AccessToken.php.txt +++ b/files/src/Core/AccessToken.php.txt @@ -70,11 +70,15 @@ final class AccessToken extends SettingsContainerAbstract{ /** * (magic) The scopes that are attached to this token + * + * @var string[] */ protected array $scopes = []; /** * (magic) Additional token parameters supplied by the provider + * + * @var array */ protected array $extraParams = []; diff --git a/files/src/Core/AuthenticatedUser.php.txt b/files/src/Core/AuthenticatedUser.php.txt index 7d9fb88..673fc10 100644 --- a/files/src/Core/AuthenticatedUser.php.txt +++ b/files/src/Core/AuthenticatedUser.php.txt @@ -55,6 +55,8 @@ final class AuthenticatedUser extends SettingsContainerAbstract{ /** * (magic) The full user endpoint response + * + * @var array */ protected array $data = []; @@ -78,12 +80,12 @@ final class AuthenticatedUser extends SettingsContainerAbstract{ */ /** @codeCoverageIgnore */ - public function __set(string $property, $value):void{ + public function __set(string $property, mixed $value):void{ // noop } /** @codeCoverageIgnore */ - public function fromIterable(iterable $properties):static{ + public function fromIterable(iterable $properties):static{ // phpcs:ignore // noop return $this; } diff --git a/files/src/Core/OAuth1Provider.php.txt b/files/src/Core/OAuth1Provider.php.txt index 69a94ec..8747f90 100644 --- a/files/src/Core/OAuth1Provider.php.txt +++ b/files/src/Core/OAuth1Provider.php.txt @@ -33,7 +33,7 @@ abstract class OAuth1Provider extends OAuthProvider implements OAuth1Interface{ protected string $requestTokenURL = ''; /** - * @inheritDoc + * @param array $params */ public function getAuthorizationURL(array|null $params = null, array|null $scopes = null):UriInterface{ $response = $this->sendRequestTokenRequest($this->requestTokenURL); @@ -150,6 +150,8 @@ abstract class OAuth1Provider extends OAuthProvider implements OAuth1Interface{ * @see \chillerlan\OAuth\Core\OAuth1Provider::getRequestTokenRequestParams() * @see \chillerlan\OAuth\Core\OAuth1Provider::getRequestAuthorization() * + * @param array $params + * * @throws \chillerlan\OAuth\Providers\ProviderException */ protected function getSignature( @@ -228,6 +230,8 @@ abstract class OAuth1Provider extends OAuthProvider implements OAuth1Interface{ /** * Adds the "Authorization" header to the given `RequestInterface` using the given array or parameters + * + * @param array $params */ protected function setAuthorizationHeader(RequestInterface $request, array $params):RequestInterface{ return $request->withHeader('Authorization', sprintf('OAuth %s', QueryUtil::build($params, null, ', ', '"'))); @@ -237,6 +241,8 @@ abstract class OAuth1Provider extends OAuthProvider implements OAuth1Interface{ * Sends the access token request * * @see \chillerlan\OAuth\Core\OAuth1Provider::getAccessToken() + * + * @param array $headerParams */ protected function sendAccessTokenRequest(array $headerParams):ResponseInterface{ diff --git a/files/src/Core/OAuth2Provider.php.txt b/files/src/Core/OAuth2Provider.php.txt index dcf208d..239e3e5 100644 --- a/files/src/Core/OAuth2Provider.php.txt +++ b/files/src/Core/OAuth2Provider.php.txt @@ -56,7 +56,8 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ protected string $parAuthorizationURL = ''; /** - * @inheritDoc + * @param array $params + * @param string[] $scopes */ public function getAuthorizationURL(array|null $params = null, array|null $scopes = null):UriInterface{ $queryParams = $this->getAuthorizationURLRequestParams(($params ?? []), ($scopes ?? $this::DEFAULT_SCOPES)); @@ -72,6 +73,9 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ * prepares the query parameters for the auth URL * * @see \chillerlan\OAuth\Core\OAuth2Provider::getAuthorizationURL() + * + * @param array $params + * @param string[] $scopes */ protected function getAuthorizationURLRequestParams(array $params, array $scopes):array{ @@ -185,9 +189,6 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ return $data; } - /** - * @inheritDoc - */ public function getAccessToken(string $code, string|null $state = null):AccessToken{ if($this instanceof CSRFToken){ @@ -234,6 +235,8 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ * @see \chillerlan\OAuth\Core\OAuth2Provider::getAccessToken() * @see \chillerlan\OAuth\Core\OAuth2Provider::refreshAccessToken() * @see \chillerlan\OAuth\Core\OAuth2Provider::getParRequestUri() + * + * @param array $body */ protected function sendAccessTokenRequest(string $url, array $body):ResponseInterface{ @@ -256,9 +259,6 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ return $this->http->sendRequest($request); } - /** - * @inheritDoc - */ public function getRequestAuthorization(RequestInterface $request, AccessToken|null $token = null):RequestInterface{ $token ??= $this->storage->getAccessToken($this->name); @@ -291,7 +291,11 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ */ /** - * @implements \chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken() + * implements ClientCredentials::getClientCredentialsToken() + * + * @see \chillerlan\OAuth\Core\ClientCredentials::getClientCredentialsToken() + * + * @param string[]|null $scopes * @throws \chillerlan\OAuth\Providers\ProviderException */ public function getClientCredentialsToken(array|null $scopes = null):AccessToken{ @@ -335,6 +339,8 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ * sends a request to the client credentials endpoint, using basic authentication * * @see \chillerlan\OAuth\Core\OAuth2Provider::getClientCredentialsToken() + * + * @param array $body */ protected function sendClientCredentialsTokenRequest(string $url, array $body):ResponseInterface{ @@ -361,7 +367,9 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ */ /** - * @implements \chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken() + * implements TokenRefresh::refreshAccessToken() + * + * @see \chillerlan\OAuth\Core\TokenRefresh::refreshAccessToken() * @throws \chillerlan\OAuth\Providers\ProviderException */ public function refreshAccessToken(AccessToken|null $token = null):AccessToken{ @@ -413,14 +421,16 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ */ /** - * @implements \chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken() + * implements TokenInvalidate::invalidateAccessToken() + * + * @see \chillerlan\OAuth\Core\TokenInvalidate::invalidateAccessToken() * @throws \chillerlan\OAuth\Providers\ProviderException */ - public function invalidateAccessToken(AccessToken $token = null, string|null $type = null):bool{ + public function invalidateAccessToken(AccessToken|null $token = null, string|null $type = null):bool{ $type = strtolower(trim(($type ?? 'access_token'))); // @link https://datatracker.ietf.org/doc/html/rfc7009#section-2.1 - if(!in_array($type, ['access_token', 'refresh_token'])){ + if(!in_array($type, ['access_token', 'refresh_token'], true)){ throw new ProviderException(sprintf('invalid token type "%s"', $type)); } @@ -456,6 +466,8 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ * Prepares and sends a request to the token invalidation endpoint * * @see \chillerlan\OAuth\Core\OAuth2Provider::invalidateAccessToken() + * + * @param array $body */ protected function sendTokenInvalidateRequest(string $url, array $body):ResponseInterface{ @@ -488,8 +500,12 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ */ /** - * @implements \chillerlan\OAuth\Core\CSRFToken::setState() + * implements CSRFToken::setState() + * + * @see \chillerlan\OAuth\Core\CSRFToken::setState() * @see \chillerlan\OAuth\Core\OAuth2Provider::getAuthorizationURLRequestParams() + * + * @param array $params * @throws \chillerlan\OAuth\Providers\ProviderException */ final public function setState(array $params):array{ @@ -509,7 +525,9 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ } /** - * @implements \chillerlan\OAuth\Core\CSRFToken::checkState() + * implements CSRFToken::checkState() + * + * @see \chillerlan\OAuth\Core\CSRFToken::checkState() * @see \chillerlan\OAuth\Core\OAuth2Provider::getAccessToken() * @throws \chillerlan\OAuth\Providers\ProviderException|\chillerlan\OAuth\Core\CSRFStateMismatchException */ @@ -539,8 +557,12 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ */ /** - * @implements \chillerlan\OAuth\Core\PKCE::setCodeChallenge() + * implements PKCE::setCodeChallenge() + * + * @see \chillerlan\OAuth\Core\PKCE::setCodeChallenge() * @see \chillerlan\OAuth\Core\OAuth2Provider::getAuthorizationURLRequestParams() + * + * @param array $params */ final public function setCodeChallenge(array $params, string $challengeMethod):array{ @@ -563,8 +585,12 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ } /** - * @implements \chillerlan\OAuth\Core\PKCE::setCodeVerifier() + * implements PKCE::setCodeVerifier() + * + * @see \chillerlan\OAuth\Core\PKCE::setCodeVerifier() * @see \chillerlan\OAuth\Core\OAuth2Provider::getAccessTokenRequestBodyParams() + * + * @param array $params */ final public function setCodeVerifier(array $params):array{ @@ -585,7 +611,9 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ } /** - * @implements \chillerlan\OAuth\Core\PKCE::generateVerifier() + * implements PKCE::generateVerifier() + * + * @see \chillerlan\OAuth\Core\PKCE::generateVerifier() * @see \chillerlan\OAuth\Core\OAuth2Provider::setCodeChallenge() * * @phan-suppress PhanUndeclaredClassMethod, PhanUndeclaredMethod @@ -611,7 +639,9 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ } /** - * @implements \chillerlan\OAuth\Core\PKCE::generateChallenge() + * implements PKCE::generateChallenge() + * + * @see \chillerlan\OAuth\Core\PKCE::generateChallenge() * @see \chillerlan\OAuth\Core\OAuth2Provider::setCodeChallenge() */ final public function generateChallenge(string $verifier, string $challengeMethod):string{ @@ -634,8 +664,12 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ */ /** - * @implements \chillerlan\OAuth\Core\PAR::getParRequestUri() + * implements PAR::getParRequestUri() + * + * @see \chillerlan\OAuth\Core\PAR::getParRequestUri() * @see \chillerlan\OAuth\Core\OAuth2Provider::getAuthorizationURL() + * + * @param array $body */ public function getParRequestUri(array $body):UriInterface{ @@ -669,6 +703,9 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ * Parses the response from the PAR request and returns the query parameters for the authorization URL * * @see \chillerlan\OAuth\Core\OAuth2Provider::getParRequestUri() + * + * @param array $response + * * @codeCoverageIgnore */ protected function getParAuthorizationURLRequestParams(array $response):array{ diff --git a/files/src/Core/OAuthProvider.php.txt b/files/src/Core/OAuthProvider.php.txt index 3647bbf..1cabfb8 100644 --- a/files/src/Core/OAuthProvider.php.txt +++ b/files/src/Core/OAuthProvider.php.txt @@ -267,7 +267,6 @@ abstract class OAuthProvider implements OAuthInterface{ * Prepare request headers */ final protected function getRequestHeaders(array|null $headers = null):array{ - /** @noinspection PhpParamsInspection sup PHPStorm?? */ return array_merge($this::HEADERS_API, ($headers ?? [])); } @@ -280,6 +279,8 @@ abstract class OAuthProvider implements OAuthInterface{ /** * Cleans an array of query parameters + * + * @param array $params */ protected function cleanQueryParams(iterable $params):array{ return QueryUtil::cleanParams($params, QueryUtil::BOOLEANS_AS_INT_STRING, true); @@ -287,6 +288,8 @@ abstract class OAuthProvider implements OAuthInterface{ /** * Cleans an array of body parameters + * + * @param array $params */ protected function cleanBodyParams(iterable $params):array{ return QueryUtil::cleanParams($params, QueryUtil::BOOLEANS_AS_BOOL, true); diff --git a/js/searchIndex.js b/js/searchIndex.js index c5d7e8c..f36d60e 100644 --- a/js/searchIndex.js +++ b/js/searchIndex.js @@ -328,7 +328,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AgetClientCredentialsToken\u0028\u0029", "name": "getClientCredentialsToken", - "summary": "", + "summary": "implements\u0020ClientCredentials\u003A\u003AgetClientCredentialsToken\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_getClientCredentialsToken" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AgetClientCredentialsTokenRequestBodyParams\u0028\u0029", @@ -343,7 +343,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003ArefreshAccessToken\u0028\u0029", "name": "refreshAccessToken", - "summary": "", + "summary": "implements\u0020TokenRefresh\u003A\u003ArefreshAccessToken\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_refreshAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AgetRefreshAccessTokenRequestBodyParams\u0028\u0029", @@ -353,7 +353,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AinvalidateAccessToken\u0028\u0029", "name": "invalidateAccessToken", - "summary": "", + "summary": "implements\u0020TokenInvalidate\u003A\u003AinvalidateAccessToken\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_invalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AsendTokenInvalidateRequest\u0028\u0029", @@ -368,37 +368,37 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AsetState\u0028\u0029", "name": "setState", - "summary": "", + "summary": "implements\u0020CSRFToken\u003A\u003AsetState\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_setState" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AcheckState\u0028\u0029", "name": "checkState", - "summary": "", + "summary": "implements\u0020CSRFToken\u003A\u003AcheckState\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_checkState" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AsetCodeChallenge\u0028\u0029", "name": "setCodeChallenge", - "summary": "", + "summary": "implements\u0020PKCE\u003A\u003AsetCodeChallenge\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_setCodeChallenge" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AsetCodeVerifier\u0028\u0029", "name": "setCodeVerifier", - "summary": "", + "summary": "implements\u0020PKCE\u003A\u003AsetCodeVerifier\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_setCodeVerifier" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AgenerateVerifier\u0028\u0029", "name": "generateVerifier", - "summary": "", + "summary": "implements\u0020PKCE\u003A\u003AgenerateVerifier\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_generateVerifier" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AgenerateChallenge\u0028\u0029", "name": "generateChallenge", - "summary": "", + "summary": "implements\u0020PKCE\u003A\u003AgenerateChallenge\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_generateChallenge" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AgetParRequestUri\u0028\u0029", "name": "getParRequestUri", - "summary": "", + "summary": "implements\u0020PAR\u003A\u003AgetParRequestUri\u0028\u0029", "url": "classes/chillerlan-OAuth-Core-OAuth2Provider.html#method_getParRequestUri" }, { "fqsen": "\\chillerlan\\OAuth\\Core\\OAuth2Provider\u003A\u003AgetParAuthorizationURLRequestParams\u0028\u0029", @@ -1238,7 +1238,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\BigCartel\u003A\u003AinvalidateAccessToken\u0028\u0029", "name": "invalidateAccessToken", - "summary": "", + "summary": "implements\u0020TokenInvalidate\u003A\u003AinvalidateAccessToken\u0028\u0029", "url": "classes/chillerlan-OAuth-Providers-BigCartel.html#method_invalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\BigCartel\u003A\u003AgetAccountID\u0028\u0029", @@ -1633,7 +1633,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\DeviantArt\u003A\u003AinvalidateAccessToken\u0028\u0029", "name": "invalidateAccessToken", - "summary": "", + "summary": "implements\u0020TokenInvalidate\u003A\u003AinvalidateAccessToken\u0028\u0029", "url": "classes/chillerlan-OAuth-Providers-DeviantArt.html#method_invalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\DeviantArt\u003A\u003AIDENTIFIER", @@ -5173,7 +5173,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Vimeo\u003A\u003AinvalidateAccessToken\u0028\u0029", "name": "invalidateAccessToken", - "summary": "", + "summary": "implements\u0020TokenInvalidate\u003A\u003AinvalidateAccessToken\u0028\u0029", "url": "classes/chillerlan-OAuth-Providers-Vimeo.html#method_invalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuth\\Providers\\Vimeo\u003A\u003AIDENTIFIER", @@ -6103,7 +6103,7 @@ Search.appendIndex( }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003AinvalidateAccessToken\u0028\u0029", "name": "invalidateAccessToken", - "summary": "", + "summary": "implements\u0020TokenInvalidate\u003A\u003AinvalidateAccessToken\u0028\u0029", "url": "classes/chillerlan-OAuthTest-Providers-DummyOAuth2Provider.html#method_invalidateAccessToken" }, { "fqsen": "\\chillerlan\\OAuthTest\\Providers\\DummyOAuth2Provider\u003A\u003AIDENTIFIER",