mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PasswordCriteriaValidator

type PasswordCriteriaValidator struct {
	mock.Mock
}

PasswordCriteriaValidator is an autogenerated mock type for the PasswordCriteriaValidator type

func (*PasswordCriteriaValidator) ValidatePasswordCriteria

func (_m *PasswordCriteriaValidator) ValidatePasswordCriteria(password string) passwordhelpers.ValidatePasswordCriteriaError

ValidatePasswordCriteria provides a mock function with given fields: password

type PasswordHasher

type PasswordHasher struct {
	mock.Mock
}

PasswordHasher is an autogenerated mock type for the PasswordHasher type

func (*PasswordHasher) ComparePasswords

func (_m *PasswordHasher) ComparePasswords(hash []byte, password string) error

ComparePasswords provides a mock function with given fields: hash, password

func (*PasswordHasher) HashPassword

func (_m *PasswordHasher) HashPassword(password string) ([]byte, error)

HashPassword provides a mock function with given fields: password

Jump to

Keyboard shortcuts

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