You are here

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

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

Initialize the event.

Parameters

\Drupal\user\UserInterface $user:

array $auth0Profile:

File

src/Event/Auth0UserSignupEvent.php, line 28

Class

Auth0UserSignupEvent
User signup event.

Namespace

Drupal\auth0\Event

Code

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