mock_auth

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) DeleteUser

func (m *MockInterface) DeleteUser(ctx context.Context, userID string) error

DeleteUser mocks base method.

func (*MockInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) GetUser

func (m *MockInterface) GetUser(ctx context.Context, userParam auth0.FirebaseUserParam) ([]auth0.FirebaseUser, error)

GetUser mocks base method.

func (*MockInterface) GetUserAuthInfo

func (m *MockInterface) GetUserAuthInfo(ctx context.Context) (auth0.UserAuthInfo, error)

GetUserAuthInfo mocks base method.

func (*MockInterface) GetUsers

func (m *MockInterface) GetUsers(ctx context.Context, userParams []auth0.FirebaseUserParam) ([]auth0.FirebaseUser, error)

GetUsers mocks base method.

func (*MockInterface) RefreshToken

func (m *MockInterface) RefreshToken(ctx context.Context, refreshToken string) (auth0.RefreshTokenResponse, error)

RefreshToken mocks base method.

func (*MockInterface) RegisterUser

func (m *MockInterface) RegisterUser(ctx context.Context, user auth0.FirebaseUser) (auth0.FirebaseUser, error)

RegisterUser mocks base method.

func (*MockInterface) RevokeUserRefreshToken

func (m *MockInterface) RevokeUserRefreshToken(ctx context.Context, uid string) error

RevokeUserRefreshToken mocks base method.

func (*MockInterface) SetUserAuthInfo

func (m *MockInterface) SetUserAuthInfo(ctx context.Context, param auth0.UserAuthParam) context.Context

SetUserAuthInfo mocks base method.

func (*MockInterface) SignInWithPassword

func (m *MockInterface) SignInWithPassword(ctx context.Context, param auth0.UserLogin) (auth0.UserLoginResponse, error)

SignInWithPassword mocks base method.

func (*MockInterface) UpdateUser

func (m *MockInterface) UpdateUser(ctx context.Context, user auth0.FirebaseUser) (auth0.FirebaseUser, error)

UpdateUser mocks base method.

func (*MockInterface) VerifyPassword

func (m *MockInterface) VerifyPassword(ctx context.Context, email, password string) (bool, error)

VerifyPassword mocks base method.

func (*MockInterface) VerifyToken

func (m *MockInterface) VerifyToken(ctx context.Context, bearertoken string) (*auth.Token, error)

VerifyToken mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) DeleteUser

func (mr *MockInterfaceMockRecorder) DeleteUser(ctx, userID any) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockInterfaceMockRecorder) GetUser

func (mr *MockInterfaceMockRecorder) GetUser(ctx, userParam any) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockInterfaceMockRecorder) GetUserAuthInfo

func (mr *MockInterfaceMockRecorder) GetUserAuthInfo(ctx any) *gomock.Call

GetUserAuthInfo indicates an expected call of GetUserAuthInfo.

func (*MockInterfaceMockRecorder) GetUsers

func (mr *MockInterfaceMockRecorder) GetUsers(ctx, userParams any) *gomock.Call

GetUsers indicates an expected call of GetUsers.

func (*MockInterfaceMockRecorder) RefreshToken

func (mr *MockInterfaceMockRecorder) RefreshToken(ctx, refreshToken any) *gomock.Call

RefreshToken indicates an expected call of RefreshToken.

func (*MockInterfaceMockRecorder) RegisterUser

func (mr *MockInterfaceMockRecorder) RegisterUser(ctx, user any) *gomock.Call

RegisterUser indicates an expected call of RegisterUser.

func (*MockInterfaceMockRecorder) RevokeUserRefreshToken

func (mr *MockInterfaceMockRecorder) RevokeUserRefreshToken(ctx, uid any) *gomock.Call

RevokeUserRefreshToken indicates an expected call of RevokeUserRefreshToken.

func (*MockInterfaceMockRecorder) SetUserAuthInfo

func (mr *MockInterfaceMockRecorder) SetUserAuthInfo(ctx, param any) *gomock.Call

SetUserAuthInfo indicates an expected call of SetUserAuthInfo.

func (*MockInterfaceMockRecorder) SignInWithPassword

func (mr *MockInterfaceMockRecorder) SignInWithPassword(ctx, param any) *gomock.Call

SignInWithPassword indicates an expected call of SignInWithPassword.

func (*MockInterfaceMockRecorder) UpdateUser

func (mr *MockInterfaceMockRecorder) UpdateUser(ctx, user any) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockInterfaceMockRecorder) VerifyPassword

func (mr *MockInterfaceMockRecorder) VerifyPassword(ctx, email, password any) *gomock.Call

VerifyPassword indicates an expected call of VerifyPassword.

func (*MockInterfaceMockRecorder) VerifyToken

func (mr *MockInterfaceMockRecorder) VerifyToken(ctx, bearertoken any) *gomock.Call

VerifyToken indicates an expected call of VerifyToken.

Jump to

Keyboard shortcuts

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