ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
SimpleSAML\XML\Shib13\AuthnRequest Class Reference
+ Collaboration diagram for SimpleSAML\XML\Shib13\AuthnRequest:

Public Member Functions

 setRelayState ($relayState)
 
 getRelayState ()
 
 setIssuer ($issuer)
 
 getIssuer ()
 
 createRedirect ($destination, $shire)
 

Private Attributes

 $issuer = null
 
 $relayState = null
 

Detailed Description

Definition at line 13 of file AuthnRequest.php.

Member Function Documentation

◆ createRedirect()

SimpleSAML\XML\Shib13\AuthnRequest::createRedirect (   $destination,
  $shire 
)

Definition at line 37 of file AuthnRequest.php.

38 {
40 $idpmetadata = $metadata->getMetaDataConfig($destination, 'shib13-idp-remote');
41
42 $desturl = $idpmetadata->getDefaultEndpoint('SingleSignOnService', array('urn:mace:shibboleth:1.0:profiles:AuthnRequest'));
43 $desturl = $desturl['Location'];
44
45 $target = $this->getRelayState();
46
47 $url = $desturl . '?' .
48 'providerId=' . urlencode($this->getIssuer()) .
49 '&shire=' . urlencode($shire) .
50 (isset($target) ? '&target=' . urlencode($target) : '');
51 return $url;
52 }
$metadata['__DYNAMIC:1__']
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
$destination
$url

References $destination, $metadata, $target, $url, SimpleSAML\XML\Shib13\AuthnRequest\getIssuer(), SimpleSAML_Metadata_MetaDataStorageHandler\getMetadataHandler(), and SimpleSAML\XML\Shib13\AuthnRequest\getRelayState().

+ Here is the call graph for this function:

◆ getIssuer()

SimpleSAML\XML\Shib13\AuthnRequest::getIssuer ( )

Definition at line 32 of file AuthnRequest.php.

References SimpleSAML\XML\Shib13\AuthnRequest\$issuer.

Referenced by SimpleSAML\XML\Shib13\AuthnRequest\createRedirect().

+ Here is the caller graph for this function:

◆ getRelayState()

SimpleSAML\XML\Shib13\AuthnRequest::getRelayState ( )

Definition at line 23 of file AuthnRequest.php.

References SimpleSAML\XML\Shib13\AuthnRequest\$relayState.

Referenced by SimpleSAML\XML\Shib13\AuthnRequest\createRedirect().

+ Here is the caller graph for this function:

◆ setIssuer()

SimpleSAML\XML\Shib13\AuthnRequest::setIssuer (   $issuer)

Definition at line 28 of file AuthnRequest.php.

29 {
30 $this->issuer = $issuer;
31 }

References SimpleSAML\XML\Shib13\AuthnRequest\$issuer.

◆ setRelayState()

SimpleSAML\XML\Shib13\AuthnRequest::setRelayState (   $relayState)

Definition at line 18 of file AuthnRequest.php.

19 {
20 $this->relayState = $relayState;
21 }

References SimpleSAML\XML\Shib13\AuthnRequest\$relayState.

Field Documentation

◆ $issuer

SimpleSAML\XML\Shib13\AuthnRequest::$issuer = null
private

◆ $relayState

SimpleSAML\XML\Shib13\AuthnRequest::$relayState = null
private

The documentation for this class was generated from the following file: