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

Class EventingFunctionUrlAuthBearer

lib/eventingfunctionmanager.ts:399–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397 * @category Management
398 */
399export class EventingFunctionUrlAuthBearer implements EventingFunctionUrlAuth {
400 /**
401 * Sets the auth method to Bearer.
402 */
403 method = EventingFunctionUrlAuthMethod.Bearer
404
405 constructor(v: Omit<EventingFunctionUrlAuthBearer, 'method'>) {
406 this.key = v.key
407 }
408
409 /**
410 * Specifies the bearer token to use.
411 */
412 key: string
413}
414
415/**
416 * Specifies a url binding for an eventing function.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected