public function verify( $key = null ) {
		$key = $key ? $key : Configs::get( 'key' );

		// Make an API call for API data.
		$data = $this->callCheckVersion( array(
			'key' => $key,
			'channel' => $this->releaseChannel->getPluginChannel(),
			'theme_channel' => $this->releaseChannel->getThemeChannel(),
		) );

		// Let the transient data set it's own validity.
		if ( $this->verifyData( $data ) ) {
			$data->license_status = true;
		}

		// Return back the transient data object.
		return $data;
	}
public function verify( $key = null ) {
		$key = $key ? $key : Configs::get( 'key' );

		// Make an API call for API data.
		$data = $this->callCheckVersion( array(
			'key' => $key,
			'channel' => $this->releaseChannel->getPluginChannel(),
			'theme_channel' => $this->releaseChannel->getThemeChannel(),
		) );

		// Let the transient data set it's own validity.
		if ( $this->verifyData( $data ) ) {
			$data->license_status = true;
		}

		// Return back the transient data object.
		return $data;
	}
public function verify ( $ key = null ) { $ key = $ key ? $ key : Configs :: get ( 'key' ) ; // Make an API call for API data. $ data = $ this -> callCheckVersion ( array ( 'key' => $ key , 'channel' => $ this -> releaseChannel -> getPluginChannel ( ) , 'theme_channel' => $ this -> releaseChannel -> getThemeChannel ( ) , ) ) ; // Let the transient data set it's own validity. if ( $ this -> verifyData ( $ data ) ) { $ data -> license_status = true ; } // Return back the transient data object. return $ data ; }
Validates the API key and returns details on if it is valid as well as version.

@since  1.0.0

@see \Boldgrid\Library\Library\ReleaseChannel::getPluginChannel()
@see \Boldgrid\Library\Library\ReleaseChannel::getThemeChannel()
@see \Boldgrid\Library\Library\Key::callCheckVersion()
@see \Boldgrid\Library\Library\Key::verifyData()

@return mixed The BoldGrid API Data object or a message string on failure.
Validates the API key and returns details on if it is valid as well as version .