src/AuthTraits/OAuthTrait.php
public function oauthClientClass($instance = false)
	{
		if (! isset($this->oauth_client_class)) {
			throw new \InvalidArgumentException(static::class . ' does not implement an OAuth Client class definition.');
		}

		return $instance ? new  $this->oauth_client_class : $this->oauth_client_class;
	}
public function oauthClientClass($instance = false)
	{
		if (! isset($this->oauth_client_class)) {
			throw new \InvalidArgumentException(static::class . ' does not implement an OAuth Client class definition.');
		}

		return $instance ? new  $this->oauth_client_class : $this->oauth_client_class;
	}
public function oauthClientClass ( $ instance = false ) { if ( ! isset ( $ this -> oauth_client_class ) ) { throw new \ InvalidArgumentException ( static :: class . ' does not implement an OAuth Client class definition.' ) ; } return $ instance ? new $ this -> oauth_client_class : $ this -> oauth_client_class ; }
Get the applications OAuth client class

@param bool $instance
@return string

@throws \InvalidArgumentException
Get the applications OAuth client class