SilverStripe\SAML\Middleware\SAMLMiddleware
Synopsis
class SAMLMiddleware
implements
HTTPMiddleware
{
- // members
- private static bool $enabled = false;
- private static array $excluded_urls = ;
- // methods
- public HTTPResponse|void process()
- protected bool checkExcludedUrl()
- protected array getExcludedUrls()
- protected bool isEnabled()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
Implements
- SilverStripe\Control\Middleware\HTTPMiddleware
Members
private
- $enabled — SilverStripe\SAML\Middleware\bool
- $excluded_urls — array
Methods
protected
public
- process() — Processes the given request. If the middleware is enabled, the URL pattern does not match an exclusion pattern, and the user is not logged in, then they are shipped off to the SAML Identity Provider (IdP) to authenticate.