Custom authorization between CouchDB and Couchbase Lite

Hello,

How to do custom authorization between CouchDB and Couchbase Lite (Android)?

Is it possible to do it using Ektorp API?