App\Exceptions\OAuthExceptionHandler::invalidCredentials PHP Method

invalidCredentials() protected method

protected invalidCredentials ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed
    protected function invalidCredentials(OAuthException $e)
    {
        return Response::make(['errors' => ['status' => '401', 'code' => 'InvalidCredentials', 'title' => 'Invalid Credentials', 'detail' => 'The information for the login is invalid']], 401);
    }