Abstract Class shardimage\shardimagephp\models\accesstoken\AccessToken
Implementing AccessToken
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$createdAt | integer | Timestamp of creation | shardimage\shardimagephp\models\accesstoken\AccessToken |
$expiry | integer | Timestamp expiration of the access token | shardimage\shardimagephp\models\accesstoken\AccessToken |
$extra | mixed | Additional extras for the access token | shardimage\shardimagephp\models\accesstoken\AccessToken |
$id | string | ID of access token, can be used as accessToken in client configuration |
shardimage\shardimagephp\models\accesstoken\AccessToken |
$limit | integer | Request limits of the access token | shardimage\shardimagephp\models\accesstoken\AccessToken |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Creates the object, populates the properties and calls the "init" method. | shardimage\shardimagephp\models\accesstoken\AccessToken |
__get() | Returns the value of a non-defined property, it there is a getter method. | shardimage\shardimagephpapi\base\BaseObject |
__isset() | Does the non-defined property with a getter exist and is it not NULL? | shardimage\shardimagephpapi\base\BaseObject |
__set() | Sets the value of a non-defined property, if there is a setter method. | shardimage\shardimagephpapi\base\BaseObject |
__unset() | Sets the value of a non-defined property to NULL, if there is a setter. | shardimage\shardimagephpapi\base\BaseObject |
getType() | Getting the type of access token | shardimage\shardimagephp\models\accesstoken\AccessToken |
toArray() | Converts the object an array. | shardimage\shardimagephpapi\base\BaseObject |
Protected Methods
Method | Description | Defined By |
---|---|---|
ensureClass() | Creates an object from the given parameters. | shardimage\shardimagephpapi\base\BaseObject |
init() | Custom initialization. | shardimage\shardimagephpapi\base\BaseObject |
Property Details
Timestamp of creation
Timestamp expiration of the access token
Additional extras for the access token
ID of access token, can be used as accessToken
in client configuration
Request limits of the access token
Method Details
Creates the object, populates the properties and calls the "init" method.
public void __construct ( $config = [] ) | ||
$config | array | Predefined properties |
Getting the type of access token
public abstract void getType ( ) |