SilverStripe\SAML\Authenticators\SAMLAuthenticator::authenticate
This method does nothing, as all authentication via SAML is handled via HTTP redirects (similar to OAuth) which are not supported by the Authenticator system. Authentication via SAML is only triggered when a user hits the SAMLController->acs() endpoint when returning from the identity provider.
Instead of calling this method, you should use the SAMLLoginForm, or protect your entire site by enabling the SAMLMiddleware.
Signature
public function authenticate(array
$data,
HTTPRequest
$request,
[ValidationResult&
$result = NULL] )
Parameters
$data
— array$request
— SilverStripe\Control\HTTPRequest
$result
— SilverStripe\SAML\Authenticators\ValidationResult|null
Returns
- null