Package DE_EPAGES::EasyMarketing::API::OAuth::EpagesApiToken
Represents credentials for the ePages REST API consisting of a hash with AccessToken and TokenSecret.
Functions
create
Creates the ePages API Access Token
Syntax |
create( ); |
Return |
|
delete
Delete the ePages API Access Token
Syntax |
delete( ); |
Return |
|
encrypt
Encrypts the ePages API credentials using AES.
Syntax |
encrypt( ); |
Return |
|
new
Creates an ePages API Token.
Syntax |
new( $Shop ); |
Input |
|
Return |
|
saveInDatabase
Stores the ePages API credentials in the Shop.
Syntax |
saveInDatabase( ); |
sendToken
Sends the ePages API credentials to the given url
Syntax |
sendToken( $CallbackUrl ); |
Input |
|
Return |
|