MCPcopy
hub / github.com/pocketbase/pocketbase / Client

Method Client

tools/auth/base_provider.go:161–163  ·  view source on GitHub ↗

Client implements Provider.Client() interface method.

(token *oauth2.Token)

Source from the content-addressed store, hash-verified

159
160// Client implements Provider.Client() interface method.
161func (p *BaseProvider) Client(token *oauth2.Token) *http.Client {
162 return p.oauth2Config().Client(p.ctx, token)
163}
164
165// FetchRawUserInfo implements Provider.FetchRawUserInfo() interface method.
166func (p *BaseProvider) FetchRawUserInfo(token *oauth2.Token) ([]byte, error) {

Callers 2

TestClientFunction · 0.95

Calls 2

oauth2ConfigMethod · 0.95
ClientMethod · 0.65

Tested by 1

TestClientFunction · 0.76