for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Tharanga Kothalawala <[email protected]>
* @date 17-02-2019
*/
namespace TSK\SSO\ThirdParty\Amazon;
* @package TSK\SSO\ThirdParty\Amazon
class AmazonApiConfiguration
{
* @var string
private $clientId;
private $clientSecret;
private $redirectUrl;
* AmazonApiConfiguration constructor.
* @param string $clientId
* @param string $clientSecret
* @param string $redirectUrl
public function __construct($clientId, $clientSecret, $redirectUrl)
$this->clientId = $clientId;
$this->clientSecret = $clientSecret;
$this->redirectUrl = $redirectUrl;
}
* @return string
public function clientId()
return $this->clientId;
public function clientSecret()
return $this->clientSecret;
public function redirectUrl()
return $this->redirectUrl;
* This is just to identify that, we initiated the login sequence (not someone else)
*
public function ourSecretState()
return 'dfeb6ef625880832f61c6f4bd737e11b';