+ HEADERS_API + + +
+ + + +additional headers to use during API access
+ +
+ public
+ array<string|int, mixed>
+ HEADERS_API
+ = []
+
+
+
+
+
+
+
+diff --git a/classes/chillerlan-OAuth-Core-ClientCredentials.html b/classes/chillerlan-OAuth-Core-ClientCredentials.html index 16c33dc0..9725ead4 100644 --- a/classes/chillerlan-OAuth-Core-ClientCredentials.html +++ b/classes/chillerlan-OAuth-Core-ClientCredentials.html @@ -245,7 +245,7 @@
additional headers to use during API access
+ +
+ public
+ array<string|int, mixed>
+ HEADERS_API
+ = []
+
+
+
+
+
+
+
+additional headers to use during authentication
+ +
+ public
+ array<string|int, mixed>
+ HEADERS_AUTH
+ = []
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
Specifies the authentication method:
+ +
+ public
+ int
+ AUTH_METHOD
+ = self::AUTH_METHOD_HEADER
+
+
+
+
public
- mixed
+ int
AUTH_METHOD_HEADER
= 1
@@ -320,14 +403,14 @@
public
- mixed
+ int
AUTH_METHOD_QUERY
= 2
@@ -337,6 +420,180 @@ The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
+ +
+ public
+ string
+ AUTH_PREFIX_HEADER
+ = 'Bearer'
+
+
+
+
+
+
+
+The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
+ +
+ public
+ string
+ AUTH_PREFIX_QUERY
+ = 'access_token'
+
+
+
+
+
+
+
+Default scopes to apply if none were provided via the $scopes parameter
+ +
+ public
+ array<string|int, string>
+ DEFAULT_SCOPES
+ = []
+
+
+
+
+
+
+
+additional headers to use during API access
+ +
+ public
+ array<string|int, mixed>
+ HEADERS_API
+ = []
+
+
+
+
+
+
+
+additional headers to use during authentication
+ +
+ public
+ array<string|int, mixed>
+ HEADERS_AUTH
+ = []
+
+
+
+
+
+
+
+The delimiter string for scopes
+ +
+ public
+ string
+ SCOPE_DELIMITER
+ = ' '
+
+
+
+
+
+
+
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
+ +
+ public
+ array<string|int, mixed>
+ HEADERS_API
+ = []
+
+
+
+
+
+
+
+additional headers to use during authentication
+ +
+ public
+ array<string|int, mixed>
+ HEADERS_AUTH
+ = []
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
Whether to end the session when session storage is used
+ +
+ protected
+ bool
+ $sessionStop
+ = false
+
+ Note: this is set to false
by default to not interfere with other session managers
Whether to end the session when session storage is used
+ +
+ protected
+ bool
+ $sessionStop
+ = false
+
+ Note: this is set to false
by default to not interfere with other session managers
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_PROFILE, self::SCOPE_PROFILE_USER_ID]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_PROFILE, self::SCOPE_PROFILE_USER_ID]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_OPENID, self::SCOPE_PROFILE_D3, self::SCOPE_PROFILE_SC2, self::SCOPE_PROFILE_WOW]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_OPENID, self::SCOPE_PROFILE_D3, self::SCOPE_PROFILE_SC2, self::SCOPE_PROFILE_WOW]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ HEADERS_API
+ = ['Accept' => 'application/vnd.api+json']
+
+
+
+
+
+
+
+
- protected
- array<string|int, mixed>
- $apiHeaders
- = ['Accept' => 'application/vnd.api+json']
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ AUTH_METHOD
+ = self::AUTH_METHOD_QUERY
+
+
+
+
+
+
+
+
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_BASIC, self::SCOPE_EMAIL, self::SCOPE_OFFLINE_ACCESS, self::SCOPE_MANAGE_LIBRARY, self::SCOPE_LISTENING_HISTORY]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_QUERY
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_BASIC, self::SCOPE_EMAIL, self::SCOPE_OFFLINE_ACCESS, self::SCOPE_MANAGE_LIBRARY, self::SCOPE_LISTENING_HISTORY]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_BASIC, self::SCOPE_BROWSE]
+
+
+
+
+
+
+
+
+ public
+ mixed
+ HEADERS_API
+ = ['dA-minor-version' => '20210526']
+
+
+
+
+
+
+
+
- protected
- array<string|int, mixed>
- $apiHeaders
- = ['dA-minor-version' => '20210526']
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_BASIC, self::SCOPE_BROWSE]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ HEADERS_API
+ = ['Accept' => 'application/vnd.discogs.v2.discogs+json']
+
+
+
+
+
+
+
+
- protected
- array<string|int, mixed>
- $apiHeaders
- = ['Accept' => 'application/vnd.discogs.v2.discogs+json']
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_CONNECTIONS, self::SCOPE_EMAIL, self::SCOPE_IDENTIFY, self::SCOPE_GUILDS, self::SCOPE_GUILDS_JOIN, self::SCOPE_GDM_JOIN, self::SCOPE_MESSAGES_READ]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_CONNECTIONS, self::SCOPE_EMAIL, self::SCOPE_IDENTIFY, self::SCOPE_GUILDS, self::SCOPE_GUILDS_JOIN, self::SCOPE_GDM_JOIN, self::SCOPE_MESSAGES_READ]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
+ public
+ mixed
+ AUTH_METHOD
+ = self::AUTH_METHOD_QUERY
+
+
+
+
+
+
+
+
+ public
+ mixed
+ AUTH_PREFIX_QUERY
+ = 'oauth_token'
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_QUERY
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'oauth_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_USER, self::SCOPE_USER_EMAIL, self::SCOPE_PUBLIC_REPO, self::SCOPE_GIST]
+
+
+
+
+
+
+
+
+ public
+ mixed
+ HEADERS_API
+ = ['Accept' => 'application/vnd.github.beta+json']
+
+
+
+
+
+
+
+
+ public
+ mixed
+ HEADERS_AUTH
+ = ['Accept' => 'application/json']
+
+
+
+
+
+
+
+
- protected
- array<string|int, mixed>
- $apiHeaders
- = ['Accept' => 'application/vnd.github.beta+json']
-
-
-
-
-
- protected
- array<string|int, mixed>
- $authHeaders
- = ['Accept' => 'application/json']
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_USER, self::SCOPE_USER_EMAIL, self::SCOPE_PUBLIC_REPO, self::SCOPE_GIST]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_EMAIL, self::SCOPE_PROFILE]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_EMAIL, self::SCOPE_PROFILE]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
Implements an abstract OAuth2 provider with all methods required by the OAuth2Interface.
- - - -
- public
- mixed
- SCOPE_BASIC
- = 'basic'
-
-
-
-
-
-
-
-
- public
- mixed
- SCOPE_COMMENTS
- = 'comments'
-
-
-
-
-
-
-
-
- public
- mixed
- SCOPE_FOLLOWER_LIST
- = 'follower_list'
-
-
-
-
-
-
-
-
- public
- mixed
- SCOPE_LIKES
- = 'likes'
-
-
-
-
-
-
-
-
- public
- mixed
- SCOPE_PUBLIC_CONTENT
- = 'public_content'
-
-
-
-
-
-
-
-
- public
- mixed
- SCOPE_RELATIONSHIPS
- = 'relationships'
-
-
-
-
-
-
-
-
- protected
- array<string|int, string>
- ALLOWED_PROPERTIES
- = ['apiDocs', 'apiURL', 'applicationURL', 'serviceName', 'userRevokeURL']
-
-
-
-
-
-
-
-
- protected
- string
- $accessTokenURL
- = 'https://api.instagram.com/oauth/access_token'
-
-
-
-
-
-
- protected
- string|null
- $apiDocs
- = 'https://www.instagram.com/developer/'
-
-
-
-
-
-additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
-
- protected
- string
- $apiURL
- = 'https://api.instagram.com'
-
-
-
-
-
-
- protected
- string|null
- $applicationURL
- = 'https://www.instagram.com/developer/clients/manage/'
-
-
-
-
-
-additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
-
- protected
- string
- $authURL
- = 'https://api.instagram.com/oauth/authorize'
-
-
-
-
-
-An optional client credentials token endpoint in case the provider supports ClientCredentials.
- -
- protected
- string|null
- $clientCredentialsTokenURL
- = null
-
- If the provider supports client credentials and $clientCredentialsTokenURL is null, $accessTokenURL will be used instead.
-Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_BASIC, self::SCOPE_PUBLIC_CONTENT]
-
-
-
-
-
-
- protected
- ClientInterface
- $http
-
-
-
-
-
-
-
- protected
- LoggerInterface
- $logger
- = new NullLogger()
-
-
-
-
-
-
- protected
- OAuthOptions|SettingsContainerInterface
- $options
-
-
-
-
-
-
-An optional refresh token endpoint in case the provider supports TokenRefresh.
- -
- protected
- string
- $refreshTokenURL
-
-
- If the provider supports token refresh and $refreshTokenURL is null, $accessTokenURL will be used instead.
-
- protected
- RequestFactoryInterface
- $requestFactory
-
-
-
-
-
-
-an optional URL for application side token revocation
- -
- protected
- string
- $revokeURL
-
-
-
-
-
- The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
-the name of the provider/class (magic)
- -
- protected
- string
- $serviceName
-
-
-
-
-
-
-
- protected
- OAuthStorageInterface
- $storage
- = new MemoryStorage()
-
-
-
-
-
-
- protected
- StreamFactoryInterface
- $streamFactory
-
-
-
-
-
-
-
- protected
- UriFactoryInterface
- $uriFactory
-
-
-
-
-
-
-
- protected
- string|null
- $userRevokeURL
- = 'https://www.instagram.com/accounts/manage_access/'
-
-
-
-
-
-OAuthProvider constructor.
- -
- public
- __construct(OAuthOptions|SettingsContainerInterface $options, ClientInterface $http, RequestFactoryInterface $requestFactory, StreamFactoryInterface $streamFactory, UriFactoryInterface $uriFactory[, OAuthStorageInterface $storage = new MemoryStorage() ][, LoggerInterface $logger = new NullLogger() ]) : mixed
-
- Magic getter for the properties specified in self::ALLOWED_PROPERTIES
- -
- public
- __get(string $name) : string|null
-
- Obtains an OAuth2 access token with the given $code, verifies the $state -if the provider implements the CSRFToken interface, and returns an AccessToken object
- -
- public
- getAccessToken(string $code[, string|null $state = null ]) : AccessToken
-
- Prepares the URL with optional $params and $scopes which redirects to the provider's authorization prompt -and returns a PSR-7 UriInterface with all necessary parameters set
- -
- public
- getAuthURL([array<string|int, mixed>|null $params = null ][, array<string|int, mixed>|null $scopes = null ]) : UriInterface
-
-
- public
- getClientCredentialsToken([array<string|int, mixed>|null $scopes = null ]) : AccessToken
-
-
- public
- getRequestAuthorization(RequestInterface $request, AccessToken $token) : RequestInterface
-
- Returns the current OAuthStorageInterface
- -
- public
- getStorage() : OAuthStorageInterface
-
-
- public
- invalidateAccessToken([AccessToken|null $token = null ]) : bool
-
-
- public
- me() : ResponseInterface
-
-
- public
- refreshAccessToken([AccessToken|null $token = null ]) : AccessToken
-
- Prepares an API request to $path with the given parameters, gets authorization, fires the request -and returns a PSR-7 ResponseInterface with the corresponding API response
- -
- public
- request(string $path[, array<string|int, mixed>|null $params = null ][, string|null $method = null ][, StreamInterface|array<string|int, mixed>|string|null $body = null ][, array<string|int, mixed>|null $headers = null ][, string|null $protocolVersion = null ]) : ResponseInterface
-
- Gets an access token from the current OAuthStorageInterface (shorthand/convenience)
- -
- public
- retrieveAccessToken() : AccessToken
-
-
- public
- sendRequest(RequestInterface $request) : ResponseInterface
-
- Sets an optional PSR-3 LoggerInterface
- -
- public
- setLogger(LoggerInterface $logger) : static
-
- Sets an optional PSR-17 RequestFactoryInterface
- -
- public
- setRequestFactory(RequestFactoryInterface $requestFactory) : static
-
- Sets an optional OAuthStorageInterface
- -
- public
- setStorage(OAuthStorageInterface $storage) : static
-
- Sets an optional PSR-17 StreamFactoryInterface
- -
- public
- setStreamFactory(StreamFactoryInterface $streamFactory) : static
-
- Sets an optional PSR-17 UriFactoryInterface
- -
- public
- setUriFactory(UriFactoryInterface $uriFactory) : static
-
- Sets an access token in the current OAuthStorageInterface (shorthand/convenience)
- -
- public
- storeAccessToken(AccessToken $token) : static
-
- Cleans an array of body parameters
- -
- protected
- cleanBodyParams(iterable<string|int, mixed> $params) : array<string|int, mixed>
-
- Cleans an array of query parameters
- -
- protected
- cleanQueryParams(iterable<string|int, mixed> $params) : array<string|int, mixed>
-
- A replacement constructor that you can call in extended classes, -so that you don't have to implement the monstrous original `__construct()`
- -
- protected
- construct() : void
-
- Creates an access token with the provider set to $this->serviceName
- -
- protected
- createAccessToken() : AccessToken
-
- Prepares the request body
- -
- protected
- getRequestBody(StreamInterface|array<string|int, mixed>|string $body, RequestInterface $request) : StreamInterface
-
- Prepare request headers
- -
- protected
- getRequestHeaders([array<string|int, mixed>|null $headers = null ]) : array<string|int, mixed>
-
- Determine the request target from the given URI (path segment or URL) with respect to $apiURL, -anything except host and path will be ignored, scheme will always be set to "https".
- -
- protected
- getRequestTarget(string $uri) : string
-
- Throws if the given path is invalid or if the host of a given URL does not match $apiURL.
-Prepares the request URL
- -
- protected
- getRequestURL(string $path[, array<string|int, mixed>|null $params = null ]) : string
-
- Parses the response from a request to the token endpoint
- -
- protected
- parseTokenResponse(ResponseInterface $response) : AccessToken
-
- additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'OAuth'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_READ, self::SCOPE_FOLLOW]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_READ, self::SCOPE_FOLLOW]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_OPENID, self::SCOPE_OPENID_EMAIL, self::SCOPE_OPENID_PROFILE, self::SCOPE_OFFLINE_ACCESS, self::SCOPE_USER_READ, self::SCOPE_USER_READBASIC_ALL]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_OPENID, self::SCOPE_OPENID_EMAIL, self::SCOPE_OPENID_PROFILE, self::SCOPE_OFFLINE_ACCESS, self::SCOPE_USER_READ, self::SCOPE_USER_READBASIC_ALL]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ AUTH_METHOD
+ = self::AUTH_METHOD_QUERY
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_QUERY
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_PROFILE, self::SCOPE_EMAIL, self::SCOPE_TAG, self::SCOPE_RATING, self::SCOPE_COLLECTION]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_PROFILE, self::SCOPE_EMAIL, self::SCOPE_TAG, self::SCOPE_RATING, self::SCOPE_COLLECTION]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_IDENTITY_READONLY, self::SCOPE_LISTENING_READONLY]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_IDENTITY_READONLY, self::SCOPE_LISTENING_READONLY]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ protected
+ mixed
+ USER_FIELDS
+ = ['uuid', 'username', 'profile_url', 'internal_id', 'date_registered', 'caches_found', 'caches_notfound', 'caches_hidden', 'rcmds_given', 'rcmds_left', 'rcmd_founds_needed', 'home_location']
+
+
+
+
+
+
+
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_READ_GPX, self::SCOPE_READ_PREFS]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_READ_GPX, self::SCOPE_READ_PREFS]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_V2_IDENTITY, self::SCOPE_V2_IDENTITY_EMAIL, self::SCOPE_V2_IDENTITY_MEMBERSHIPS, self::SCOPE_V2_CAMPAIGNS, self::SCOPE_V2_CAMPAIGNS_MEMBERS]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_V2_IDENTITY, self::SCOPE_V2_IDENTITY_EMAIL, self::SCOPE_V2_IDENTITY_MEMBERSHIPS, self::SCOPE_V2_CAMPAIGNS, self::SCOPE_V2_CAMPAIGNS_MEMBERS]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_BASIC_AUTH, self::SCOPE_EMAIL]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_BASIC_AUTH, self::SCOPE_EMAIL]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_BASIC_AUTH, self::SCOPE_EMAIL]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ AUTH_PREFIX_HEADER
+ = 'OAuth'
+
+
+
+
+
+
+
+
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_NONEXPIRING]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'OAuth'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_NONEXPIRING]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_PLAYLIST_READ_COLLABORATIVE, self::SCOPE_PLAYLIST_MODIFY_PUBLIC, self::SCOPE_USER_FOLLOW_MODIFY, self::SCOPE_USER_FOLLOW_READ, self::SCOPE_USER_LIBRARY_READ, self::SCOPE_USER_LIBRARY_MODIFY, self::SCOPE_USER_TOP_READ, self::SCOPE_USER_READ_EMAIL, self::SCOPE_STREAMING, self::SCOPE_USER_READ_PLAYBACK_STATE, self::SCOPE_USER_MODIFY_PLAYBACK_STATE, self::SCOPE_USER_READ_CURRENTLY_PLAYING, self::SCOPE_USER_READ_RECENTLY_PLAYED]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_PLAYLIST_READ_COLLABORATIVE, self::SCOPE_PLAYLIST_MODIFY_PUBLIC, self::SCOPE_USER_FOLLOW_MODIFY, self::SCOPE_USER_FOLLOW_READ, self::SCOPE_USER_LIBRARY_READ, self::SCOPE_USER_LIBRARY_MODIFY, self::SCOPE_USER_TOP_READ, self::SCOPE_USER_READ_EMAIL, self::SCOPE_STREAMING, self::SCOPE_USER_READ_PLAYBACK_STATE, self::SCOPE_USER_MODIFY_PLAYBACK_STATE, self::SCOPE_USER_READ_CURRENTLY_PLAYING, self::SCOPE_USER_READ_RECENTLY_PLAYED]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
we ignore user supplied params here
+
public
getAuthURL([array<string|int, mixed>|null $params = null ]) : UriInterface
@@ -1406,7 +1326,7 @@
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_READ_ONLY]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_READ_ONLY]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_BASIC, self::SCOPE_WRITE, self::SCOPE_OFFLINE_ACCESS]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_BASIC, self::SCOPE_WRITE, self::SCOPE_OFFLINE_ACCESS]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_USER_READ_EMAIL]
+
+
+
+
+
+
+
+
+ public
+ mixed
+ HEADERS_API
+ = ['Accept' => 'application/vnd.twitchtv.v5+json']
+
+
+
+
+
+
+
+
+ public
+ mixed
+ HEADERS_AUTH
+ = ['Accept' => 'application/vnd.twitchtv.v5+json']
+
+
+
+
+
+
+
+
- protected
- array<string|int, mixed>
- $apiHeaders
- = ['Accept' => 'application/vnd.twitchtv.v5+json']
-
-
-
-
-
- protected
- array<string|int, mixed>
- $authHeaders
- = ['Accept' => 'application/vnd.twitchtv.v5+json']
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_USER_READ_EMAIL]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_PUBLIC, self::SCOPE_PRIVATE, self::SCOPE_INTERACT, self::SCOPE_STATS]
+
+
+
+
+
+
+
+
+ public
+ mixed
+ HEADERS_API
+ = ['Accept' => 'application/vnd.vimeo.*+json;version=' . self::API_VERSION]
+
+
+
+
+
+
+
+
+ public
+ mixed
+ HEADERS_AUTH
+ = ['Accept' => 'application/vnd.vimeo.*+json;version=' . self::API_VERSION]
+
+
+
+
+
+
+
+
- protected
- array<string|int, mixed>
- $apiHeaders
- = ['Accept' => 'application/vnd.vimeo.*+json;version=' . self::API_VERSION]
-
-
-
-
-
- protected
- array<string|int, mixed>
- $authHeaders
- = ['Accept' => 'application/vnd.vimeo.*+json;version=' . self::API_VERSION]
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_PUBLIC, self::SCOPE_PRIVATE, self::SCOPE_INTERACT, self::SCOPE_STATS]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_GLOBAL]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = [self::SCOPE_GLOBAL]
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
+ public
+ mixed
+ DEFAULT_SCOPES
+ = [self::SCOPE_EMAIL, self::SCOPE_PROFILE]
+
+
+
+
+
+
+
+additional headers to use during API access
- -
- protected
- array<string|int, mixed>
- $apiHeaders
- = []
-
-
-
-
-
additional headers to use during authentication
- -
- protected
- array<string|int, mixed>
- $authHeaders
- = []
-
-
-
-
-
-Specifies the authentication method: - - OAuth2Interface::AUTH_METHOD_HEADER (Bearer, OAuth, ...) - - OAuth2Interface::AUTH_METHOD_QUERY (access_token, ...)
- -
- protected
- int
- $authMethod
- = self::AUTH_METHOD_HEADER
-
-
-
-
-
-The name of the authentication header in case of OAuth2Interface::AUTH_METHOD_HEADER
- -
- protected
- string
- $authMethodHeader
- = 'Bearer'
-
-
-
-
-
-The name of the authentication query parameter in case of OAuth2Interface::AUTH_METHOD_QUERY
- -
- protected
- string
- $authMethodQuery
- = 'access_token'
-
-
-
-
-
Default scopes to apply if none were provided via the $scopes parameter in OAuth2Provider::getAuthURL()
- -
- protected
- array<string|int, mixed>
- $defaultScopes
- = []
-
-
-
-
-
The delimiter string for scopes
- -
- protected
- string
- $scopesDelimiter
- = ' '
-
-
-
-
-
- protected
- string
- $serviceName
-
-
-
-
-
-
public
- clearAccessToken([string|null $service = null ]) : static
+ clearAccessToken(string $service) : static
public
- clearCSRFState([string|null $service = null ]) : static
+ clearCSRFState(string $service) : static
Retrieves token data from the underlying storage engine -(decrypt, unserialize etc.) and returns an AccessToken
+Retrieves token JOSN from the underlying storage engine and returns an AccessToken
public
@@ -854,7 +814,7 @@
public
- getAccessToken([string|null $service = null ]) : AccessToken
+ getAccessToken(string $service) : AccessToken
public
- getCSRFState([string|null $service = null ]) : string
+ getCSRFState(string $service) : string
Gets the current service provider name
- -
- public
- getServiceName([string|null $service = null ]) : string
-
-
public
- hasAccessToken([string|null $service = null ]) : bool
+ hasAccessToken(string $service) : bool
public
- hasCSRFState([string|null $service = null ]) : bool
+ hasCSRFState(string $service) : bool
Sets the current service provider name
- +
public
- setServiceName(string $service) : static
+ storeAccessToken(AccessToken $token, string $service) : static
A replacement constructor that you can call in extended classes, +so that you don't have to implement the monstrous original `__construct()`
+ +
+ protected
+ construct() : void
+
+ Prepares an AccessToken for storage (serialize, encrypt etc.) -and returns a value that is suited for the underlying storage engine
+Gets the current service provider name
- public
- toStorage(AccessToken $token) : string
+ protected
+ getServiceName(string $service) : string
- protected
- string
- $serviceName
-
-
-
-
-
-
Retrieves token data from the underlying storage engine -(decrypt, unserialize etc.) and returns an AccessToken
+Retrieves token JOSN from the underlying storage engine and returns an AccessToken
public
@@ -488,23 +448,23 @@ Return values
-public
"
>
-
- getServiceName()
-
+
+ setLogger()
+
OAuthStorageAbstract.php
:
- 65
+ 47
-
Gets the current service provider name
+ Sets a logger. (LoggerAwareInterface is stupid)
public
- getServiceName([string|null $service = null ]) : string
+ setLogger(LoggerInterface $logger) : static
Sets a logger. (LoggerAwareInterface is stupid)
+Prepares an AccessToken for storage (serialize, encrypt etc.) +and returns a value that is suited for the underlying storage engine
public
- setLogger(LoggerInterface $logger) : static
+ toStorage(AccessToken $token) : mixed
Sets the current service provider name
+A replacement constructor that you can call in extended classes, +so that you don't have to implement the monstrous original `__construct()`
- public
- setServiceName(string $service) : static
+ protected
+ construct() : void
Prepares an AccessToken for storage (serialize, encrypt etc.) -and returns a value that is suited for the underlying storage engine
+Gets the current service provider name
- public
- toStorage(AccessToken $token) : string
+ protected
+ getServiceName(string $service) : string
public
- clearAccessToken([string|null $service = null ]) : static
+ clearAccessToken(string $service) : static
public
- clearCSRFState([string|null $service = null ]) : static
+ clearCSRFState(string $service) : static
Retrieves token data from the underlying storage engine -(decrypt, unserialize etc.) and returns an AccessToken
+Retrieves token JOSN from the underlying storage engine and returns an AccessToken
public
@@ -585,7 +569,7 @@
OAuthStorageInterface.php
:
- 58
+ 44
@@ -593,7 +577,7 @@
public
- getAccessToken([string|null $service = null ]) : AccessToken
+ getAccessToken(string $service) : AccessToken
public
- getCSRFState([string|null $service = null ]) : string
+ getCSRFState(string $service) : string
Gets the current service provider name
- -
- public
- getServiceName([string|null $service = null ]) : string
-
-
public
- hasAccessToken([string|null $service = null ]) : bool
+ hasAccessToken(string $service) : bool
public
- hasCSRFState([string|null $service = null ]) : bool
+ hasCSRFState(string $service) : bool
Sets the current service provider name
- -
- public
- setServiceName(string $service) : static
-
-
public
- storeAccessToken(AccessToken $token[, string|null $service = null ]) : static
+ storeAccessToken(AccessToken $token, string $service) : static
public
- storeCSRFState(string $state[, string|null $service = null ]) : static
+ storeCSRFState(string $state, string $service) : static
- protected
- string
- $serviceName
-
-
-
-
-
-
SessionStorage constructor.
+OAuthStorageAbstract constructor.
public
@@ -577,7 +537,7 @@
SessionStorage.php
:
- 71
+ 64
@@ -623,14 +583,14 @@
SessionStorage.php
:
- 108
+ 101
public
- clearAccessToken([string|null $service = null ]) : static
+ clearAccessToken(string $service) : static
public
- clearCSRFState([string|null $service = null ]) : static
+ clearCSRFState(string $service) : static
Retrieves token data from the underlying storage engine -(decrypt, unserialize etc.) and returns an AccessToken
+SessionStorage (pseudo-) constructor.
public
- fromStorage(mixed $data) : AccessToken
+ construct() : void
Retrieves token JOSN from the underlying storage engine and returns an AccessToken
+
public
- getAccessToken([string|null $service = null ]) : AccessToken
+ fromStorage(mixed $data) : AccessToken
Gets the current service provider name
- +
public
- getServiceName([string|null $service = null ]) : string
+ getCSRFState(string $service) : string
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Amazon::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1103,26 +1132,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1134,29 +1162,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1185,7 +1213,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\BattleNet::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\BigCartel::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1141,26 +1170,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1172,29 +1200,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1223,7 +1251,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Bitbucket::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Deezer::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1117,26 +1146,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1148,29 +1176,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1199,7 +1227,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ initTestProperties() : void
+
+
+ protected
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\DeviantArt::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Discogs::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1058,26 +1087,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1089,29 +1117,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1140,7 +1168,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Discord::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Flickr::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1135,26 +1164,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1166,29 +1194,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1217,7 +1245,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Foursquare::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1117,26 +1146,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1148,29 +1176,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1199,7 +1227,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ initTestProperties() : void
+
+
+ protected
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\GitHub::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\GitLab::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Google::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1117,26 +1146,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1148,29 +1176,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1199,7 +1227,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ initTestProperties() : void
+
+
+ protected
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\GuildWars2::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testResponses
- = []
-
-
-
-
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
+
+
+
+
+
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Imgur::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\LastFM::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1027,26 +1056,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1058,29 +1086,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1109,7 +1137,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\MailChimp::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1123,26 +1152,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1154,29 +1182,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1205,7 +1233,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ initTestProperties() : void
+
+
+ protected
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Mastodon::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1156,26 +1185,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1187,29 +1215,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1238,7 +1266,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ initTestProperties() : void
+
+
+ protected
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\MicrosoftGraph::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Mixcloud::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\MusicBrainz::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1075,26 +1104,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1106,29 +1134,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1157,7 +1185,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\NPROne::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1178,13 +1206,13 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\OpenCaching::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1057,26 +1086,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1088,29 +1116,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1139,7 +1167,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\OpenStreetmap2::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\OpenStreetmap::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1057,26 +1086,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1088,29 +1116,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1139,7 +1167,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Patreon::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Patreon::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\PayPal::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Slack::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\SoundCloud::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Spotify::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1119,26 +1148,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1150,29 +1178,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1201,7 +1229,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ initTestProperties() : void
+
+
+ protected
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\SteamOpenID::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1051,26 +1080,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1082,29 +1110,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1133,7 +1161,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Stripe::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1117,26 +1146,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1148,29 +1176,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1199,7 +1227,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ initTestProperties() : void
+
+
+ protected
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Tumblr2::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1102,26 +1131,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1133,29 +1161,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1184,7 +1212,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Tumblr::class
-
-
-
-
-
- protected
- array<string|int, mixed>
- $testProperties
- = []
-
-
-
-
-
-a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
-
protected
- array<string|int, mixed>
- $testResponses
- = []
+ string
+ $testuser
+
@@ -1063,26 +1092,25 @@ a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER
- +
protected
- string
- $testuser
+ UriFactoryInterface
+ $uriFactory
@@ -1094,29 +1122,29 @@
- protected
- UriFactoryInterface
- $uriFactory
-
+ private
+ array<string|int, mixed>
+ $FACTORIES
+ = ['requestFactory' => 'REQUEST_FACTORY', 'responseFactory' => 'RESPONSE_FACTORY', 'streamFactory' => 'STREAM_FACTORY', 'uriFactory' => 'URI_FACTORY']
@@ -1145,7 +1173,7 @@
+ protected
+ getProviderFQCN() : string
+
+
+ protected
+ getReflectionProperty(string $property) : mixed
+
+
protected
- initHttp(SettingsContainerInterface $options, LoggerInterface $logger, array<string|int, mixed> $responses) : ClientInterface
+ initHttp(SettingsContainerInterface $options, LoggerInterface $logger) : ClientInterface
protected
- initProvider() : OAuthInterface|OAuth1Interface|OAuth2Interface
+ initProvider(string $FQCN) : OAuthInterface|OAuth1Interface|OAuth2Interface
+ protected
+ initTestProperties() : void
+
+
protected
- initTestProperties(array<string|int, mixed> $properties) : void
+ invokeReflectionMethod(string $method[, array<string|int, mixed> $args = [] ]) : mixed
+ protected
+ setReflectionProperty(string $property, mixed $value) : void
+
+
+ protected
+ mixed
+ TEST_PROPERTIES
+ = []
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ TEST_RESPONSES
+ = []
+
+
+
+
+
+
+
+
- protected
- string
- $FQN
- = \chillerlan\OAuth\Providers\Twitch::class
-
-
-
-
-