MCPcopy
hub / github.com/netbirdio/netbird / mockAuth0Credentials

Struct mockAuth0Credentials

management/server/idp/auth0_test.go:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61type mockAuth0Credentials struct {
62 jwtToken JWTToken
63 err error
64}
65
66func (mc *mockAuth0Credentials) Authenticate(_ context.Context) (JWTToken, error) {
67 return mc.jwtToken, mc.err

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected