This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/3420' into develop
- Loading branch information
59 parents
41bc36e
+
3355853
+
a79175d
+
186ebc9
+
3af3a6e
+
3d17935
+
df05eb8
+
e421e0f
+
00bb39e
+
78b260b
+
a6c654b
+
6dcb060
+
ba14e90
+
dc7d636
+
06375a2
+
53fdaa9
+
80ccc9b
+
fa80520
+
4009aca
+
ad280cb
+
b0d3db4
+
9b28224
+
49a871c
+
4145ab4
+
ff8e603
+
abd0527
+
9dc2f89
+
20317fc
+
da6fd5b
+
1702218
+
487a6e9
+
6051222
+
80b8984
+
a1a90b3
+
1d03186
+
b2e7f7a
+
a185b42
+
533f958
+
cfc5d6f
+
da7d3f0
+
d11e4f8
+
598cfab
+
0955e03
+
8e03b2a
+
c8941af
+
1589b26
+
6e2a869
+
3c9218d
+
fed889d
+
89e0cd8
+
21700ad
+
fcda91a
+
056a288
+
607ac6f
+
30f7828
+
f96dcdf
+
dd9793a
+
4c8e6d0
+
1f3adc9
commit eef23f4
Showing
8 changed files
with
555 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Authentication | ||
*/ | ||
|
||
namespace Zend\Authentication\Adapter; | ||
|
||
/** | ||
* @category Zend | ||
* @package Zend_Authentication | ||
* @subpackage Adapter | ||
*/ | ||
abstract class AbstractAdapter implements ValidatableAdapterInterface | ||
{ | ||
|
||
/** | ||
* @var mixed | ||
*/ | ||
protected $credential; | ||
|
||
/** | ||
* @var mixed | ||
*/ | ||
protected $identity; | ||
|
||
/** | ||
* Returns the credential of the account being authenticated, or | ||
* NULL if none is set. | ||
* | ||
* @return mixed | ||
*/ | ||
public function getCredential() | ||
{ | ||
return $this->credential; | ||
} | ||
|
||
/** | ||
* Sets the credential for binding | ||
* | ||
* @param mixed $credential | ||
* @return AbstractAdapter | ||
*/ | ||
public function setCredential($credential) | ||
{ | ||
$this->credential = $credential; | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* Returns the identity of the account being authenticated, or | ||
* NULL if none is set. | ||
* | ||
* @return mixed | ||
*/ | ||
public function getIdentity() | ||
{ | ||
return $this->identity; | ||
} | ||
|
||
/** | ||
* Sets the identity for binding | ||
* | ||
* @param mixed $identity | ||
* @return AbstractAdpter | ||
*/ | ||
public function setIdentity($identity) | ||
{ | ||
$this->identity = $identity; | ||
|
||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.