Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_DeveloperGarden_Client_Soap Class Reference
Inheritance diagram for Zend_Service_DeveloperGarden_Client_Soap:
Collaboration diagram for Zend_Service_DeveloperGarden_Client_Soap:

Public Member Functions

 __call ($name, $arguments)
 setTokenService (Zend_Service_DeveloperGarden_SecurityTokenServer $tokenService)
 getTokenService ()
 setCredential (Zend_Service_DeveloperGarden_Credential $credential)
 getCredential ()
 getWsseLoginHeader ()
 getWsseTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token)
 getWsseSecurityTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_GetTokensResponse $token)
 addWsseLoginHeader ()
 addWsseTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token)
 addWsseSecurityTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_GetTokensResponse $token)

Data Fields

const WSSE_NAMESPACE_SECEXT = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
const WSSE_NAMESPACE_SAML = 'urn:oasis:names:tc:SAML:2.0:assertion'
const WSSE_SECURITY_ELEMENT = 'Security'
const WSSE_ELEMENT_USERNAMETOKEN = 'UsernameToken'
const WSSE_ELEMENT_USERNAME = 'Username'
const WSSE_ELEMENT_PASSWORD = 'Password'
const WSSE_ELEMENT_PASSWORD_TYPE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'

Protected Attributes

 $_tokenService = null

Detailed Description

Definition at line 36 of file Soap.php.


Member Function Documentation

__call ( name,
arguments 
)

Perform a SOAP call but first check for adding STS Token or fetch one

Parameters:
string$name
array$arguments
Returns:
mixed

add WSSE Security header

Reimplemented from Zend_Soap_Client.

Definition at line 107 of file Soap.php.

Here is the call graph for this function:

adds the login specific header to the client

Returns:
Zend_Service_DeveloperGarden_Client_Soap

Definition at line 312 of file Soap.php.

Here is the call graph for this function:

Here is the caller graph for this function:

adds the earlier fetched token to the header

Parameters:
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse$token
Returns:
Zend_Service_DeveloperGarden_Client_Soap

Definition at line 335 of file Soap.php.

Here is the call graph for this function:

Here is the caller graph for this function:

adds the earlier fetched token to the header

Parameters:
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse$token
Returns:
Zend_Service_DeveloperGarden_Client_Soap

Definition at line 323 of file Soap.php.

Here is the call graph for this function:

Here is the caller graph for this function:

returns the internal credential callback object

Returns:
Zend_Service_DeveloperGarden_Credential

Definition at line 164 of file Soap.php.

returns the currently configured tokenService object

Returns:
Zend_Service_DeveloperGarden_SecurityTokenServer

Definition at line 142 of file Soap.php.

creates the login header and add

Returns:
SoapHeader

Security Element

Username Token Element

Username Element

Password Element

Definition at line 174 of file Soap.php.

Here is the caller graph for this function:

creates the security token auth header for direct calls

Parameters:
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse$token
Returns:
SoapHeader

Definition at line 278 of file Soap.php.

Here is the call graph for this function:

Here is the caller graph for this function:

creates the token auth header for direct calls

Parameters:
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse$token
Returns:
SoapHeader

Definition at line 243 of file Soap.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Sets new credential callback object

Parameters:
Zend_Service_DeveloperGarden_Credential$credential
Returns:
Zend_Service_DeveloperGarden_Client_Soap

Definition at line 153 of file Soap.php.

sets the internal handling for handle token service

Parameters:
Zend_Service_DeveloperGarden_SecurityTokenServer$isTokenService
Returns:
Zend_Service_DeveloperGarden_Client_Soap

Definition at line 131 of file Soap.php.


Field Documentation

$_tokenService = null [protected]

Definition at line 98 of file Soap.php.

const WSSE_ELEMENT_PASSWORD = 'Password'

Definition at line 85 of file Soap.php.

const WSSE_ELEMENT_PASSWORD_TYPE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'

Password Element WSSE Type

Definition at line 91 of file Soap.php.

const WSSE_ELEMENT_USERNAME = 'Username'

Definition at line 78 of file Soap.php.

const WSSE_ELEMENT_USERNAMETOKEN = 'UsernameToken'

Definition at line 71 of file Soap.php.

const WSSE_NAMESPACE_SAML = 'urn:oasis:names:tc:SAML:2.0:assertion'

Definition at line 57 of file Soap.php.

const WSSE_NAMESPACE_SECEXT = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'

Definition at line 50 of file Soap.php.

const WSSE_SECURITY_ELEMENT = 'Security'

Definition at line 64 of file Soap.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations