* @licence MIT */ class Credentials { /** * Application identifier * * @var int */ protected $appId; /** * @var string */ protected $key; /** * @var string */ protected $secret; /** * @param int $appId * @param string $key * @param string $secret */ public function __construct($appId, $key, $secret) { $this->appId = (int) $appId; $this->key = (string) $key; $this->secret = (string) $secret; } /** * Get application id * * @return int */ public function getAppId() { return $this->appId; } /** * Get the key part of the security token * * @return string */ public function getKey() { return $this->key; } /** * Get the secret part of the security token * * @return string */ public function getSecret() { return $this->secret; } }