Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAuthClient
- func (m *MockAuthClient) AuthenticateWithDid(did, nonce string, signature []byte) (*model.AuthToken, error)
- func (m *MockAuthClient) AuthenticateWithPassword(email, password string) (*model.AuthToken, error)
- func (m *MockAuthClient) AuthnWithDidRegister(did, nonce string, enc []byte) error
- func (m *MockAuthClient) Close()
- func (m *MockAuthClient) CreateDidAuthenticationChallenge(did string) (*auth_client.DidAuthenticationChallenge, error)
- func (m *MockAuthClient) CreateDidRegistrationChallenge(auth_token string) (*auth_client.DidRegistrationChallenge, auth_client.StreamClient, error)
- func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
- type MockAuthClientMockRecorder
- func (mr *MockAuthClientMockRecorder) AuthenticateWithDid(did, nonce, signature interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) AuthenticateWithPassword(email, password interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) AuthnWithDidRegister(did, nonce, enc interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) Close() *gomock.Call
- func (mr *MockAuthClientMockRecorder) CreateDidAuthenticationChallenge(did interface{}) *gomock.Call
- func (mr *MockAuthClientMockRecorder) CreateDidRegistrationChallenge(auth_token interface{}) *gomock.Call
- type MockStreamClient
- type MockStreamClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthClient ¶
type MockAuthClient struct {
// contains filtered or unexported fields
}
MockAuthClient is a mock of AuthClient interface.
func NewMockAuthClient ¶
func NewMockAuthClient(ctrl *gomock.Controller) *MockAuthClient
NewMockAuthClient creates a new mock instance.
func (*MockAuthClient) AuthenticateWithDid ¶ added in v0.1.13
func (m *MockAuthClient) AuthenticateWithDid(did, nonce string, signature []byte) (*model.AuthToken, error)
AuthenticateWithDid mocks base method.
func (*MockAuthClient) AuthenticateWithPassword ¶
func (m *MockAuthClient) AuthenticateWithPassword(email, password string) (*model.AuthToken, error)
AuthenticateWithPassword mocks base method.
func (*MockAuthClient) AuthnWithDidRegister ¶
func (m *MockAuthClient) AuthnWithDidRegister(did, nonce string, enc []byte) error
AuthnWithDidRegister mocks base method.
func (*MockAuthClient) CreateDidAuthenticationChallenge ¶
func (m *MockAuthClient) CreateDidAuthenticationChallenge(did string) (*auth_client.DidAuthenticationChallenge, error)
CreateDidAuthenticationChallenge mocks base method.
func (*MockAuthClient) CreateDidRegistrationChallenge ¶
func (m *MockAuthClient) CreateDidRegistrationChallenge(auth_token string) (*auth_client.DidRegistrationChallenge, auth_client.StreamClient, error)
CreateDidRegistrationChallenge mocks base method.
func (*MockAuthClient) EXPECT ¶
func (m *MockAuthClient) EXPECT() *MockAuthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthClientMockRecorder ¶
type MockAuthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthClientMockRecorder is the mock recorder for MockAuthClient.
func (*MockAuthClientMockRecorder) AuthenticateWithDid ¶ added in v0.1.13
func (mr *MockAuthClientMockRecorder) AuthenticateWithDid(did, nonce, signature interface{}) *gomock.Call
AuthenticateWithDid indicates an expected call of AuthenticateWithDid.
func (*MockAuthClientMockRecorder) AuthenticateWithPassword ¶
func (mr *MockAuthClientMockRecorder) AuthenticateWithPassword(email, password interface{}) *gomock.Call
AuthenticateWithPassword indicates an expected call of AuthenticateWithPassword.
func (*MockAuthClientMockRecorder) AuthnWithDidRegister ¶
func (mr *MockAuthClientMockRecorder) AuthnWithDidRegister(did, nonce, enc interface{}) *gomock.Call
AuthnWithDidRegister indicates an expected call of AuthnWithDidRegister.
func (*MockAuthClientMockRecorder) Close ¶
func (mr *MockAuthClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockAuthClientMockRecorder) CreateDidAuthenticationChallenge ¶
func (mr *MockAuthClientMockRecorder) CreateDidAuthenticationChallenge(did interface{}) *gomock.Call
CreateDidAuthenticationChallenge indicates an expected call of CreateDidAuthenticationChallenge.
func (*MockAuthClientMockRecorder) CreateDidRegistrationChallenge ¶
func (mr *MockAuthClientMockRecorder) CreateDidRegistrationChallenge(auth_token interface{}) *gomock.Call
CreateDidRegistrationChallenge indicates an expected call of CreateDidRegistrationChallenge.
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.