Skip to content

Commit 4ae5358

Browse files
committed
Add docs to storage.
1 parent 7922bfb commit 4ae5358

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/OAuth2/Storage/RefreshTokenInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ interface RefreshTokenInterface
2424
* @return
2525
* An associative array as below, and NULL if the refresh_token is
2626
* invalid:
27-
* - refresh_token: Stored refresh token identifier.
28-
* - client_id: Stored client identifier.
29-
* - user_id: Stored user identifier.
30-
* - expires: Stored expiration unix timestamp.
31-
* - scope: (optional) Stored scope values in space-separated string.
27+
* - refresh_token: Refresh token identifier.
28+
* - client_id: Client identifier.
29+
* - user_id: User identifier.
30+
* - expires: Expiration unix timestamp, or 0 if the token doesn't expire.
31+
* - scope: (optional) Scope values in space-separated string.
3232
*
3333
* @see http://tools.ietf.org/html/rfc6749#section-6
3434
*
@@ -54,7 +54,7 @@ public function getRefreshToken($refresh_token);
5454
* @param $user_id
5555
* User identifier to be stored.
5656
* @param $expires
57-
* expires to be stored.
57+
* Expiration timestamp to be stored. 0 if the token doesn't expire.
5858
* @param $scope
5959
* (optional) Scopes to be stored in space-separated string.
6060
*

0 commit comments

Comments
 (0)