MCPcopy Create free account
hub / github.com/couchbase/couchnode / EventingFunctionUrlAuthDigest

Class EventingFunctionUrlAuthDigest

lib/eventingfunctionmanager.ts:372–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 * @category Management
371 */
372export class EventingFunctionUrlAuthDigest implements EventingFunctionUrlAuth {
373 /**
374 * Sets the auth method to Digest.
375 */
376 method = EventingFunctionUrlAuthMethod.Digest
377
378 constructor(v: Omit<EventingFunctionUrlAuthDigest, 'method'>) {
379 this.username = v.username
380 this.password = v.password
381 }
382
383 /**
384 * Specifies the username to use for authentication.
385 */
386 username: string
387
388 /**
389 * Specifies the password to use for authentication.
390 */
391 password: string
392}
393
394/**
395 * Specifies that Bearer authentication should be used for the URL.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected