src/RestGalleries/APIs/ApiUser.php
public function verifyCredentials(array $tokenCredentials)
    {
        $auth = $this->newAuth();
        $data = $auth::verifyCredentials($tokenCredentials, $this->checkUrl);

        return $this->getUserOrFail($data);

    }
public function verifyCredentials(array $tokenCredentials)
    {
        $auth = $this->newAuth();
        $data = $auth::verifyCredentials($tokenCredentials, $this->checkUrl);

        return $this->getUserOrFail($data);

    }
Checks the token credentials and returns an object with the data (and tokens) from the user account.
If for any reason the credentials are invalid, throws an exception.

@param  array $tokenCredentials
@return \Illuminate\Support\Fluent