PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
dokan-pro
/
includes
/
modules
/
stripe
/
classes
/
lib
/
oauth
<?php /** * Storage engines that support the "Client Credentials" * grant type should implement this interface * * @author Dave Rochwerger <catch.dave@gmail.com> * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.4 */ interface IOAuth2GrantClient extends IOAuth2Storage { /** * Required for OAuth2::GRANT_TYPE_CLIENT_CREDENTIALS. * * @param $client_id * Client identifier to be check with. * @param $client_secret * (optional) If a secret is required, check that they've given the right one. * * @return * TRUE if the client credentials are valid, and MUST return FALSE if it isn't. * When using "client credentials" grant mechanism and you want to * verify the scope of a user's access, return an associative array * with the scope values as below. We'll check the scope you provide * against the requested scope before providing an access token: * @code * return array( * 'scope' => <stored scope values (space-separated string)>, * ); * @endcode * * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.4.2 * * @ingroup oauth2_section_4 */ public function checkClientCredentialsGrant($client_id, $client_secret); }
[+]
..
[-] IOAuth2GrantImplicit.php
[edit]
[-] fb_ca_chain_bundle.crt
[edit]
[-] IOAuth2Storage.php
[edit]
[-] OAuth2Exception.php
[edit]
[-] IOAuth2GrantUser.php
[edit]
[-] OAuth2.php
[edit]
[-] IOAuth2GrantExtension.php
[edit]
[-] OAuth2RedirectException.php
[edit]
[-] OAuth2AuthenticateException.php
[edit]
[-] OAuth2Client.php
[edit]
[-] IOAuth2RefreshTokens.php
[edit]
[-] IOAuth2GrantCode.php
[edit]
[-] OAuth2ServerException.php
[edit]
[-] IOAuth2GrantClient.php
[edit]