Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockStreamClient
- type MockStreamClientMockRecorder
- type MockUserClient
- func (m *MockUserClient) AuthenticateWithDid(did, nonce string, signature []byte) (*model.AuthToken, error)
- func (m *MockUserClient) AuthenticateWithPassword(email, password string) (*model.AuthToken, error)
- func (m *MockUserClient) AuthnWithDidRegister(did, nonce string, enc []byte) error
- func (m *MockUserClient) Close()
- func (m *MockUserClient) CreateDidAuthenticationChallenge(did string) (*user_client.DidAuthenticationChallenge, error)
- func (m *MockUserClient) CreateDidRegistrationChallenge(auth_token string) (*user_client.DidRegistrationChallenge, user_client.StreamClient, error)
- func (m *MockUserClient) EXPECT() *MockUserClientMockRecorder
- type MockUserClientMockRecorder
- func (mr *MockUserClientMockRecorder) AuthenticateWithDid(did, nonce, signature interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) AuthenticateWithPassword(email, password interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) AuthnWithDidRegister(did, nonce, enc interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) Close() *gomock.Call
- func (mr *MockUserClientMockRecorder) CreateDidAuthenticationChallenge(did interface{}) *gomock.Call
- func (mr *MockUserClientMockRecorder) CreateDidRegistrationChallenge(auth_token interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStreamClient ¶
type MockStreamClient struct {
// contains filtered or unexported fields
}
MockStreamClient is a mock of StreamClient interface.
func NewMockStreamClient ¶
func NewMockStreamClient(ctrl *gomock.Controller) *MockStreamClient
NewMockStreamClient creates a new mock instance.
func (*MockStreamClient) EXPECT ¶
func (m *MockStreamClient) EXPECT() *MockStreamClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamClient) WaitForCompletion ¶
func (m *MockStreamClient) WaitForCompletion() error
WaitForCompletion mocks base method.
type MockStreamClientMockRecorder ¶
type MockStreamClientMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamClientMockRecorder is the mock recorder for MockStreamClient.
func (*MockStreamClientMockRecorder) Close ¶
func (mr *MockStreamClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStreamClientMockRecorder) WaitForCompletion ¶
func (mr *MockStreamClientMockRecorder) WaitForCompletion() *gomock.Call
WaitForCompletion indicates an expected call of WaitForCompletion.
type MockUserClient ¶
type MockUserClient struct {
// contains filtered or unexported fields
}
MockUserClient is a mock of UserClient interface.
func NewMockUserClient ¶
func NewMockUserClient(ctrl *gomock.Controller) *MockUserClient
NewMockUserClient creates a new mock instance.
func (*MockUserClient) AuthenticateWithDid ¶
func (m *MockUserClient) AuthenticateWithDid(did, nonce string, signature []byte) (*model.AuthToken, error)
AuthenticateWithDid mocks base method.
func (*MockUserClient) AuthenticateWithPassword ¶
func (m *MockUserClient) AuthenticateWithPassword(email, password string) (*model.AuthToken, error)
AuthenticateWithPassword mocks base method.
func (*MockUserClient) AuthnWithDidRegister ¶
func (m *MockUserClient) AuthnWithDidRegister(did, nonce string, enc []byte) error
AuthnWithDidRegister mocks base method.
func (*MockUserClient) CreateDidAuthenticationChallenge ¶
func (m *MockUserClient) CreateDidAuthenticationChallenge(did string) (*user_client.DidAuthenticationChallenge, error)
CreateDidAuthenticationChallenge mocks base method.
func (*MockUserClient) CreateDidRegistrationChallenge ¶
func (m *MockUserClient) CreateDidRegistrationChallenge(auth_token string) (*user_client.DidRegistrationChallenge, user_client.StreamClient, error)
CreateDidRegistrationChallenge mocks base method.
func (*MockUserClient) EXPECT ¶
func (m *MockUserClient) EXPECT() *MockUserClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUserClientMockRecorder ¶
type MockUserClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUserClientMockRecorder is the mock recorder for MockUserClient.
func (*MockUserClientMockRecorder) AuthenticateWithDid ¶
func (mr *MockUserClientMockRecorder) AuthenticateWithDid(did, nonce, signature interface{}) *gomock.Call
AuthenticateWithDid indicates an expected call of AuthenticateWithDid.
func (*MockUserClientMockRecorder) AuthenticateWithPassword ¶
func (mr *MockUserClientMockRecorder) AuthenticateWithPassword(email, password interface{}) *gomock.Call
AuthenticateWithPassword indicates an expected call of AuthenticateWithPassword.
func (*MockUserClientMockRecorder) AuthnWithDidRegister ¶
func (mr *MockUserClientMockRecorder) AuthnWithDidRegister(did, nonce, enc interface{}) *gomock.Call
AuthnWithDidRegister indicates an expected call of AuthnWithDidRegister.
func (*MockUserClientMockRecorder) Close ¶
func (mr *MockUserClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockUserClientMockRecorder) CreateDidAuthenticationChallenge ¶
func (mr *MockUserClientMockRecorder) CreateDidAuthenticationChallenge(did interface{}) *gomock.Call
CreateDidAuthenticationChallenge indicates an expected call of CreateDidAuthenticationChallenge.
func (*MockUserClientMockRecorder) CreateDidRegistrationChallenge ¶
func (mr *MockUserClientMockRecorder) CreateDidRegistrationChallenge(auth_token interface{}) *gomock.Call
CreateDidRegistrationChallenge indicates an expected call of CreateDidRegistrationChallenge.