public function KnownClientsRepositoryInterface::rememberClient in Simple OAuth (OAuth2) & OpenID Connect 8.3
Same name and namespace in other branches
- 8.4 src/KnownClientsRepositoryInterface.php \Drupal\simple_oauth\KnownClientsRepositoryInterface::rememberClient()
- 5.x src/KnownClientsRepositoryInterface.php \Drupal\simple_oauth\KnownClientsRepositoryInterface::rememberClient()
Store a client with a set of scopes as authorized for a given user.
Passed in scopes are merged with already accepted scopes for the given client.
Parameters
int $uid: The user ID.
string $client_id: The client ID.
string[] $scopes: List of scopes that shuld be authorized.
1 method overrides KnownClientsRepositoryInterface::rememberClient()
- KnownClientsRepository::rememberClient in src/
KnownClientsRepository.php - Store a client with a set of scopes as authorized for a given user.
File
- src/
KnownClientsRepositoryInterface.php, line 39
Class
- KnownClientsRepositoryInterface
- An interface that remembers known clients.
Namespace
Drupal\simple_oauthCode
public function rememberClient($uid, $client_id, array $scopes);