Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hotfix. Remove unused loginUrl property. Fix namespace typo in Adapte…

…r\Exception classes. Housekeeping on formatting for all Exception classes.
  • Loading branch information...
commit 89ce57074e5d9ba44bda09d300291d2ed0be3f0a 1 parent 549744d
@jeremiahsmall authored
View
4 library/Soliant/SimpleFM/ZF2/Authentication/Adapter/Exception/InvalidArgumentException.php
@@ -2,8 +2,6 @@
namespace Soliant\SimpleFM\ZF2\Authentication\Adapter\Exception;
-class InvalidArgumentException
- extends \InvalidArgumentException
- implements \SimpleFM\Authentication\Adapter\Exception\ExceptionInterface
+class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
View
4 library/Soliant/SimpleFM/ZF2/Authentication/Adapter/Exception/RuntimeException.php
@@ -2,9 +2,7 @@
namespace Soliant\SimpleFM\ZF2\Authentication\Adapter\Exception;
-class RuntimeException
- extends \RuntimeException
- implements \SimpleFM\Authentication\Adapter\Exception\ExceptionInterface
+class RuntimeException extends \RuntimeException implements ExceptionInterface
{
}
View
4 library/Soliant/SimpleFM/ZF2/Authentication/Adapter/Exception/UnexpectedValueException.php
@@ -2,8 +2,6 @@
namespace Soliant\SimpleFM\ZF2\Authentication\Adapter\Exception;
-class UnexpectedValueException
- extends \UnexpectedValueException
- implements \SimpleFM\Authentication\Adapter\Exception\ExceptionInterface
+class UnexpectedValueException extends \UnexpectedValueException implements ExceptionInterface
{
}
View
15 library/Soliant/SimpleFM/ZF2/Authentication/Adapter/SimpleFM.php
@@ -33,13 +33,6 @@ class SimpleFM implements \Zend\Authentication\Adapter\AdapterInterface
protected $password;
/**
- * URI of user login form
- *
- * @var string
- */
- protected $loginUrl;
-
- /**
* Adapter to be used for login validation
*
* @var string
@@ -85,11 +78,12 @@ class SimpleFM implements \Zend\Authentication\Adapter\AdapterInterface
* Constructor
*
* @param array $config Configuration settings:
- * 'loginUrl' => string Example: '/login'
* 'validateSimpleFmAdapter' => Soliant\SimpleFM\Adapter
* 'encryptionKey' => string Example: '56cb36c21eb9a29c1317092b973a5f9cba393a367de783af45a2799f7302c',
* 'appUsername' => string Example: 'webSystem'
* 'appPassword' => string Example: '317akx1gr43m4pd'
+ * 'identityLayout' => string Example: 'gateway_User'
+ * 'accountNameField' => string Example: 'AccountName'
* @throws Soliant\SimpleFM\ZF2\Authentication\Adapter\InvalidArgumentException
* @return void
*/
@@ -97,11 +91,6 @@ public function __construct(array $config, Adapter $simpleFmValidateAdapter)
{
$this->simpleFmValidateAdapter = $simpleFmValidateAdapter;
- if (empty($config['loginUrl'])) {
- throw new Exception\InvalidArgumentException('Config key \'loginUrl\' is required');
- }
- $this->loginUrl = $config['loginUrl'];
-
if (empty($config['encryptionKey'])) {
throw new Exception\InvalidArgumentException('Config key \'encryptionKey\' is required');
}
View
4 library/Soliant/SimpleFM/ZF2/Authentication/Mapper/Exception/InvalidArgumentException.php
@@ -2,8 +2,6 @@
namespace Soliant\SimpleFM\ZF2\Authentication\Mapper\Exception;
-class InvalidArgumentException
- extends \InvalidArgumentException
- implements ExceptionInterface
+class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
View
4 library/Soliant/SimpleFM/ZF2/Authentication/Storage/Exception/InvalidArgumentException.php
@@ -2,8 +2,6 @@
namespace Soliant\SimpleFM\ZF2\Authentication\Storage\Exception;
-class InvalidArgumentException
- extends \InvalidArgumentException
- implements ExceptionInterface
+class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
Please sign in to comment.
Something went wrong with that request. Please try again.