Source of file TwitterAuthenticator.php
Size: 0,461 Bytes - Last Modified: 2021-12-23T10:46:40+00:00
/var/www/docs.ssmods.com/process/src/code/security/TwitterAuthenticator.php
1234567891011121314151617181920212223 | <?php class TwitterAuthenticator extends Authenticator { public static function get_name() { return 'Twitter'; } public static function get_login_form(Controller $controller) { return new TwitterLoginForm( $controller, 'LoginForm' ); } public static function authenticate($RAW_data, Form $form = null) { return singleton('TwitterCallback')->loginUser(); } } |