New entities, traits and interfaces

This commit is contained in:
Alex Bilbie
2015-04-05 14:03:25 +01:00
parent 171be1c422
commit a48630c837
15 changed files with 474 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
namespace League\OAuth2\Server\Entities\Interfaces;
interface ClientEntityInterface
{
/**
* Get the client's identifier
* @return string
*/
public function getIdentifier();
/**
* Set the client's identifier
* @param $identifier
*/
public function setIdentifier($identifier);
/**
* Get the client's secret
* @return string
*/
public function getSecret();
/**
* Set the client's secret
* @param string $secret
* @return string
*/
public function setSecret($secret);
/**
* Get the client's name
* @return string
*/
public function getName();
/**
* Set the client's name
* @param string $name
*/
public function setName($name);
}