Source of file AuthenticationSocialTwitter.php
Size: 0,535 Bytes - Last Modified: 2020-05-30T11:30:26+00:00
/var/www/docs.ssmods.com/process/src/code/dataobjects/AuthenticationSocialTwitter.php
123456789101112131415161718192021222324252627282930 | <?php class AuthenticationSocialTwitter extends AuthenticationSocial { private static $default_records = array(array( 'Enabled' => true )); public function getTitle() { return 'Twitter'; } public function getProviderName() { return 'Twitter'; } public function getHybridauthConfig() { $config = parent::getHybridauthConfig(); $config['keys'] = array( 'key' => $this->AppID ? $this->AppID : '', 'secret' => $this->AppSecret ? $this->AppSecret : '' ); return $config; } } |