1 | <?php |
||
28 | class Response |
||
29 | { |
||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | private $authMethod; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | private $context; |
||
39 | |||
40 | /** |
||
41 | * Creates and validates an Adfs response value object |
||
42 | * |
||
43 | * @param string $authMethod |
||
44 | * @param string $context |
||
45 | * @return Response |
||
46 | */ |
||
47 | public static function fromValues($authMethod, $context) |
||
58 | |||
59 | /** |
||
60 | * @return mixed |
||
61 | */ |
||
62 | public function getAuthMethod() |
||
66 | |||
67 | /** |
||
68 | * @return mixed |
||
69 | */ |
||
70 | public function getContext() |
||
74 | } |
||
75 |