Documentation

ProcessResponseAction
in package

Handles processing of SAML Responses from the IDP. Process the SAML Response from the IDP and detect if it's a valid response from the IDP. Validate the certificates and the SAML attributes and Update existing user attributes and groups if necessary. Log the user in.

Table of Contents

$acsUrl  : mixed
$assertionSigned  : mixed
$certfpFromPlugin  : mixed
$issuer  : mixed
$pluginSettings  : mixed
$responseSigned  : mixed
$samlResponse  : mixed
$spEntityId  : mixed
__construct()  : mixed
execute()  : mixed
validateAssertionSignature()  : mixed
Function checks if the signature in the Assertion element of the SAML response is a valid response. Throw an error otherwise.
validateDestinationURL()  : mixed
Function validates the Destination in the SAML Response.
validateIssuerAndAudience()  : mixed
Function validates the Issuer and Audience from the SAML Response. THrows an error if the Issuer and Audience values don't match with the one in the database.
validateResponseSignature()  : mixed
Function checks if the signature in the Response element of the SAML response is a valid response. Throw an error otherwise.
validateSignature()  : mixed
Function checks if either of the SAML Response or Assertion is signed or not
validateStatusCode()  : mixed
Function checks if the status coming in the SAML response is SUCCESS and not a responder or requester

Properties

Methods

validateAssertionSignature()

Function checks if the signature in the Assertion element of the SAML response is a valid response. Throw an error otherwise.

private validateAssertionSignature( $assertionSignatureData) : mixed
Parameters
$assertionSignatureData :
Tags
throws
InvalidSignatureInResponseException
Return values
mixed —

validateDestinationURL()

Function validates the Destination in the SAML Response.

private validateDestinationURL() : mixed

Throws an error if the Destination doesn't match with the one in the database.

Tags
throws
InvalidDestinationException
Return values
mixed —

validateIssuerAndAudience()

Function validates the Issuer and Audience from the SAML Response. THrows an error if the Issuer and Audience values don't match with the one in the database.

private validateIssuerAndAudience() : mixed
Tags
throws
InvalidIssuerException
throws
InvalidAudienceException
Return values
mixed —

validateResponseSignature()

Function checks if the signature in the Response element of the SAML response is a valid response. Throw an error otherwise.

private validateResponseSignature( $responseSignatureData) : mixed
Parameters
$responseSignatureData :
Tags
throws
InvalidSignatureInResponseException
throws
Exception
Return values
mixed —

validateSignature()

Function checks if either of the SAML Response or Assertion is signed or not

private validateSignature( $responseSignatureData,  $assertionSignatureData) : mixed
Parameters
$responseSignatureData :
$assertionSignatureData :
Tags
throws
Exception
Return values
mixed —

Search results