public class StaticCredentialsProvider extends Object implements CredentialsProvider
| Constructor and Description |
|---|
StaticCredentialsProvider(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
Credentials |
get(HostAndPort address)
Get the username/password pair to use for authentication/authorization
|
public Credentials get(HostAndPort address)
CredentialsProviderget in interface CredentialsProviderCopyright © 2021 Couchbase, Inc.. All rights reserved.