system/API/ResponseTrait.php
public function failUnauthorized(string $description = 'Unauthorized', string $code = null, string $message = '')
	{
		return $this->fail($description, $this->codes['unauthorized'], $code, $message);
	}
public function failUnauthorized(string $description = 'Unauthorized', string $code = null, string $message = '')
	{
		return $this->fail($description, $this->codes['unauthorized'], $code, $message);
	}
Used when the client is either didn't send authorization information,
or had bad authorization credentials. User is encouraged to try again
with the proper information.

@param string $description
@param string $code
@param string $message

@return mixed