commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
|
Public Member Functions | |
__construct (string $projectKey, ClientCredentials $credentials, array $clientOptions=[], string $anonUri=null, string $refreshUri=null, string $authUri=self::AUTH_URI) | |
getCredentials () | |
getAnonUri () | |
getRefreshUri () | |
Public Member Functions inherited from Commercetools\Api\Client\BaseAuthConfig | |
__construct (array $clientOptions=[], string $authUri=self::AUTH_URI) | |
getGrantType () | |
getAuthUri () | |
getOptions () | |
Public Attributes | |
const | ANON_AUTH_URI = 'https://auth.europe-west1.gcp.commercetools.com/oauth/{projectKey}/anonymous/token' |
const | REFRESH_AUTH_URI = 'https://auth.europe-west1.gcp.commercetools.com/oauth/token' |
const | GRANT_TYPE = 'client_credentials' |
Public Attributes inherited from Commercetools\Api\Client\BaseAuthConfig | |
const | AUTH_URI = 'https://auth.europe-west1.gcp.commercetools.com/oauth/token' |
const | GRANT_TYPE = '' |
Public Attributes inherited from Commercetools\Client\AuthConfig | |
const | OPT_BASE_URI = 'base_uri' |
Definition at line 10 of file MeConfig.php.
Commercetools\Client\MeConfig::__construct | ( | string | $projectKey, |
ClientCredentials | $credentials, | ||
array | $clientOptions = [] , |
||
string | $anonUri = null , |
||
string | $refreshUri = null , |
||
string | $authUri = self::AUTH_URI |
||
) |
Definition at line 26 of file MeConfig.php.
Commercetools\Client\MeConfig::getAnonUri | ( | ) |
Definition at line 47 of file MeConfig.php.
Commercetools\Client\MeConfig::getCredentials | ( | ) |
Implements Commercetools\Client\ClientCredentialsConfig.
Definition at line 42 of file MeConfig.php.
Commercetools\Client\MeConfig::getRefreshUri | ( | ) |
Definition at line 52 of file MeConfig.php.
const Commercetools\Client\MeConfig::ANON_AUTH_URI = 'https://auth.europe-west1.gcp.commercetools.com/oauth/{projectKey}/anonymous/token' |
Definition at line 12 of file MeConfig.php.
const Commercetools\Client\MeConfig::GRANT_TYPE = 'client_credentials' |
Definition at line 15 of file MeConfig.php.
const Commercetools\Client\MeConfig::REFRESH_AUTH_URI = 'https://auth.europe-west1.gcp.commercetools.com/oauth/token' |
Definition at line 13 of file MeConfig.php.