Updated examples

This commit is contained in:
Alex Bilbie
2015-04-05 21:11:10 +01:00
parent eabcf82268
commit 5840ace38f
5 changed files with 159 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace OAuth2ServerExamples\Entities;
use League\OAuth2\Server\Entities\Interfaces\UserEntityInterface;
class UserEntity implements UserEntityInterface
{
/**
* Return the user's identifier
* @return mixed
*/
public function getIdentifier()
{
return 1;
}
}