// Code generated by MockGen. DO NOT EDIT.
// Source: auth_store.go
//
// Generated by this command:
//
//	mockgen -typed -source auth_store.go -destination auth_store_mock_for_test.go -package server
//

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

import (
	context "context"
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockAuthStore is a mock of AuthStore interface.
type MockAuthStore struct {
	ctrl     *gomock.Controller
	recorder *MockAuthStoreMockRecorder
	isgomock struct{}
}

// MockAuthStoreMockRecorder is the mock recorder for MockAuthStore.
type MockAuthStoreMockRecorder struct {
	mock *MockAuthStore
}

// NewMockAuthStore creates a new mock instance.
func NewMockAuthStore(ctrl *gomock.Controller) *MockAuthStore {
	mock := &MockAuthStore{ctrl: ctrl}
	mock.recorder = &MockAuthStoreMockRecorder{mock}
	return mock
}

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

// DeleteOAuthState mocks base method.
func (m *MockAuthStore) DeleteOAuthState(ctx context.Context, stateValue string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteOAuthState", ctx, stateValue)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteOAuthState indicates an expected call of DeleteOAuthState.
func (mr *MockAuthStoreMockRecorder) DeleteOAuthState(ctx, stateValue any) *MockAuthStoreDeleteOAuthStateCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteOAuthState", reflect.TypeOf((*MockAuthStore)(nil).DeleteOAuthState), ctx, stateValue)
	return &MockAuthStoreDeleteOAuthStateCall{Call: call}
}

// MockAuthStoreDeleteOAuthStateCall wrap *gomock.Call
type MockAuthStoreDeleteOAuthStateCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreDeleteOAuthStateCall) Return(arg0 error) *MockAuthStoreDeleteOAuthStateCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreDeleteOAuthStateCall) Do(f func(context.Context, string) error) *MockAuthStoreDeleteOAuthStateCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreDeleteOAuthStateCall) DoAndReturn(f func(context.Context, string) error) *MockAuthStoreDeleteOAuthStateCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// DeleteTransferToken mocks base method.
func (m *MockAuthStore) DeleteTransferToken(ctx context.Context, token string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteTransferToken", ctx, token)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteTransferToken indicates an expected call of DeleteTransferToken.
func (mr *MockAuthStoreMockRecorder) DeleteTransferToken(ctx, token any) *MockAuthStoreDeleteTransferTokenCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTransferToken", reflect.TypeOf((*MockAuthStore)(nil).DeleteTransferToken), ctx, token)
	return &MockAuthStoreDeleteTransferTokenCall{Call: call}
}

// MockAuthStoreDeleteTransferTokenCall wrap *gomock.Call
type MockAuthStoreDeleteTransferTokenCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreDeleteTransferTokenCall) Return(arg0 error) *MockAuthStoreDeleteTransferTokenCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreDeleteTransferTokenCall) Do(f func(context.Context, string) error) *MockAuthStoreDeleteTransferTokenCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreDeleteTransferTokenCall) DoAndReturn(f func(context.Context, string) error) *MockAuthStoreDeleteTransferTokenCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// DeleteUserSession mocks base method.
func (m *MockAuthStore) DeleteUserSession(ctx context.Context, token string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteUserSession", ctx, token)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteUserSession indicates an expected call of DeleteUserSession.
func (mr *MockAuthStoreMockRecorder) DeleteUserSession(ctx, token any) *MockAuthStoreDeleteUserSessionCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUserSession", reflect.TypeOf((*MockAuthStore)(nil).DeleteUserSession), ctx, token)
	return &MockAuthStoreDeleteUserSessionCall{Call: call}
}

// MockAuthStoreDeleteUserSessionCall wrap *gomock.Call
type MockAuthStoreDeleteUserSessionCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreDeleteUserSessionCall) Return(arg0 error) *MockAuthStoreDeleteUserSessionCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreDeleteUserSessionCall) Do(f func(context.Context, string) error) *MockAuthStoreDeleteUserSessionCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreDeleteUserSessionCall) DoAndReturn(f func(context.Context, string) error) *MockAuthStoreDeleteUserSessionCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// GetOAuthState mocks base method.
func (m *MockAuthStore) GetOAuthState(ctx context.Context, stateValue string) (*OAuthState, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetOAuthState", ctx, stateValue)
	ret0, _ := ret[0].(*OAuthState)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetOAuthState indicates an expected call of GetOAuthState.
func (mr *MockAuthStoreMockRecorder) GetOAuthState(ctx, stateValue any) *MockAuthStoreGetOAuthStateCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOAuthState", reflect.TypeOf((*MockAuthStore)(nil).GetOAuthState), ctx, stateValue)
	return &MockAuthStoreGetOAuthStateCall{Call: call}
}

// MockAuthStoreGetOAuthStateCall wrap *gomock.Call
type MockAuthStoreGetOAuthStateCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreGetOAuthStateCall) Return(arg0 *OAuthState, arg1 error) *MockAuthStoreGetOAuthStateCall {
	c.Call = c.Call.Return(arg0, arg1)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreGetOAuthStateCall) Do(f func(context.Context, string) (*OAuthState, error)) *MockAuthStoreGetOAuthStateCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreGetOAuthStateCall) DoAndReturn(f func(context.Context, string) (*OAuthState, error)) *MockAuthStoreGetOAuthStateCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// GetTransferToken mocks base method.
func (m *MockAuthStore) GetTransferToken(ctx context.Context, token string) (*TransferToken, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetTransferToken", ctx, token)
	ret0, _ := ret[0].(*TransferToken)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetTransferToken indicates an expected call of GetTransferToken.
func (mr *MockAuthStoreMockRecorder) GetTransferToken(ctx, token any) *MockAuthStoreGetTransferTokenCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTransferToken", reflect.TypeOf((*MockAuthStore)(nil).GetTransferToken), ctx, token)
	return &MockAuthStoreGetTransferTokenCall{Call: call}
}

