Kohana_Auth_Service_Twitter   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 2
dl 0
loc 36
ccs 0
cts 22
cp 0
rs 10
c 0
b 0
f 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 4 1
A logged_in() 0 3 1
A login_url() 0 3 1
A logout_service() 0 3 1
A service_login_complete() 0 3 1
A service_user_info() 0 3 1
A service_uid() 0 3 1
1
<?php defined('SYSPATH') OR die('No direct access allowed.');
2
/**
3
 * Jam Auth driver.
4
 *
5
 * @package    Kohana/Auth
6
 * @author     Ivan Kerin
7
 * @copyright  (c) 2011-2012 Despark Ltd.
8
 * @license    http://creativecommons.org/licenses/by-sa/3.0/legalcode
9
 */
10
abstract class Kohana_Auth_Service_Twitter extends Auth_Service {
11
12
	protected $_service_field = 'twitter_uid';
13
	protected $_type = 'twitter';
14
15
	public function initialize()
16
	{
17
		throw new Kohana_Exception("Twitter auth not yet implemented");
18
	}
19
20
	public function logged_in()
21
	{
22
	}
23
24
	public function login_url($back_url)
25
	{
26
	}
27
28
	public function logout_service($request, $back_url)
29
	{
30
	}
31
32
	public function service_login_complete()
33
	{
34
	}
35
36
	public function service_user_info()
37
	{
38
	}
39
40
41
	public function service_uid()
42
	{
43
	}
44
45
} // End Auth Jam
46