mautic / app /bundles /PluginBundle /Integration /AbstractSsoFormIntegration.php
chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
raw
history blame contribute delete
704 Bytes
<?php
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,
];
}
}