2018-10-09 13:39 阅读 59

Laravel 5.6 ytake / laravel-couchbase认证问题

I am using laravel 5.6 and using couchbase SDK to establish the database connection. When I run the test on core PHP I am able to access the bucket but using ytake/laravel-couchbase package it's throwing an error of authentication. My code looks like below:

public function index()
    $authenticator = new \Couchbase\PasswordAuthenticator();

I am not able to figure out how to authenticate using mentioned package or if it automatically does that so what's wrong here.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享