Tesla.Middleware.CouchDB.BearerAuth (couchdb_auth v0.2.4)

View Source

Middleware implementing CouchDB bearer (JWT) authentication.

Injects an Authorization: Bearer <token> header based on the configured credentials. The token can be supplied via middleware options or loaded from the runtime environment.