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 remote-tracking branch 'upstream/master'
- Loading branch information
Quoc Vu
committed
May 9, 2013
79 parents
186ebc9
+
3af3a6e
+
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
+
a6f33f5
+
aee8483
+
9b1ad90
+
92baf0c
+
782d34b
+
da3b5e2
+
8c5486e
+
08b5959
+
29cb9fc
+
a79175d
+
3d17935
+
3355853
+
89e0cd8
+
e795f2b
+
16438c0
+
c93bd38
+
ac50ffc
+
a9bc506
+
eef23f4
+
fcda91a
+
056a288
+
607ac6f
+
30f7828
+
9d2a936
+
3747749
+
17325fb
+
4e43d4b
+
0dcaf98
+
3f8e8ac
+
32407f8
+
6e0bb7b
+
c865c5f
+
95c45dc
+
4829cce
commit 89ebbef
Showing
57 changed files
with
2,644 additions
and
1,092 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
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,72 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace Zend\Authentication\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 AbstractAdapter | ||
*/ | ||
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
Oops, something went wrong.