Documentation
¶
Overview ¶
Package mock_auth is a generated GoMock package.
Index ¶
- type MockAuthenticator
- func (m *MockAuthenticator) DoPasswordsMatch(hashedPassword, rawPassword string) bool
- func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
- func (m *MockAuthenticator) GenerateHashedPassword(rawPassword string) (string, error)
- func (m *MockAuthenticator) GenerateLoginToken() string
- func (m *MockAuthenticator) GeneratePasswordResetToken() string
- func (m *MockAuthenticator) GenerateRegistrationToken() string
- type MockAuthenticatorMockRecorder
- func (mr *MockAuthenticatorMockRecorder) DoPasswordsMatch(hashedPassword, rawPassword any) *gomock.Call
- func (mr *MockAuthenticatorMockRecorder) GenerateHashedPassword(rawPassword any) *gomock.Call
- func (mr *MockAuthenticatorMockRecorder) GenerateLoginToken() *gomock.Call
- func (mr *MockAuthenticatorMockRecorder) GeneratePasswordResetToken() *gomock.Call
- func (mr *MockAuthenticatorMockRecorder) GenerateRegistrationToken() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthenticator ¶
type MockAuthenticator struct {
// contains filtered or unexported fields
}
MockAuthenticator is a mock of Authenticator interface.
func NewMockAuthenticator ¶
func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator
NewMockAuthenticator creates a new mock instance.
func (*MockAuthenticator) DoPasswordsMatch ¶
func (m *MockAuthenticator) DoPasswordsMatch(hashedPassword, rawPassword string) bool
DoPasswordsMatch mocks base method.
func (*MockAuthenticator) EXPECT ¶
func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthenticator) GenerateHashedPassword ¶
func (m *MockAuthenticator) GenerateHashedPassword(rawPassword string) (string, error)
GenerateHashedPassword mocks base method.
func (*MockAuthenticator) GenerateLoginToken ¶
func (m *MockAuthenticator) GenerateLoginToken() string
GenerateLoginToken mocks base method.
func (*MockAuthenticator) GeneratePasswordResetToken ¶
func (m *MockAuthenticator) GeneratePasswordResetToken() string
GeneratePasswordResetToken mocks base method.
func (*MockAuthenticator) GenerateRegistrationToken ¶
func (m *MockAuthenticator) GenerateRegistrationToken() string
GenerateRegistrationToken mocks base method.
type MockAuthenticatorMockRecorder ¶
type MockAuthenticatorMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator.
func (*MockAuthenticatorMockRecorder) DoPasswordsMatch ¶
func (mr *MockAuthenticatorMockRecorder) DoPasswordsMatch(hashedPassword, rawPassword any) *gomock.Call
DoPasswordsMatch indicates an expected call of DoPasswordsMatch.
func (*MockAuthenticatorMockRecorder) GenerateHashedPassword ¶
func (mr *MockAuthenticatorMockRecorder) GenerateHashedPassword(rawPassword any) *gomock.Call
GenerateHashedPassword indicates an expected call of GenerateHashedPassword.
func (*MockAuthenticatorMockRecorder) GenerateLoginToken ¶
func (mr *MockAuthenticatorMockRecorder) GenerateLoginToken() *gomock.Call
GenerateLoginToken indicates an expected call of GenerateLoginToken.
func (*MockAuthenticatorMockRecorder) GeneratePasswordResetToken ¶
func (mr *MockAuthenticatorMockRecorder) GeneratePasswordResetToken() *gomock.Call
GeneratePasswordResetToken indicates an expected call of GeneratePasswordResetToken.
func (*MockAuthenticatorMockRecorder) GenerateRegistrationToken ¶
func (mr *MockAuthenticatorMockRecorder) GenerateRegistrationToken() *gomock.Call
GenerateRegistrationToken indicates an expected call of GenerateRegistrationToken.