OAuth2Storage
- Full name:
\Zotlabs\Identity\OAuth2Storage
- Parent class:
Pdo
Methods
checkUserCredentials
Parameters:
Parameter | Type | Description |
---|---|---|
$username |
string | |
$password |
string |
getUserDetails
Parameters:
Parameter | Type | Description |
---|---|---|
$username |
string |
checkPassword
Parameters:
Parameter | Type | Description |
---|---|---|
$user |
array | |
$password |
string |
getUser
Parameters:
Parameter | Type | Description |
---|---|---|
$username |
string |
scopeExists
Parameters:
Parameter | Type | Description |
---|---|---|
$scope |
mixed |
getDefaultScope
Parameters:
Parameter | Type | Description |
---|---|---|
$client_id |
mixed |
getUserClaims
Parameters:
Parameter | Type | Description |
---|---|---|
$user_id |
mixed | |
$claims |
mixed |
setUser
plaintext passwords are bad! Override this for your application
public setUser(string $username, string $password, string $firstName = null, string $lastName = null): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$username |
string | |
$password |
string | |
$firstName |
string | |
$lastName |
string |
Automatically generated on 2025-03-19