Auth_Container_SOAP
Вернуться к: Auth
Auth_Container_SOAP
This container makes use of the PEAR SOAP client to provide authentication against a SOAP service.
The storage-specific argument for the Auth constructor() is an array of options.
Option | Data Type | Default value | Description |
---|---|---|---|
"endpoint" | string | The URI where the service is located. | |
"namespace" | string | The namespace of the web service. | |
"method" | string | The SOAP method you wish to call. | |
"encoding" | string | The content encoding that should be used (e.g. UTF-8). | |
"usernamefield" | string | The name of the field where the username is stored. | |
"passwordfield" | string | The name of the field where the password is stored. | |
"matchpasswords" | boolean | TRUE | If TRUE then the container will look for the password field in the returned result from the soap call and try to match that value with the one supplied from the end user. If FALSE then it is assumed that the soap call will return an error if the user does not authenticate properly. If no error is returned than the user is assumed to valid and allowed to proceed. |
"_features" | array | A named array of extra parameters that are to be passed to the soap call in addition to the username and password fields. These are passed to the soap call as named parameters. <?php |
Вернуться к: Auth