Spaces:
No application file
No application file
| namespace Mautic\PluginBundle\Integration; | |
| /** | |
| * Used by SSO auth plugins that use credentials from the login form to authenticate. | |
| */ | |
| abstract class AbstractSsoFormIntegration extends AbstractSsoServiceIntegration | |
| { | |
| /** | |
| * @return array | |
| */ | |
| public function getSupportedFeatures() | |
| { | |
| return [ | |
| 'sso_form', | |
| ]; | |
| } | |
| /** | |
| * Get form settings; authorization is not needed since it is done when a user logs in. | |
| * | |
| * @return array<string, mixed> | |
| */ | |
| public function getFormSettings(): array | |
| { | |
| return [ | |
| 'requires_callback' => false, | |
| 'requires_authorization' => false, | |
| ]; | |
| } | |
| } | |