Class Authenticate
Methods summary
public
|
|
public
|
|
public
|
#
setCredentials( string $pUsername, string $pPassword )
Sets the user credentials for an user credentials required authentication method. |
public
integer
|
|
public
boolean
|
|
public
array|string
|
#
getAuthenticationCredentials( )
Returns the authentication credentials, based on the specified authentication method and if they are set before. |
public
|
|
public
string
|
Constants summary
integer |
AUTH_METHOD_HEADER_TOKEN
The auth method id for header token authentication. |
#
100
|
integer |
AUTH_METHOD_USER_CREDENTIALS
The auth method id for user credentials authentication. |
#
101
|
integer |
AUTH_METHOD_TOKEN
The auth method if for token authentication. |
#
102
|
integer |
AUTH_AUTO_LOGIN_ON
The auto login id if the api should automatically login. |
#
200
|
integer |
AUTH_AUTO_LOGIN_OFF
The auto login id if the api should not automatically login. |
#
201
|