SilverStripe\SAML\Helpers\SAMLHelper
Class SAMLHelper
SAMLHelper acts as a simple wrapper for the OneLogin implementation, so that we can configure
and inject it via the config system.
Synopsis
class SAMLHelper
{
- // members
- private static array $dependencies = ;
- public SAMLConfiguration $SAMLConfService;
- // methods
- public Auth getSAMLauth()
- public void redirect()
- public bool validGuid()
- public string binToStrGuid()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
Members
private
- $dependencies — array
public
- $SAMLConfService — SilverStripe\SAML\Services\SAMLConfiguration
Methods
public
- binToStrGuid()
- getSAMLauth()
- redirect() — Create a SAML AuthN request and send the user off to the identity provider (IdP) to get authenticated. This method does not check to see if the user is already authenticated, that is the responsibility of the caller.
- validGuid() — Checks if the string is a valid guid in the format of A98C5A1E-A742-4808-96FA-6F409E799937 Case in-sensitive