mockScopeFetcher is a mock implementation of scopes.FetcherInterface
| 16 | |
| 17 | // mockScopeFetcher is a mock implementation of scopes.FetcherInterface |
| 18 | type mockScopeFetcher struct { |
| 19 | scopes []string |
| 20 | err error |
| 21 | } |
| 22 | |
| 23 | func (m *mockScopeFetcher) FetchTokenScopes(_ context.Context, _ string) ([]string, error) { |
| 24 | return m.scopes, m.err |
nothing calls this directly
no outgoing calls
no test coverage detected