MCPcopy
hub / github.com/apache/devlake / SetAuthFunction

Method SetAuthFunction

backend/helpers/pluginhelper/api/api_client.go:265–267  ·  view source on GitHub ↗

SetAuthFunction

(callback plugin.ApiClientBeforeRequest)

Source from the content-addressed store, hash-verified

263
264// SetAuthFunction
265func (apiClient *ApiClient) SetAuthFunction(callback plugin.ApiClientBeforeRequest) {
266 apiClient.authFunc = callback
267}
268
269// GetAfterFunction return afterResponseFunction
270func (apiClient *ApiClient) GetAfterFunction() plugin.ApiClientAfterResponse {

Callers 1

Implementers 2

ApiClientbackend/helpers/pluginhelper/api/api_c
refreshApiClientbackend/plugins/github/token/refresh_a

Calls

no outgoing calls

Tested by

no test coverage detected