Package DE_EPAGES::OAuthTokenClient::API::OAuth2::OAuth2CredentialsClient
Client for OAuth2 credentials operations.
Base |
DE_EPAGES::EPagesJ::API::Object::RestClient |
Functions
create
Factory method for a OAuth2CredentialsClient object. Initializes based on the current configuration.
Syntax |
$Client = DE_EPAGES::OAuthTokenClient::API::OAuth2::OAuth2CredentialsClient->create; |
Return |
|
createAndSaveCredentials
Creates OAuth2 credentials for the given shop.
Syntax |
$Credentials = $self->createAndSaveCredentials($ShopGUID, $hArgs ); |
Example |
$Credentials = $self->createAndSaveCredentials($ShopGUID, { name => 'MyApp' }); |
Input |
|
Return |
|
deleteCredentials
Deletes the credentials for the given app id.
Syntax |
$self->deleteCredentials($ShopGUID, $AppID); |
Input |
|
getCredentials
Gets all credentials for the given shop.
Syntax |
$self->getCredentials($ShopGUID); |
Input |
|
Return |
|
new
Instanciates a new OAuth2CredentialsClient.
Syntax |
DE_EPAGES::OAuthTokenClient::API::OAuth2::OAuth2CredentialsClient->new(%args); |
Input |
|
Return |
|