You are here

public function Request::getPassword in RESTful 7.2

Returns the password.

Return value

string|null

Overrides RequestInterface::getPassword

File

src/Http/Request.php, line 482
Contains \Drupal\restful\Http\Request

Class

Request
Deals with everything coming from the consumer.

Namespace

Drupal\restful\Http

Code

public function getPassword() {
  list(, $password) = static::getCredentials();
  return $password;
}