MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / apiKeyAuth

Method apiKeyAuth

out/cli.cjs:70672–70677  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

70670 if (apiKeyAuth != null && !isEmptyObj(apiKeyAuth)) {
70671 return apiKeyAuth;
70672 }
70673 if (bearerAuth != null && !isEmptyObj(bearerAuth)) {
70674 return bearerAuth;
70675 }
70676 return {};
70677 }
70678 apiKeyAuth(opts) {
70679 if (this.apiKey == null) {
70680 return {};

Callers 1

authHeadersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected