username()
username(string $username) : \Couchbase\PasswordAuthenticator
Sets username
Parameters
string | $username | username |
Authenticator based on RBAC feature of Couchbase Server 5+.
This authenticator uses single credentials for all operations (data and management).
username(string $username) : \Couchbase\PasswordAuthenticator
Sets username
string | $username | username |
password(string $password) : \Couchbase\PasswordAuthenticator
Sets password
string | $password | password |