for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of datamolino client.
*
* (c) 2018 cwd.at GmbH <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Cwd\Datamolino\Model;
class Token
{
/** @var string */
private $access_token;
private $token_type;
/** @var int */
private $expires_in;
private $refresh_token;
/**
* @return string
public function getAccessToken(): string
return $this->access_token;
}
* @param string $access_token
* @return Token
public function setAccessToken(string $access_token): Token
$this->access_token = $access_token;
return $this;
public function getTokenType(): string
return $this->token_type;
* @param string $token_type
public function setTokenType(string $token_type): Token
$this->token_type = $token_type;
* @return int
public function getExpiresIn(): int
return $this->expires_in;
* @param int $expires_in
public function setExpiresIn(int $expires_in): Token
$this->expires_in = $expires_in;
public function getRefreshToken(): string
return $this->refresh_token;
* @param string $refreshToken
public function setRefreshToken(string $refreshToken): Token
$this->refresh_token = $refreshToken;