PHP Class CakeDC\Users\Controller\SocialAccountsController

Inheritance: extends CakeDC\Users\Controller\AppController
Datei anzeigen Open project: cakedc/users

Public Methods

Method Description
initialize ( ) : void Init
resendValidation ( string $provider, string $reference ) : Response | void Resends validation email if required
validateAccount ( string $provider, string $reference, string $token ) : Response Validates social account

Method Details

initialize() public method

Init
public initialize ( ) : void
return void

resendValidation() public method

Resends validation email if required
public resendValidation ( string $provider, string $reference ) : Response | void
$provider string provider
$reference string reference
return Cake\Network\Response | void

validateAccount() public method

Validates social account
public validateAccount ( string $provider, string $reference, string $token ) : Response
$provider string provider
$reference string reference
$token string token
return Cake\Network\Response