Class EventingFunctionUrlAuth
java.lang.Object
com.couchbase.client.java.manager.eventing.EventingFunctionUrlAuth
- Direct Known Subclasses:
- EventingFunctionUrlAuthBasic,- EventingFunctionUrlAuthBearer,- EventingFunctionUrlAuthDigest,- EventingFunctionUrlNoAuth
Abstract interface for all possible URL Binding authentication mechanisms.
 
Supported are:
- No Authentication: noAuth()
- Basic: basicAuth(String, String)
- Digest: digestAuth(String, String)
- Bearer: bearerAuth(String)
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic EventingFunctionUrlAuthBasicHTTP Basic Authentication will be used.bearerAuth(String key) HTTP Bearer / Token Authentication will be used.digestAuth(String username, String password) HTTP Digest Authentication will be used.static EventingFunctionUrlNoAuthnoAuth()No authentication will be used.
- 
Constructor Details- 
EventingFunctionUrlAuthpublic EventingFunctionUrlAuth()
 
- 
- 
Method Details- 
noAuthNo authentication will be used.- Returns:
- the no auth instance indicating no auth.
 
- 
basicAuthHTTP Basic Authentication will be used.- Parameters:
- username- the username for authentication.
- password- the password for authentication.
- Returns:
- the basic instance indicating http basic auth.
 
- 
digestAuthHTTP Digest Authentication will be used.- Parameters:
- username- the username for authentication.
- password- the password for authentication.
- Returns:
- the digest instance indicating http digest auth.
 
- 
bearerAuthHTTP Bearer / Token Authentication will be used.- Parameters:
- key- the bearer key/token for authentication.
- Returns:
- the bearer instance indicating http bearer auth.
 
 
-