You are here

public function Auth0UserSignupEvent::__construct in Auth0 Single Sign On 8.2

Same name and namespace in other branches
  1. 8 src/Event/Auth0UserSignupEvent.php \Drupal\auth0\Event\Auth0UserSignupEvent::__construct()

Initialize the event.

Parameters

\Drupal\user\UserInterface $user: The current user.

array $auth0Profile: The Auth0 profile array.

File

src/Event/Auth0UserSignupEvent.php, line 40

Class

Auth0UserSignupEvent
User signup event.

Namespace

Drupal\auth0\Event

Code

public function __construct(UserInterface $user, array $auth0Profile) {
  $this->user = $user;
  $this->auth0Profile = $auth0Profile;
}