mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-20 22:53:27 +05:30
client secret can be null
This commit is contained in:
1 parent
3e5889e93b
commit
8fb64041df
2 files changed
+5
-5
No files matched your search
@@ -19,12 +19,12 @@ interface ClientRepositoryInterface extends RepositoryInterface
|
||||
/**
|
||||
* Get a client
|
||||
*
|
||||
* @param string $grantType The grant type used
|
||||
* @param string $clientIdentifier The client's identifier
|
||||
* @param string $clientSecret The client's secret
|
||||
* @param string|null $clientSecret The client's secret
|
||||
* @param string|null $redirectUri The client's redirect URI
|
||||
* @param string|null $grantType The grant type used
|
||||
*
|
||||
* @return \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface
|
||||
*/
|
||||
public function getClientEntity($clientIdentifier, $clientSecret, $redirectUri = null, $grantType = null);
|
||||
public function getClientEntity($grantType, $clientIdentifier, $clientSecret = null, $redirectUri = null);
|
||||
}
|
||||
Reference in new issue
Block a user