/**
* Check authentication of access credentials
*/
public function gf_auth_check()
{
$auth = $GLOBALS['wc_graphflow']->get_api()->test_auth();
if ($auth) {
$notice_text = "Your Graphflow access keys have been verified!";
WC_Admin_Settings::add_message($notice_text);
} else {
$notice_text = "Your Graphflow access keys failed verification. Please check your Graphflow Account Page to retrieve the correct keys.";
WC_Admin_Settings::add_error($notice_text);
}
}