How do you validate the authentication from the header in this line below from your code?

$validated_user_id = $auth->verifyOAuth($authHeader);

for instance, if the headers I sent are,

array (size=9)
'Host' => string 'localhost' (length=9)
'User-Agent' => string 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0' (length=72)
'Accept' => string 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' (length=63)
'Accept-Language' => string 'en-GB,en;q=0.5' (length=14)
'Accept-Encoding' => string 'gzip, deflate' (length=13)
'Referer' => string 'http://localhost/slim-2/auth-header-http/' (length=61)
'Authorization' => string 'Basic ZGVtbzpkZW1v' (length=18)
'Connection' => string 'keep-alive' (length=10)
'Cache-Control' => string 'max-age=0' (length=9)

How do you validate 'Authorization' => string 'Basic ZGVtbzpkZW1v' with $auth->verifyOAuth($authHeader);?

Thanks.