1 | <?php |
||
13 | class EmailNotificationSecondaryAuthenticationProvider |
||
14 | extends AbstractSecondaryAuthenticationProvider |
||
|
|||
15 | { |
||
16 | /** @var bool */ |
||
17 | protected $sendConfirmationEmail; |
||
18 | |||
19 | /** |
||
20 | * @param array $params |
||
21 | * - sendConfirmationEmail: (bool) send an email asking the user to confirm their email |
||
22 | * address after a successful registration |
||
23 | */ |
||
24 | public function __construct( $params = [] ) { |
||
29 | |||
30 | public function setConfig( Config $config ) { |
||
38 | |||
39 | public function getAuthenticationRequests( $action, array $options ) { |
||
42 | |||
43 | public function beginSecondaryAuthentication( $user, array $reqs ) { |
||
46 | |||
47 | public function beginSecondaryAccountCreation( $user, $creator, array $reqs ) { |
||
70 | } |
||
71 |