// Code generated by MockGen. DO NOT EDIT.
// Source: api/auth.go

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

import (
	reflect "reflect"

	api "github.com/cloudfoundry/stratos/src/jetstream/api"
	gomock "github.com/golang/mock/gomock"
	echo "github.com/labstack/echo/v4"
)

// MockStratosAuth is a mock of StratosAuth interface.
type MockStratosAuth struct {
	ctrl     *gomock.Controller
	recorder *MockStratosAuthMockRecorder
}

// MockStratosAuthMockRecorder is the mock recorder for MockStratosAuth.
type MockStratosAuthMockRecorder struct {
	mock *MockStratosAuth
}

// NewMockStratosAuth creates a new mock instance.
func NewMockStratosAuth(ctrl *gomock.Controller) *MockStratosAuth {
	mock := &MockStratosAuth{ctrl: ctrl}
	mock.recorder = &MockStratosAuthMockRecorder{mock}
	return mock
}

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

// BeforeVerifySession mocks base method.
func (m *MockStratosAuth) BeforeVerifySession(c echo.Context) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "BeforeVerifySession", c)
}

// BeforeVerifySession indicates an expected call of BeforeVerifySession.
func (mr *MockStratosAuthMockRecorder) BeforeVerifySession(c interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BeforeVerifySession", reflect.TypeOf((*MockStratosAuth)(nil).BeforeVerifySession), c)
}

// GetUser mocks base method.
func (m *MockStratosAuth) GetUser(userGUID string) (*api.ConnectedUser, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetUser", userGUID)
	ret0, _ := ret[0].(*api.ConnectedUser)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetUser indicates an expected call of GetUser.
func (mr *MockStratosAuthMockRecorder) GetUser(userGUID interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUser", reflect.TypeOf((*MockStratosAuth)(nil).GetUser), userGUID)
}

// GetUsername mocks base method.
func (m *MockStratosAuth) GetUsername(userGUID string) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetUsername", userGUID)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetUsername indicates an expected call of GetUsername.
func (mr *MockStratosAuthMockRecorder) GetUsername(userGUID interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUsername", reflect.TypeOf((*MockStratosAuth)(nil).GetUsername), userGUID)
}

// Login mocks base method.
func (m *MockStratosAuth) Login(c echo.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Login", c)
	ret0, _ := ret[0].(error)
	return ret0
}

// Login indicates an expected call of Login.
func (mr *MockStratosAuthMockRecorder) Login(c interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockStratosAuth)(nil).Login), c)
}

// Logout mocks base method.
func (m *MockStratosAuth) Logout(c echo.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Logout", c)
	ret0, _ := ret[0].(error)
	return ret0
}

// Logout indicates an expected call of Logout.
func (mr *MockStratosAuthMockRecorder) Logout(c interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Logout", reflect.TypeOf((*MockStratosAuth)(nil).Logout), c)
}

// ShowConfig mocks base method.
func (m *MockStratosAuth) ShowConfig(config *api.ConsoleConfig) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "ShowConfig", config)
}

// ShowConfig indicates an expected call of ShowConfig.
func (mr *MockStratosAuthMockRecorder) ShowConfig(config interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShowConfig", reflect.TypeOf((*MockStratosAuth)(nil).ShowConfig), config)
}

// VerifySession mocks base method.
func (m *MockStratosAuth) VerifySession(c echo.Context, sessionUser string, sessionExpireTime int64) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "VerifySession", c, sessionUser, sessionExpireTime)
	ret0, _ := ret[0].(error)
	return ret0
}

// VerifySession indicates an expected call of VerifySession.
func (mr *MockStratosAuthMockRecorder) VerifySession(c, sessionUser, sessionExpireTime interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifySession", reflect.TypeOf((*MockStratosAuth)(nil).VerifySession), c, sessionUser, sessionExpireTime)
}
