summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFrancis Chuang <francis.chuang@gmail.com>2013-01-18 10:40:02 +0400
committerFrancis Chuang <francis.chuang@gmail.com>2013-01-18 10:40:02 +0400
commitd4868f3d951a67a6bd6f80a8cfb3992dfd2d5e94 (patch)
tree60db8d0dcbd5f459ef8ab188b6a677a61351c0d6 /test
parenta63befac71e5a9b9557cbdd2465a4fa07ae756ff (diff)
downloadoauth2-server-php-d4868f3d951a67a6bd6f80a8cfb3992dfd2d5e94.tar.xz
Added doc block for getJWT() in JWTBearerTest.
Diffstat (limited to 'test')
-rw-r--r--test/OAuth2/GrantType/JWTBearerTest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/OAuth2/GrantType/JWTBearerTest.php b/test/OAuth2/GrantType/JWTBearerTest.php
index f348b9c..b61aa5e 100644
--- a/test/OAuth2/GrantType/JWTBearerTest.php
+++ b/test/OAuth2/GrantType/JWTBearerTest.php
@@ -175,9 +175,10 @@ class OAuth2_GrantType_JWTBearerTest extends PHPUnit_Framework_TestCase
/**
* Generates a JWT
- * @param The expiration date. If the current time is greater than the exp, the JWT is invalid. $exp
- * @param The "not before" time. If the current time is less than the nbf, the JWT is invalid. $nbf
- * @param The issuer, usually the client_id. $iss
+ * @param $exp The expiration date. If the current time is greater than the exp, the JWT is invalid.
+ * @param $nbf The "not before" time. If the current time is less than the nbf, the JWT is invalid.
+ * @param $sub The subject we are acting on behalf of. This could be the email address of the user in the system.
+ * @param $iss The issuer, usually the client_id.
* @return string
*/
private function getJWT($exp = NULL, $nbf = NULL, $sub = NULL, $iss = 'Test Client ID')