function hook_janrain_capture_user_authenticated in Janrain Registration 8
Same name and namespace in other branches
- 7.4 janrain_capture.api.php \hook_janrain_capture_user_authenticated()
- 7 janrain_capture.api.php \hook_janrain_capture_user_authenticated()
- 7.2 janrain_capture.api.php \hook_janrain_capture_user_authenticated()
- 7.3 janrain_capture.api.php \hook_janrain_capture_user_authenticated()
React to the authentication via Janrain.
Parameters
\Drupal\janrain_capture\User\JanrainUserProfile $profile: The profile of a user on Janrain.
\Drupal\user\UserInterface $user: The user that has been authenticated.
bool $is_new: The state whether an authenticated user is new in Drupal.
1 function implements hook_janrain_capture_user_authenticated()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- janrain_capture_mapping_janrain_capture_user_authenticated in janrain_capture_mapping/
janrain_capture_mapping.module - Implements hook_janrain_capture_user_authenticated().
1 invocation of hook_janrain_capture_user_authenticated()
- JanrainCaptureApi::authenticate in src/
JanrainCaptureApi.php - Returns requested access token and set it to the current session.
File
- ./
janrain_capture.api.php, line 21 - Janrain Capture Drupal API.
Code
function hook_janrain_capture_user_authenticated(JanrainUserProfile $profile, UserInterface $user, bool $is_new) : void {
// The user is successfully signed in to Drupal using Janrain API.
}