VuFind API Documentation

SIP2Test extends TestCase
in package

SIP2 authentication test class.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Page

Table of Contents

getAuthConfig()  : Config
Get a working configuration for the LDAP object
getAuthObject()  : SIP2
Get an authentication object.
testLoginWithBlankPassword()  : void
Test login with blank password.
testLoginWithBlankUsername()  : void
Test login with blank username.
getLoginRequest()  : Request
Support method -- get parameters to log into an account (but allow override of individual parameters so we can test different scenarios).

Methods

getAuthConfig()

Get a working configuration for the LDAP object

public getAuthConfig() : Config
Return values
Config

getAuthObject()

Get an authentication object.

public getAuthObject([Config|null $config = null ]) : SIP2
Parameters
$config : Config|null = null

Configuration to use (null for default)

Return values
SIP2

testLoginWithBlankPassword()

Test login with blank password.

public testLoginWithBlankPassword() : void
Return values
void

testLoginWithBlankUsername()

Test login with blank username.

public testLoginWithBlankUsername() : void
Return values
void

getLoginRequest()

Support method -- get parameters to log into an account (but allow override of individual parameters so we can test different scenarios).

protected getLoginRequest([array<string|int, mixed> $overrides = [] ]) : Request
Parameters
$overrides : array<string|int, mixed> = []

Associative array of parameters to override.

Return values
Request

Search results