staticOIDCSource implements mcpclient.UserOIDCTokenSource for tests without requiring a real OIDC provider or database round-trip.
| 685 | // staticOIDCSource implements mcpclient.UserOIDCTokenSource for tests |
| 686 | // without requiring a real OIDC provider or database round-trip. |
| 687 | type staticOIDCSource struct { |
| 688 | token string |
| 689 | err error |
| 690 | } |
| 691 | |
| 692 | func (s staticOIDCSource) OIDCAccessToken(_ context.Context, _ uuid.UUID) (string, error) { |
| 693 | return s.token, s.err |
nothing calls this directly
no outgoing calls
no test coverage detected