accountVerifyCredentials() public method

Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. Use this method to test if supplied user credentials are valid.
public accountVerifyCredentials ( bool[optional] $includeEntities = null, bool[optional] $skipStatus = null ) : array
$includeEntities bool[optional]
$skipStatus bool[optional]
return array
Example #1
0
 /**
  * Tests Twitter->accountVerifyCredentials
  */
 public function testAccountVerifyCredentials()
 {
     $response = $this->twitter->accountVerifyCredentials();
     $this->isUser($response);
 }