Package com.couchbase.lite
Interface ListenerCertificateAuthenticatorDelegate
- 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 client supplied certificates. Pass implementations of this interface to the
Functional Interface for an Authenticator that uses an authentication strategy based on client supplied certificates. Pass implementations of this interface to the
ListenerCertificateAuthenticator
to realize specific authentication strategies.-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(List<Certificate> certs) Authenticate a client based on the passed certificates.
-
Method Details
-
authenticate
Authenticate a client based on the passed certificates. Note that the passed certificates have not been validated. All validation and authorization are the responsiblity of the implementation.- Parameters:
certs
- client supplied certificates.- Returns:
- true to validate the client.
-