MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / fakeAuthProvider

Struct fakeAuthProvider

internal/pluginhost/adapters_test.go:3149–3155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3147}
3148
3149type fakeAuthProvider struct {
3150 identifier string
3151 parseAuth func(context.Context, pluginapi.AuthParseRequest) (pluginapi.AuthParseResponse, error)
3152 startLogin func(context.Context, pluginapi.AuthLoginStartRequest) (pluginapi.AuthLoginStartResponse, error)
3153 pollLogin func(context.Context, pluginapi.AuthLoginPollRequest) (pluginapi.AuthLoginPollResponse, error)
3154 refreshAuth func(context.Context, pluginapi.AuthRefreshRequest) (pluginapi.AuthRefreshResponse, error)
3155}
3156
3157func (p fakeAuthProvider) Identifier() string {
3158 return p.identifier

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected