mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-29 10:43:28 +05:30
ClientRepository implementations are now responsible for dealing with client secret
This commit is contained in:
1 parent
f688401f63
commit
878afeb9f9
5 files changed
+12
-35
No files matched your search
@@ -18,10 +18,11 @@ interface ClientRepositoryInterface extends RepositoryInterface
|
||||
/**
|
||||
* Get a client.
|
||||
*
|
||||
* @param string $clientIdentifier The client's identifier
|
||||
* @param string $grantType The grant type used
|
||||
* @param string $clientIdentifier The client's identifier
|
||||
* @param string $grantType The grant type used
|
||||
* @param null|string $clientSecret The client's secret (if sent)
|
||||
*
|
||||
* @return \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface
|
||||
*/
|
||||
public function getClientEntity($clientIdentifier, $grantType);
|
||||
public function getClientEntity($clientIdentifier, $grantType, $clientSecret = null);
|
||||
}
|
||||
Reference in new issue
Block a user