PHP Class OneLogin_Saml_Response

Exibir arquivo Open project: onelogin/php-saml Class Usage Examples

Public Methods

Method Description
__construct ( array | object $oldSettings, string $assertion ) Constructor that process the SAML Response, Internally initializes an SP SAML instance and an OneLogin_Saml2_Response.
get_nameid ( ) : string Retrieves the nameId
get_saml_attributes ( ) : array Retrieves an Array with the logged user data.

Method Details

__construct() public method

Constructor that process the SAML Response, Internally initializes an SP SAML instance and an OneLogin_Saml2_Response.
public __construct ( array | object $oldSettings, string $assertion )
$oldSettings array | object Settings
$assertion string SAML Response

get_nameid() public method

Retrieves the nameId
public get_nameid ( ) : string
return string

get_saml_attributes() public method

Retrieves an Array with the logged user data.
public get_saml_attributes ( ) : array
return array