1 | <?php |
||
29 | class SAMLAuthenticator extends Authenticator |
||
30 | { |
||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $name = 'SAML'; |
||
|
|||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public static function get_name() |
||
43 | |||
44 | /** |
||
45 | * @param Controller $controller |
||
46 | * @return SAMLLoginForm |
||
47 | */ |
||
48 | public static function get_login_form(Controller $controller) |
||
52 | |||
53 | /** |
||
54 | * Sends the authentication process down the SAML rabbit hole. It will trigger |
||
55 | * the IdP redirection via the 3rd party implementation, and if successful, the user |
||
56 | * will be delivered to the SAMLController::acs. |
||
57 | * |
||
58 | * @param array $data |
||
59 | * @param Form $form |
||
60 | * @return bool|Member|void |
||
61 | * @throws SS_HTTPResponse_Exception |
||
62 | */ |
||
63 | public static function authenticate($data, Form $form = null) |
||
71 | } |
||
72 |
This check marks private properties in classes that are never used. Those properties can be removed.