Method | Description | |
---|---|---|
afterSave ( Cake\Event\Event $event, Cake\ORM\Entity $entity, ArrayObject $options ) : mixed | After save callback | |
initialize ( array $config ) : void | Initialize, attaching belongsTo Users association | |
resendValidation ( string $provider, string $reference ) : |
Validates the social account | |
sendSocialValidationEmail ( Cake\Datasource\EntityInterface $socialAccount, Cake\Datasource\EntityInterface $user, Cake\Mailer\Email $email = null ) : mixed | Send social validation email to the user | |
validateAccount ( string $provider, string $reference, string $token ) : |
Validates the social account |
Method | Description | |
---|---|---|
_activateAccount ( Account $socialAccount ) : Cake\Datasource\EntityInterface | Activates an account |
protected _activateAccount ( Account $socialAccount ) : Cake\Datasource\EntityInterface | ||
$socialAccount | Account | social account |
return | Cake\Datasource\EntityInterface |
public initialize ( array $config ) : void | ||
$config | array | config |
return | void |
public resendValidation ( string $provider, string $reference ) : |
||
$provider | string | provider |
$reference | string | reference |
return |
public sendSocialValidationEmail ( Cake\Datasource\EntityInterface $socialAccount, Cake\Datasource\EntityInterface $user, Cake\Mailer\Email $email = null ) : mixed | ||
$socialAccount | Cake\Datasource\EntityInterface | social account |
$user | Cake\Datasource\EntityInterface | user |
Cake\Mailer\Email | Email instance or null to use 'default' configuration | |
return | mixed |