// Code generated by MockGen. DO NOT EDIT.
// Source: provider.go
//
// Generated by this command:
//
//	mockgen -destination=mocks/mock_provider.go -package=mocks -source=provider.go KeyProvider,PublicKeyProvider
//

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

import (
	context "context"
	reflect "reflect"

	keys "github.com/stacklok/toolhive/pkg/authserver/server/keys"
	gomock "go.uber.org/mock/gomock"
)

// MockPublicKeyProvider is a mock of PublicKeyProvider interface.
type MockPublicKeyProvider struct {
	ctrl     *gomock.Controller
	recorder *MockPublicKeyProviderMockRecorder
	isgomock struct{}
}

// MockPublicKeyProviderMockRecorder is the mock recorder for MockPublicKeyProvider.
type MockPublicKeyProviderMockRecorder struct {
	mock *MockPublicKeyProvider
}

// NewMockPublicKeyProvider creates a new mock instance.
func NewMockPublicKeyProvider(ctrl *gomock.Controller) *MockPublicKeyProvider {
	mock := &MockPublicKeyProvider{ctrl: ctrl}
	mock.recorder = &MockPublicKeyProviderMockRecorder{mock}
	return mock
}

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

// PublicKeys mocks base method.
func (m *MockPublicKeyProvider) PublicKeys(ctx context.Context) ([]*keys.PublicKeyData, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "PublicKeys", ctx)
	ret0, _ := ret[0].([]*keys.PublicKeyData)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// PublicKeys indicates an expected call of PublicKeys.
func (mr *MockPublicKeyProviderMockRecorder) PublicKeys(ctx any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublicKeys", reflect.TypeOf((*MockPublicKeyProvider)(nil).PublicKeys), ctx)
}

// MockKeyProvider is a mock of KeyProvider interface.
type MockKeyProvider struct {
	ctrl     *gomock.Controller
	recorder *MockKeyProviderMockRecorder
	isgomock struct{}
}

// MockKeyProviderMockRecorder is the mock recorder for MockKeyProvider.
type MockKeyProviderMockRecorder struct {
	mock *MockKeyProvider
}

// NewMockKeyProvider creates a new mock instance.
func NewMockKeyProvider(ctrl *gomock.Controller) *MockKeyProvider {
	mock := &MockKeyProvider{ctrl: ctrl}
	mock.recorder = &MockKeyProviderMockRecorder{mock}
	return mock
}

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

// PublicKeys mocks base method.
func (m *MockKeyProvider) PublicKeys(ctx context.Context) ([]*keys.PublicKeyData, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "PublicKeys", ctx)
	ret0, _ := ret[0].([]*keys.PublicKeyData)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// PublicKeys indicates an expected call of PublicKeys.
func (mr *MockKeyProviderMockRecorder) PublicKeys(ctx any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublicKeys", reflect.TypeOf((*MockKeyProvider)(nil).PublicKeys), ctx)
}

// SigningKey mocks base method.
func (m *MockKeyProvider) SigningKey(ctx context.Context) (*keys.SigningKeyData, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SigningKey", ctx)
	ret0, _ := ret[0].(*keys.SigningKeyData)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SigningKey indicates an expected call of SigningKey.
func (mr *MockKeyProviderMockRecorder) SigningKey(ctx any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SigningKey", reflect.TypeOf((*MockKeyProvider)(nil).SigningKey), ctx)
}
