Add optional code challenge check for public clients

This commit is contained in:
Andrew Millington
2018-08-12 20:06:34 +01:00
parent 5ad00b0e33
commit 972808561d
4 changed files with 142 additions and 30 deletions

View File

@@ -28,4 +28,13 @@ interface ClientRepositoryInterface extends RepositoryInterface
* @return ClientEntityInterface
*/
public function getClientEntity($clientIdentifier, $grantType = null, $clientSecret = null, $mustValidateSecret = true);
/**
* Check if a client is confidential.
*
* @param string $clientIdentifier The client's identifier
*
* @return bool
*/
public function isClientConfidential($clientIdentifier);
}