Skip to content

Commit

Permalink
Merge pull request hwi#700 from guillaumepotier/imp-oauth-token
Browse files Browse the repository at this point in the history
Add getter / setter for OAuthToken createdAt property
  • Loading branch information
stloyd committed Jan 9, 2015
2 parents f1dadda + beccdce commit a9f88f3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Security/Core/Authentication/Token/OAuthToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,22 @@ public function getExpiresIn()
return $this->expiresIn;
}

/**
* @param integer $createdAt The token creation date in seconds
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
}

/**
* @return integer
*/
public function getCreatedAt()
{
return $this->createdAt;
}

/**
* @return integer
*/
Expand Down

0 comments on commit a9f88f3

Please sign in to comment.