2020-03-23 15:56:02 +00:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2020-07-08 11:56:37 +00:00
|
|
|
// Source: github.com/caos/zitadel/pkg/grpc/auth (interfaces: AuthServiceClient)
|
2020-03-23 15:56:02 +00:00
|
|
|
|
|
|
|
// Package api is a generated GoMock package.
|
|
|
|
package api
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2020-07-08 11:56:37 +00:00
|
|
|
auth "github.com/caos/zitadel/pkg/grpc/auth"
|
2020-03-23 15:56:02 +00:00
|
|
|
gomock "github.com/golang/mock/gomock"
|
2020-07-08 11:56:37 +00:00
|
|
|
grpc "google.golang.org/grpc"
|
2020-03-31 09:07:48 +00:00
|
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
2020-03-23 15:56:02 +00:00
|
|
|
reflect "reflect"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MockAuthServiceClient is a mock of AuthServiceClient interface
|
|
|
|
type MockAuthServiceClient struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockAuthServiceClientMockRecorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// MockAuthServiceClientMockRecorder is the mock recorder for MockAuthServiceClient
|
|
|
|
type MockAuthServiceClientMockRecorder struct {
|
|
|
|
mock *MockAuthServiceClient
|
|
|
|
}
|
|
|
|
|
|
|
|
// NewMockAuthServiceClient creates a new mock instance
|
|
|
|
func NewMockAuthServiceClient(ctrl *gomock.Controller) *MockAuthServiceClient {
|
|
|
|
mock := &MockAuthServiceClient{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockAuthServiceClientMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
|
|
|
func (m *MockAuthServiceClient) EXPECT() *MockAuthServiceClientMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// AddMfaOTP mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) AddMfaOTP(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.MfaOtpResponse, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "AddMfaOTP", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.MfaOtpResponse)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// AddMfaOTP indicates an expected call of AddMfaOTP
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) AddMfaOTP(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddMfaOTP", reflect.TypeOf((*MockAuthServiceClient)(nil).AddMfaOTP), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMyPassword mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) ChangeMyPassword(arg0 context.Context, arg1 *auth.PasswordChange, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ChangeMyPassword", varargs...)
|
2020-03-31 09:07:48 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMyPassword indicates an expected call of ChangeMyPassword
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) ChangeMyPassword(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeMyPassword", reflect.TypeOf((*MockAuthServiceClient)(nil).ChangeMyPassword), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMyUserEmail mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) ChangeMyUserEmail(arg0 context.Context, arg1 *auth.UpdateUserEmailRequest, arg2 ...grpc.CallOption) (*auth.UserEmail, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ChangeMyUserEmail", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserEmail)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMyUserEmail indicates an expected call of ChangeMyUserEmail
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) ChangeMyUserEmail(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeMyUserEmail", reflect.TypeOf((*MockAuthServiceClient)(nil).ChangeMyUserEmail), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-08-27 15:18:23 +00:00
|
|
|
// ChangeMyUserName mocks base method
|
|
|
|
func (m *MockAuthServiceClient) ChangeMyUserName(arg0 context.Context, arg1 *auth.ChangeUserNameRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ChangeMyUserName", varargs...)
|
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMyUserName indicates an expected call of ChangeMyUserName
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) ChangeMyUserName(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeMyUserName", reflect.TypeOf((*MockAuthServiceClient)(nil).ChangeMyUserName), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-03-23 15:56:02 +00:00
|
|
|
// ChangeMyUserPhone mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) ChangeMyUserPhone(arg0 context.Context, arg1 *auth.UpdateUserPhoneRequest, arg2 ...grpc.CallOption) (*auth.UserPhone, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ChangeMyUserPhone", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserPhone)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ChangeMyUserPhone indicates an expected call of ChangeMyUserPhone
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) ChangeMyUserPhone(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChangeMyUserPhone", reflect.TypeOf((*MockAuthServiceClient)(nil).ChangeMyUserPhone), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyMfas mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyMfas(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.MultiFactors, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyMfas", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.MultiFactors)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyMfas indicates an expected call of GetMyMfas
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyMfas(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyMfas", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyMfas), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-07-06 13:48:24 +00:00
|
|
|
// GetMyPasswordComplexityPolicy mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyPasswordComplexityPolicy(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.PasswordComplexityPolicy, error) {
|
2020-07-06 13:48:24 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyPasswordComplexityPolicy", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.PasswordComplexityPolicy)
|
2020-07-06 13:48:24 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyPasswordComplexityPolicy indicates an expected call of GetMyPasswordComplexityPolicy
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyPasswordComplexityPolicy(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyPasswordComplexityPolicy", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyPasswordComplexityPolicy), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyProjectPermissions mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyProjectPermissions(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.MyPermissions, error) {
|
2020-07-06 13:48:24 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyProjectPermissions", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.MyPermissions)
|
2020-07-06 13:48:24 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyProjectPermissions indicates an expected call of GetMyProjectPermissions
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyProjectPermissions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyProjectPermissions", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyProjectPermissions), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-06-17 14:43:53 +00:00
|
|
|
// GetMyUser mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyUser(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.UserView, error) {
|
2020-06-17 14:43:53 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyUser", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserView)
|
2020-06-17 14:43:53 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUser indicates an expected call of GetMyUser
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyUser(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyUser", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyUser), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-03-23 15:56:02 +00:00
|
|
|
// GetMyUserAddress mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyUserAddress(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.UserAddressView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyUserAddress", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserAddressView)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserAddress indicates an expected call of GetMyUserAddress
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyUserAddress(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyUserAddress", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyUserAddress), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-07-06 13:48:24 +00:00
|
|
|
// GetMyUserChanges mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyUserChanges(arg0 context.Context, arg1 *auth.ChangesRequest, arg2 ...grpc.CallOption) (*auth.Changes, error) {
|
2020-07-06 13:48:24 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyUserChanges", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.Changes)
|
2020-07-06 13:48:24 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserChanges indicates an expected call of GetMyUserChanges
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyUserChanges(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyUserChanges", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyUserChanges), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-03-23 15:56:02 +00:00
|
|
|
// GetMyUserEmail mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyUserEmail(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.UserEmailView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyUserEmail", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserEmailView)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserEmail indicates an expected call of GetMyUserEmail
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyUserEmail(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyUserEmail", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyUserEmail), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserPhone mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyUserPhone(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.UserPhoneView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyUserPhone", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserPhoneView)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserPhone indicates an expected call of GetMyUserPhone
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyUserPhone(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyUserPhone", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyUserPhone), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserProfile mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyUserProfile(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.UserProfileView, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyUserProfile", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserProfileView)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserProfile indicates an expected call of GetMyUserProfile
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyUserProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyUserProfile", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyUserProfile), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserSessions mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyUserSessions(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.UserSessionViews, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyUserSessions", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserSessionViews)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyUserSessions indicates an expected call of GetMyUserSessions
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyUserSessions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyUserSessions", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyUserSessions), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyZitadelPermissions mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) GetMyZitadelPermissions(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*auth.MyPermissions, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "GetMyZitadelPermissions", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.MyPermissions)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// GetMyZitadelPermissions indicates an expected call of GetMyZitadelPermissions
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) GetMyZitadelPermissions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMyZitadelPermissions", reflect.TypeOf((*MockAuthServiceClient)(nil).GetMyZitadelPermissions), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Healthz mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) Healthz(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "Healthz", varargs...)
|
2020-03-31 09:07:48 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// Healthz indicates an expected call of Healthz
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) Healthz(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Healthz", reflect.TypeOf((*MockAuthServiceClient)(nil).Healthz), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemoveMfaOTP mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) RemoveMfaOTP(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "RemoveMfaOTP", varargs...)
|
2020-03-31 09:07:48 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemoveMfaOTP indicates an expected call of RemoveMfaOTP
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) RemoveMfaOTP(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMfaOTP", reflect.TypeOf((*MockAuthServiceClient)(nil).RemoveMfaOTP), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-09-18 11:26:28 +00:00
|
|
|
// RemoveMyExternalIDP mocks base method
|
|
|
|
func (m *MockAuthServiceClient) RemoveMyExternalIDP(arg0 context.Context, arg1 *auth.ExternalIDPRemoveRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "RemoveMyExternalIDP", varargs...)
|
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemoveMyExternalIDP indicates an expected call of RemoveMyExternalIDP
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) RemoveMyExternalIDP(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMyExternalIDP", reflect.TypeOf((*MockAuthServiceClient)(nil).RemoveMyExternalIDP), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-07-06 13:48:24 +00:00
|
|
|
// RemoveMyUserPhone mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) RemoveMyUserPhone(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-07-06 13:48:24 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "RemoveMyUserPhone", varargs...)
|
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// RemoveMyUserPhone indicates an expected call of RemoveMyUserPhone
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) RemoveMyUserPhone(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMyUserPhone", reflect.TypeOf((*MockAuthServiceClient)(nil).RemoveMyUserPhone), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-03-23 15:56:02 +00:00
|
|
|
// ResendMyEmailVerificationMail mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) ResendMyEmailVerificationMail(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ResendMyEmailVerificationMail", varargs...)
|
2020-03-31 09:07:48 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ResendMyEmailVerificationMail indicates an expected call of ResendMyEmailVerificationMail
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) ResendMyEmailVerificationMail(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResendMyEmailVerificationMail", reflect.TypeOf((*MockAuthServiceClient)(nil).ResendMyEmailVerificationMail), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// ResendMyPhoneVerificationCode mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) ResendMyPhoneVerificationCode(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "ResendMyPhoneVerificationCode", varargs...)
|
2020-03-31 09:07:48 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ResendMyPhoneVerificationCode indicates an expected call of ResendMyPhoneVerificationCode
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) ResendMyPhoneVerificationCode(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResendMyPhoneVerificationCode", reflect.TypeOf((*MockAuthServiceClient)(nil).ResendMyPhoneVerificationCode), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-09-18 11:26:28 +00:00
|
|
|
// SearchMyExternalIDPs mocks base method
|
|
|
|
func (m *MockAuthServiceClient) SearchMyExternalIDPs(arg0 context.Context, arg1 *auth.ExternalIDPSearchRequest, arg2 ...grpc.CallOption) (*auth.ExternalIDPSearchResponse, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "SearchMyExternalIDPs", varargs...)
|
|
|
|
ret0, _ := ret[0].(*auth.ExternalIDPSearchResponse)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SearchMyExternalIDPs indicates an expected call of SearchMyExternalIDPs
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) SearchMyExternalIDPs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchMyExternalIDPs", reflect.TypeOf((*MockAuthServiceClient)(nil).SearchMyExternalIDPs), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-03-23 15:56:02 +00:00
|
|
|
// SearchMyProjectOrgs mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) SearchMyProjectOrgs(arg0 context.Context, arg1 *auth.MyProjectOrgSearchRequest, arg2 ...grpc.CallOption) (*auth.MyProjectOrgSearchResponse, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "SearchMyProjectOrgs", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.MyProjectOrgSearchResponse)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// SearchMyProjectOrgs indicates an expected call of SearchMyProjectOrgs
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) SearchMyProjectOrgs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchMyProjectOrgs", reflect.TypeOf((*MockAuthServiceClient)(nil).SearchMyProjectOrgs), varargs...)
|
|
|
|
}
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
// SearchMyUserGrant mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) SearchMyUserGrant(arg0 context.Context, arg1 *auth.UserGrantSearchRequest, arg2 ...grpc.CallOption) (*auth.UserGrantSearchResponse, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
2020-06-09 07:22:37 +00:00
|
|
|
ret := m.ctrl.Call(m, "SearchMyUserGrant", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserGrantSearchResponse)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
// SearchMyUserGrant indicates an expected call of SearchMyUserGrant
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) SearchMyUserGrant(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
2020-03-23 15:56:02 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
2020-06-09 07:22:37 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchMyUserGrant", reflect.TypeOf((*MockAuthServiceClient)(nil).SearchMyUserGrant), varargs...)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateMyUserAddress mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) UpdateMyUserAddress(arg0 context.Context, arg1 *auth.UpdateUserAddressRequest, arg2 ...grpc.CallOption) (*auth.UserAddress, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "UpdateMyUserAddress", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserAddress)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateMyUserAddress indicates an expected call of UpdateMyUserAddress
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) UpdateMyUserAddress(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateMyUserAddress", reflect.TypeOf((*MockAuthServiceClient)(nil).UpdateMyUserAddress), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateMyUserProfile mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) UpdateMyUserProfile(arg0 context.Context, arg1 *auth.UpdateUserProfileRequest, arg2 ...grpc.CallOption) (*auth.UserProfile, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "UpdateMyUserProfile", varargs...)
|
2020-07-08 11:56:37 +00:00
|
|
|
ret0, _ := ret[0].(*auth.UserProfile)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// UpdateMyUserProfile indicates an expected call of UpdateMyUserProfile
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) UpdateMyUserProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateMyUserProfile", reflect.TypeOf((*MockAuthServiceClient)(nil).UpdateMyUserProfile), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// VerifyMfaOTP mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) VerifyMfaOTP(arg0 context.Context, arg1 *auth.VerifyMfaOtp, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "VerifyMfaOTP", varargs...)
|
2020-06-05 05:50:04 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// VerifyMfaOTP indicates an expected call of VerifyMfaOTP
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) VerifyMfaOTP(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyMfaOTP", reflect.TypeOf((*MockAuthServiceClient)(nil).VerifyMfaOTP), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// VerifyMyUserEmail mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) VerifyMyUserEmail(arg0 context.Context, arg1 *auth.VerifyMyUserEmailRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "VerifyMyUserEmail", varargs...)
|
2020-03-31 09:07:48 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// VerifyMyUserEmail indicates an expected call of VerifyMyUserEmail
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) VerifyMyUserEmail(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyMyUserEmail", reflect.TypeOf((*MockAuthServiceClient)(nil).VerifyMyUserEmail), varargs...)
|
|
|
|
}
|
|
|
|
|
|
|
|
// VerifyMyUserPhone mocks base method
|
2020-07-08 11:56:37 +00:00
|
|
|
func (m *MockAuthServiceClient) VerifyMyUserPhone(arg0 context.Context, arg1 *auth.VerifyUserPhoneRequest, arg2 ...grpc.CallOption) (*emptypb.Empty, error) {
|
2020-03-23 15:56:02 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
varargs := []interface{}{arg0, arg1}
|
|
|
|
for _, a := range arg2 {
|
|
|
|
varargs = append(varargs, a)
|
|
|
|
}
|
|
|
|
ret := m.ctrl.Call(m, "VerifyMyUserPhone", varargs...)
|
2020-03-31 09:07:48 +00:00
|
|
|
ret0, _ := ret[0].(*emptypb.Empty)
|
2020-03-23 15:56:02 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// VerifyMyUserPhone indicates an expected call of VerifyMyUserPhone
|
|
|
|
func (mr *MockAuthServiceClientMockRecorder) VerifyMyUserPhone(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyMyUserPhone", reflect.TypeOf((*MockAuthServiceClient)(nil).VerifyMyUserPhone), varargs...)
|
|
|
|
}
|