MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / OAuthClientClient

Method OAuthClientClient

application/dependency/dependency.go:555–561  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

553}
554
555func (d *dependency) OAuthClientClient() inventory.OAuthClientClient {
556 if d.oAuthClient != nil {
557 return d.oAuthClient
558 }
559
560 return inventory.NewOAuthClientClient(d.DBClient(), d.ConfigProvider().Database().Type)
561}
562
563func (d *dependency) MimeDetector(ctx context.Context) mime.MimeDetector {
564 d.mu.Lock()

Callers 1

TokenAuthMethod · 0.95

Calls 4

DBClientMethod · 0.95
ConfigProviderMethod · 0.95
NewOAuthClientClientFunction · 0.92
DatabaseMethod · 0.65

Tested by

no test coverage detected