// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/stacklok/toolhive/pkg/vmcp/auth (interfaces: OutgoingAuthRegistry)
//
// Generated by this command:
//
//	mockgen -destination=mocks/mock_outgoing_registry.go -package=mocks github.com/stacklok/toolhive/pkg/vmcp/auth OutgoingAuthRegistry
//

// Package mocks is a generated GoMock package.
package mocks

import (
	reflect "reflect"

	auth "github.com/stacklok/toolhive/pkg/vmcp/auth"
	gomock "go.uber.org/mock/gomock"
)

// MockOutgoingAuthRegistry is a mock of OutgoingAuthRegistry interface.
type MockOutgoingAuthRegistry struct {
	ctrl     *gomock.Controller
	recorder *MockOutgoingAuthRegistryMockRecorder
	isgomock struct{}
}

// MockOutgoingAuthRegistryMockRecorder is the mock recorder for MockOutgoingAuthRegistry.
type MockOutgoingAuthRegistryMockRecorder struct {
	mock *MockOutgoingAuthRegistry
}

// NewMockOutgoingAuthRegistry creates a new mock instance.
func NewMockOutgoingAuthRegistry(ctrl *gomock.Controller) *MockOutgoingAuthRegistry {
	mock := &MockOutgoingAuthRegistry{ctrl: ctrl}
	mock.recorder = &MockOutgoingAuthRegistryMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockOutgoingAuthRegistry) EXPECT() *MockOutgoingAuthRegistryMockRecorder {
	return m.recorder
}

// GetStrategy mocks base method.
func (m *MockOutgoingAuthRegistry) GetStrategy(name string) (auth.Strategy, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetStrategy", name)
	ret0, _ := ret[0].(auth.Strategy)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetStrategy indicates an expected call of GetStrategy.
func (mr *MockOutgoingAuthRegistryMockRecorder) GetStrategy(name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStrategy", reflect.TypeOf((*MockOutgoingAuthRegistry)(nil).GetStrategy), name)
}

// RegisterStrategy mocks base method.
func (m *MockOutgoingAuthRegistry) RegisterStrategy(name string, strategy auth.Strategy) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "RegisterStrategy", name, strategy)
	ret0, _ := ret[0].(error)
	return ret0
}

// RegisterStrategy indicates an expected call of RegisterStrategy.
func (mr *MockOutgoingAuthRegistryMockRecorder) RegisterStrategy(name, strategy any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterStrategy", reflect.TypeOf((*MockOutgoingAuthRegistry)(nil).RegisterStrategy), name, strategy)
}
