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

Class EventingFunctionUrlAuthBasic

lib/eventingfunctionmanager.ts:345–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343 * @category Management
344 */
345export class EventingFunctionUrlAuthBasic implements EventingFunctionUrlAuth {
346 /**
347 * Sets the auth method to Basic.
348 */
349 method = EventingFunctionUrlAuthMethod.Basic
350
351 constructor(v: Omit<EventingFunctionUrlAuthBasic, 'method'>) {
352 this.username = v.username
353 this.password = v.password
354 }
355
356 /**
357 * Specifies the username to use for authentication.
358 */
359 username: string
360
361 /**
362 * Specifies the password to use for authentication.
363 */
364 password: string
365}
366
367/**
368 * Specifies that Digest authentication should be used for the URL.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected