@@ 73-81 (lines=9) @@ | ||
70 | /** |
|
71 | * @return SimpleXMLElement |
|
72 | */ |
|
73 | protected function getAuthNode() |
|
74 | { |
|
75 | $authNodes = $this->node->xpath('cas:authenticationSuccess'); |
|
76 | if (count($authNodes) < 1) { |
|
77 | return $this->node->addChild('cas:authenticationSuccess'); |
|
78 | } |
|
79 | ||
80 | return $authNodes[0]; |
|
81 | } |
|
82 | } |
|
83 |
@@ 41-49 (lines=9) @@ | ||
38 | /** |
|
39 | * @return SimpleXMLElement |
|
40 | */ |
|
41 | public function getProxyNode() |
|
42 | { |
|
43 | $authNodes = $this->node->xpath('cas:proxySuccess'); |
|
44 | if (count($authNodes) < 1) { |
|
45 | return $this->node->addChild('cas:proxySuccess'); |
|
46 | } |
|
47 | ||
48 | return $authNodes[0]; |
|
49 | } |
|
50 | } |
|
51 |