mock_auth

package
v0.0.0-...-5306bc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_auth is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL