MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / NewOAuthClientClient

Function NewOAuthClientClient

ent/client.go:1707–1709  ·  view source on GitHub ↗

NewOAuthClientClient returns a client for the OAuthClient from the given config.

(c config)

Source from the content-addressed store, hash-verified

1705
1706// NewOAuthClientClient returns a client for the OAuthClient from the given config.
1707func NewOAuthClientClient(c config) *OAuthClientClient {
1708 return &OAuthClientClient{config: c}
1709}
1710
1711// Use adds a list of mutation hooks to the hooks stack.
1712// A call to `Use(f, g, h)` equals to `oauthclient.Hooks(f(g(h())))`.

Callers 6

QueryGrantsMethod · 0.70
UpdateMethod · 0.70
initMethod · 0.70
initMethod · 0.70
TxMethod · 0.70
BeginTxMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected