Package com.couchbase.lite
Interface ListenerPasswordAuthenticatorDelegate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ENTERPRISE EDITION API
Functional Interface for an Authenticator that uses an authentication strategy based on a user name and password. Pass implementations of this interface to the
Functional Interface for an Authenticator that uses an authentication strategy based on a user name and password. Pass implementations of this interface to the
ListenerPasswordAuthenticator
to realize
specific authentication strategies.-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(String username, char[] password) Authenticate a client based on the passed credentials.
-
Method Details
-
authenticate
Authenticate a client based on the passed credentials.- Parameters:
username
- client supplied usernamepassword
- client supplied password- Returns:
- true when the client is authorized.
-