Can we use OpenID token as a parameter in Couchbase.Lite.Sync.SessionAuthenticator rather than sessionID


#1

We use OIDC implicit flow to connect to sync gateway from Couchbase Lite in our .NET core application. We would like to pass the openid token as Authorization header (Bearer token) to Sync gateway. Is it possible to pass openid token as a parameter in Couchbase.Lite.Sync.SessionAuthenticator class? Or can we do it some other way to use token for authentication? If yes, can you please share the code snippet.
Or can we set the expiry of sessionId at sync gateway for a longer period such as a year or so?