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 | * @var string |
||
42 | */ |
||
43 | private $requestId; |
||
44 | |||
45 | /** |
||
46 | * Creates and validates an Adfs response value object |
||
47 | * |
||
48 | * @param string $authMethod |
||
49 | * @param string $context |
||
50 | * @param string $requestId |
||
51 | * @return Response |
||
52 | */ |
||
53 | public static function fromValues($authMethod, $context, $requestId) |
||
66 | |||
67 | /** |
||
68 | * @return mixed |
||
69 | */ |
||
70 | public function getAuthMethod() |
||
74 | |||
75 | /** |
||
76 | * @return mixed |
||
77 | */ |
||
78 | public function getContext() |
||
82 | |||
83 | /** |
||
84 | * @return mixed |
||
85 | */ |
||
86 | public function getRequestId() |
||
90 | } |
||
91 |