Documentation ¶
Index ¶
- type AuthService
- func (_m *AuthService) AuthMiddleware(_a0 http.Handler) http.Handler
- func (_m *AuthService) GetPasswordHash(_a0 string) ([]byte, error)
- func (_m *AuthService) GetUserID(_a0 context.Context) (int64, error)
- func (_m *AuthService) Login(_a0 context.Context, _a1 int64, _a2 string) error
- func (_m *AuthService) Logout(_a0 context.Context) error
- func (_m *AuthService) Refresh(_a0 context.Context, _a1 string) (int64, error)
- func (_m *AuthService) VerifyPasswordHash(_a0 string, _a1 []byte) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
AuthService is an autogenerated mock type for the AuthService type
func (*AuthService) AuthMiddleware ¶
func (_m *AuthService) AuthMiddleware(_a0 http.Handler) http.Handler
AuthMiddleware provides a mock function with given fields: _a0
func (*AuthService) GetPasswordHash ¶
func (_m *AuthService) GetPasswordHash(_a0 string) ([]byte, error)
GetPasswordHash provides a mock function with given fields: _a0
func (*AuthService) GetUserID ¶
func (_m *AuthService) GetUserID(_a0 context.Context) (int64, error)
GetUserID provides a mock function with given fields: _a0
func (*AuthService) Logout ¶
func (_m *AuthService) Logout(_a0 context.Context) error
Logout provides a mock function with given fields: _a0
func (*AuthService) VerifyPasswordHash ¶
func (_m *AuthService) VerifyPasswordHash(_a0 string, _a1 []byte) (bool, error)
VerifyPasswordHash provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.