Documentation
¶
Overview ¶
Package auth is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ProvideOTP ¶
func (*Client) SessionToken ¶
type ClientInterface ¶ added in v0.3.0
type MockClientInterface ¶ added in v0.6.0
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶ added in v0.6.0
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) EXPECT ¶ added in v0.6.0
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) Login ¶ added in v0.6.0
func (m *MockClientInterface) Login(phoneNumber, pin string) (api.LoginResponse, error)
Login mocks base method.
func (*MockClientInterface) ProvideOTP ¶ added in v0.6.0
func (m *MockClientInterface) ProvideOTP(processID, otp string) error
ProvideOTP mocks base method.
func (*MockClientInterface) SessionToken ¶ added in v0.6.0
func (m *MockClientInterface) SessionToken() api.Token
SessionToken mocks base method.
type MockClientInterfaceMockRecorder ¶ added in v0.6.0
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) Login ¶ added in v0.6.0
func (mr *MockClientInterfaceMockRecorder) Login(phoneNumber, pin any) *gomock.Call
Login indicates an expected call of Login.
func (*MockClientInterfaceMockRecorder) ProvideOTP ¶ added in v0.6.0
func (mr *MockClientInterfaceMockRecorder) ProvideOTP(processID, otp any) *gomock.Call
ProvideOTP indicates an expected call of ProvideOTP.
func (*MockClientInterfaceMockRecorder) SessionToken ¶ added in v0.6.0
func (mr *MockClientInterfaceMockRecorder) SessionToken() *gomock.Call
SessionToken indicates an expected call of SessionToken.
type PhoneNumber ¶
type PhoneNumber string
Click to show internal directories.
Click to hide internal directories.