protected invalidCredentials ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed | ||
$e | League\OAuth2\Server\Exception\OAuthException | |
Результат | 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);
}