for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Tharanga Kothalawala <[email protected]>
* @date 30-12-2018
*/
namespace TSK\SSO\ThirdParty\Google;
* @package TSK\SSO\ThirdParty\Google
class GoogleApiConfiguration
{
* @var string
private $appId;
private $appSecret;
* @var array
private $appPermissions;
private $redirectUrl;
* @param string $appId
* @param string $appSecret
* @param array $appPermissions
* @param string $redirectUrl
public function __construct($appId, $appSecret, array $appPermissions, $redirectUrl)
$this->appId = $appId;
$this->appSecret = $appSecret;
$this->appPermissions = $appPermissions;
$this->redirectUrl = $redirectUrl;
}
* @return int
public function appId()
return $this->appId;
return $this->appId
string
integer
* @return string
public function appSecret()
return $this->appSecret;
* @return array
public function appPermissions()
return $this->appPermissions;
public function redirectUrl()
return $this->redirectUrl;