Documentation
¶
Overview ¶
Package mock_auth is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) DeleteUser(ctx context.Context, userID string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetUser(ctx context.Context, userParam auth0.FirebaseUserParam) ([]auth0.FirebaseUser, error)
- func (m *MockInterface) GetUserAuthInfo(ctx context.Context) (auth0.UserAuthInfo, error)
- func (m *MockInterface) GetUsers(ctx context.Context, userParams []auth0.FirebaseUserParam) ([]auth0.FirebaseUser, error)
- func (m *MockInterface) RefreshToken(ctx context.Context, refreshToken string) (auth0.RefreshTokenResponse, error)
- func (m *MockInterface) RegisterUser(ctx context.Context, user auth0.FirebaseUser) (auth0.FirebaseUser, error)
- func (m *MockInterface) RevokeUserRefreshToken(ctx context.Context, uid string) error
- func (m *MockInterface) SetUserAuthInfo(ctx context.Context, param auth0.UserAuthParam) context.Context
- func (m *MockInterface) SignInWithPassword(ctx context.Context, param auth0.UserLogin) (auth0.UserLoginResponse, error)
- func (m *MockInterface) UpdateUser(ctx context.Context, user auth0.FirebaseUser) (auth0.FirebaseUser, error)
- func (m *MockInterface) VerifyPassword(ctx context.Context, email, password string) (bool, error)
- func (m *MockInterface) VerifyToken(ctx context.Context, bearertoken string) (*auth.Token, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) DeleteUser(ctx, userID any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetUser(ctx, userParam any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetUserAuthInfo(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetUsers(ctx, userParams any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RefreshToken(ctx, refreshToken any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RegisterUser(ctx, user any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RevokeUserRefreshToken(ctx, uid any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetUserAuthInfo(ctx, param any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SignInWithPassword(ctx, param any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateUser(ctx, user any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) VerifyPassword(ctx, email, password any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) VerifyToken(ctx, bearertoken any) *gomock.Call
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
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 ¶
VerifyPassword mocks base method.
func (*MockInterface) VerifyToken ¶
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.