couchbaselabs / mobile-dart-flutter-plugin

1 stars 0 forks source link

Req - 29: BasicAuthenticator #30

Closed Fujio-Turner closed 3 months ago

Fujio-Turner commented 11 months ago

WEB: basic authentication Username & Password its probably a wrapper around an URL encoder and returns back object or list to the replicator.

 CBLAuthenticator* basicAuth =
        CBLAuth_CreatePassword(FLSTR("username"),
                               FLSTR("passwd")); 
    config.authenticator = basicAuth;

SG Session Asking more questions around it. Plugin - Version 1 we can do SG's Session Plugin - Version 2 using JWT ??? or just let user passing data via namespace header to SG. We'll probably have to log not the custom header name Not Data to Plugin Logs https://docs.couchbase.com/sync-gateway/current/rest-api.html#/Session

MOBILE: https://docs.couchbase.com/couchbase-lite/3.0/c/replication.html#basic-authentication