Class RESTian_Auth_Provider_Base
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
boolean
|
#
is_credentials( array $credentials )
Determine if provided credentials represent a viable set of credentials |
public
boolean
|
|
public
array
|
|
public
array
|
|
public
boolean
|
#
has_prerequisites( array $credentials )
Test to see if the request has prerequisites required to authenticate, i.e. credentials. |
public
|
#
prepare_request(
Allows an auth provider to decorate a RESTian_Request prior to $request->make_request(), as required. |
public
boolean
|
#
handle_response(
Allows an auth provider to handle a response; returns true if handled, false otherwise. |
public
|
#
capture_grant(
Takes the response and capture the grant in the format $this->is_grant() will validate |
public
boolean
|
#
authenticated(
Tests a RESTian_Response returning true if the response was authenticated, false otherwise. |
public
string
|
|
protected
boolean
|
#
_has_required( array $pattern_array, array $array_to_test )
Tests an array to ensure it has all required elements given a pattern array. |
public
|
$api |
|
|
public
string
|
$auth_type |
|
#
RESTian-specific authorization type identifier, like 'basic_http', etc. |
public
string
|
$auth_version |
|
#
To contain something like '1.0a', to be set by subclass if needed. |
public
string
|
$message |
|
#
Allows auth provider to set a user readable message |