ClientHelper
class ClientHelper
Client helper class
Methods
static
array
getCredentials(
string $client,
boolean $force = false)
Method to return the array of client layer configuration options
static
boolean
setCredentials(
string $client,
string $user,
string $pass)
Method to set client login credentials
static
boolean
hasCredentials(
string $client)
Method to determine if client login credentials are present
static
mixed
setCredentialsFromRequest(
string $client)
Determine whether input fields for client settings need to be shown
Details
static
array
getCredentials(
string $client,
boolean $force = false)
Method to return the array of client layer configuration options
static
boolean
setCredentials(
string $client,
string $user,
string $pass)
Method to set client login credentials
static
boolean
hasCredentials(
string $client)
Method to determine if client login credentials are present
static
mixed
setCredentialsFromRequest(
string $client)
Determine whether input fields for client settings need to be shown
If valid credentials were passed along with the request, they are saved to the session. This functions returns an exception if invalid credentials have been given or if the connection to the server failed for some other reason.