Cheetah
|
Public Member Functions | |
checkUserCredentials ($username, $password) | |
getUserDetails ($username) | |
Implement this interface to specify where the OAuth2 Server should retrieve user credentials for the "Resource Owner Password Credentials" grant type
Definition at line 12 of file UserCredentialsInterface.php.
OAuth2\Storage\UserCredentialsInterface::checkUserCredentials | ( | $username, | |
$password | |||
) |
Grant access tokens for basic user credentials.
Check the supplied username and password for validity.
You can also use the $client_id param to do any checks required based on a client, if you need that.
Required for OAuth2::GRANT_TYPE_USER_CREDENTIALS.
$username | Username to be check with. |
$password | Password to be check with. |
Implemented in OAuth2\Storage\Redis, OAuth2\Storage\Pdo, OAuth2\Storage\Mongo, OAuth2\Storage\Memory, OAuth2\Storage\DynamoDB, OAuth2\Storage\CouchbaseDB, and OAuth2\Storage\Cassandra.
OAuth2\Storage\UserCredentialsInterface::getUserDetails | ( | $username | ) |
Implemented in OAuth2\Storage\Redis, OAuth2\Storage\Pdo, OAuth2\Storage\Mongo, OAuth2\Storage\Memory, OAuth2\Storage\DynamoDB, OAuth2\Storage\CouchbaseDB, and OAuth2\Storage\Cassandra.