// MockAuthStoreGetTransferTokenCall wrap *gomock.Call
type MockAuthStoreGetTransferTokenCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreGetTransferTokenCall) Return(arg0 *TransferToken, arg1 error) *MockAuthStoreGetTransferTokenCall {
	c.Call = c.Call.Return(arg0, arg1)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreGetTransferTokenCall) Do(f func(context.Context, string) (*TransferToken, error)) *MockAuthStoreGetTransferTokenCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreGetTransferTokenCall) DoAndReturn(f func(context.Context, string) (*TransferToken, error)) *MockAuthStoreGetTransferTokenCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// GetUserSession mocks base method.
func (m *MockAuthStore) GetUserSession(ctx context.Context, sessionID string) (*UserSession, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetUserSession", ctx, sessionID)
	ret0, _ := ret[0].(*UserSession)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetUserSession indicates an expected call of GetUserSession.
func (mr *MockAuthStoreMockRecorder) GetUserSession(ctx, sessionID any) *MockAuthStoreGetUserSessionCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserSession", reflect.TypeOf((*MockAuthStore)(nil).GetUserSession), ctx, sessionID)
	return &MockAuthStoreGetUserSessionCall{Call: call}
}

// MockAuthStoreGetUserSessionCall wrap *gomock.Call
type MockAuthStoreGetUserSessionCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreGetUserSessionCall) Return(arg0 *UserSession, arg1 error) *MockAuthStoreGetUserSessionCall {
	c.Call = c.Call.Return(arg0, arg1)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreGetUserSessionCall) Do(f func(context.Context, string) (*UserSession, error)) *MockAuthStoreGetUserSessionCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreGetUserSessionCall) DoAndReturn(f func(context.Context, string) (*UserSession, error)) *MockAuthStoreGetUserSessionCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// StoreOAuthState mocks base method.
func (m *MockAuthStore) StoreOAuthState(ctx context.Context, stateValue string, state *OAuthState) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "StoreOAuthState", ctx, stateValue, state)
	ret0, _ := ret[0].(error)
	return ret0
}

// StoreOAuthState indicates an expected call of StoreOAuthState.
func (mr *MockAuthStoreMockRecorder) StoreOAuthState(ctx, stateValue, state any) *MockAuthStoreStoreOAuthStateCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreOAuthState", reflect.TypeOf((*MockAuthStore)(nil).StoreOAuthState), ctx, stateValue, state)
	return &MockAuthStoreStoreOAuthStateCall{Call: call}
}

// MockAuthStoreStoreOAuthStateCall wrap *gomock.Call
type MockAuthStoreStoreOAuthStateCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreStoreOAuthStateCall) Return(arg0 error) *MockAuthStoreStoreOAuthStateCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreStoreOAuthStateCall) Do(f func(context.Context, string, *OAuthState) error) *MockAuthStoreStoreOAuthStateCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreStoreOAuthStateCall) DoAndReturn(f func(context.Context, string, *OAuthState) error) *MockAuthStoreStoreOAuthStateCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// StoreTransferToken mocks base method.
func (m *MockAuthStore) StoreTransferToken(ctx context.Context, token string, tt *TransferToken) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "StoreTransferToken", ctx, token, tt)
	ret0, _ := ret[0].(error)
	return ret0
}

// StoreTransferToken indicates an expected call of StoreTransferToken.
func (mr *MockAuthStoreMockRecorder) StoreTransferToken(ctx, token, tt any) *MockAuthStoreStoreTransferTokenCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreTransferToken", reflect.TypeOf((*MockAuthStore)(nil).StoreTransferToken), ctx, token, tt)
	return &MockAuthStoreStoreTransferTokenCall{Call: call}
}

// MockAuthStoreStoreTransferTokenCall wrap *gomock.Call
type MockAuthStoreStoreTransferTokenCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreStoreTransferTokenCall) Return(arg0 error) *MockAuthStoreStoreTransferTokenCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreStoreTransferTokenCall) Do(f func(context.Context, string, *TransferToken) error) *MockAuthStoreStoreTransferTokenCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreStoreTransferTokenCall) DoAndReturn(f func(context.Context, string, *TransferToken) error) *MockAuthStoreStoreTransferTokenCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// StoreUserSession mocks base method.
func (m *MockAuthStore) StoreUserSession(ctx context.Context, sessionID string, us *UserSession) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "StoreUserSession", ctx, sessionID, us)
	ret0, _ := ret[0].(error)
	return ret0
}

// StoreUserSession indicates an expected call of StoreUserSession.
func (mr *MockAuthStoreMockRecorder) StoreUserSession(ctx, sessionID, us any) *MockAuthStoreStoreUserSessionCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreUserSession", reflect.TypeOf((*MockAuthStore)(nil).StoreUserSession), ctx, sessionID, us)
	return &MockAuthStoreStoreUserSessionCall{Call: call}
}

// MockAuthStoreStoreUserSessionCall wrap *gomock.Call
type MockAuthStoreStoreUserSessionCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockAuthStoreStoreUserSessionCall) Return(arg0 error) *MockAuthStoreStoreUserSessionCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockAuthStoreStoreUserSessionCall) Do(f func(context.Context, string, *UserSession) error) *MockAuthStoreStoreUserSessionCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockAuthStoreStoreUserSessionCall) DoAndReturn(f func(context.Context, string, *UserSession) error) *MockAuthStoreStoreUserSessionCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}
