\CouchbasePasswordAuthenticator

Authenticator based on RBAC feature of Couchbase Server 5+.

This authenticator uses single credentials for all operations (data and management).

Summary

Methods
Properties
Constants
username()
password()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

username()

username(string  $username) : \Couchbase\PasswordAuthenticator

Sets username

Parameters

string $username

username

Returns

\Couchbase\PasswordAuthenticator

password()

password(string  $password) : \Couchbase\PasswordAuthenticator

Sets password

Parameters

string $password

password

Returns

\Couchbase\PasswordAuthenticator