src/User.php
public function status($authyId, $ip = null): Response
    {
        // Prepare required variables
        $url = $this->api."users/{$authyId}/status";
        $params = $this->params + ['query' => ['user_ip' => $ip]];

        // Return Authy user status
        return new Response($this->http->get($url, $params));
    }
public function status($authyId, $ip = null): Response
    {
        // Prepare required variables
        $url = $this->api."users/{$authyId}/status";
        $params = $this->params + ['query' => ['user_ip' => $ip]];

        // Return Authy user status
        return new Response($this->http->get($url, $params));
    }
public function status ( $ authyId , $ ip = null ) : Response { // Prepare required variables $ url = $ this -> api . "users/{$authyId}/status" ; $ params = $ this -> params + [ 'query' => [ 'user_ip' => $ ip ] ] ; // Return Authy user status return new Response ( $ this -> http -> get ( $ url , $ params ) ) ; }
Get status of the given user.

@param int         $authyId
@param string|null $ip

@return \Rinvex\Authy\Response
Get status of the given user .