Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAuthRequestInt
- func (m *MockAuthRequestInt) Done() bool
- func (m *MockAuthRequestInt) EXPECT() *MockAuthRequestIntMockRecorder
- func (m *MockAuthRequestInt) GetAccessConsumerServiceURL() string
- func (m *MockAuthRequestInt) GetApplicationID() string
- func (m *MockAuthRequestInt) GetAuthRequestID() string
- func (m *MockAuthRequestInt) GetBindingType() string
- func (m *MockAuthRequestInt) GetCode() string
- func (m *MockAuthRequestInt) GetDestination() string
- func (m *MockAuthRequestInt) GetID() string
- func (m *MockAuthRequestInt) GetIssuer() string
- func (m *MockAuthRequestInt) GetIssuerName() string
- func (m *MockAuthRequestInt) GetNameID() string
- func (m *MockAuthRequestInt) GetRelayState() string
- func (m *MockAuthRequestInt) GetUserID() string
- func (m *MockAuthRequestInt) GetUserName() string
- type MockAuthRequestIntMockRecorder
- func (mr *MockAuthRequestIntMockRecorder) Done() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetAccessConsumerServiceURL() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetApplicationID() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetAuthRequestID() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetBindingType() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetCode() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetDestination() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetID() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetIssuer() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetIssuerName() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetNameID() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetRelayState() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetUserID() *gomock.Call
- func (mr *MockAuthRequestIntMockRecorder) GetUserName() *gomock.Call
- type MockIDPStorage
- func (m *MockIDPStorage) AuthRequestByID(arg0 context.Context, arg1 string) (models.AuthRequestInt, error)
- func (m *MockIDPStorage) CreateAuthRequest(arg0 context.Context, arg1 *samlp.AuthnRequestType, ...) (models.AuthRequestInt, error)
- func (m *MockIDPStorage) EXPECT() *MockIDPStorageMockRecorder
- func (m *MockIDPStorage) GetEntityByID(arg0 context.Context, arg1 string) (*serviceprovider.ServiceProvider, error)
- func (m *MockIDPStorage) GetEntityIDByAppID(arg0 context.Context, arg1 string) (string, error)
- func (m *MockIDPStorage) GetResponseSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)
- func (m *MockIDPStorage) Health(arg0 context.Context) error
- func (m *MockIDPStorage) SetUserinfoWithLoginName(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error
- func (m *MockIDPStorage) SetUserinfoWithUserID(arg0 context.Context, arg1 string, arg2 models.AttributeSetter, arg3 string, ...) error
- type MockIDPStorageMockRecorder
- func (mr *MockIDPStorageMockRecorder) AuthRequestByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIDPStorageMockRecorder) CreateAuthRequest(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockIDPStorageMockRecorder) GetEntityByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIDPStorageMockRecorder) GetEntityIDByAppID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIDPStorageMockRecorder) GetResponseSigningKey(arg0 interface{}) *gomock.Call
- func (mr *MockIDPStorageMockRecorder) Health(arg0 interface{}) *gomock.Call
- func (mr *MockIDPStorageMockRecorder) SetUserinfoWithLoginName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIDPStorageMockRecorder) SetUserinfoWithUserID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockStorage
- func (m *MockStorage) AuthRequestByID(arg0 context.Context, arg1 string) (models.AuthRequestInt, error)
- func (m *MockStorage) CreateAuthRequest(arg0 context.Context, arg1 *samlp.AuthnRequestType, ...) (models.AuthRequestInt, error)
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) GetCA(arg0 context.Context) (*key.CertificateAndKey, error)
- func (m *MockStorage) GetEntityByID(arg0 context.Context, arg1 string) (*serviceprovider.ServiceProvider, error)
- func (m *MockStorage) GetEntityIDByAppID(arg0 context.Context, arg1 string) (string, error)
- func (m *MockStorage) GetMetadataSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)
- func (m *MockStorage) GetResponseSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)
- func (m *MockStorage) Health(arg0 context.Context) error
- func (m *MockStorage) SetUserinfoWithLoginName(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error
- func (m *MockStorage) SetUserinfoWithUserID(arg0 context.Context, arg1 string, arg2 models.AttributeSetter, arg3 string, ...) error
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) AuthRequestByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) CreateAuthRequest(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetCA(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetEntityByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetEntityIDByAppID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetMetadataSigningKey(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetResponseSigningKey(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) Health(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) SetUserinfoWithLoginName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) SetUserinfoWithUserID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthRequestInt ¶
type MockAuthRequestInt struct {
// contains filtered or unexported fields
}
MockAuthRequestInt is a mock of AuthRequestInt interface
func NewMockAuthRequestInt ¶
func NewMockAuthRequestInt(ctrl *gomock.Controller) *MockAuthRequestInt
NewMockAuthRequestInt creates a new mock instance
func (*MockAuthRequestInt) EXPECT ¶
func (m *MockAuthRequestInt) EXPECT() *MockAuthRequestIntMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthRequestInt) GetAccessConsumerServiceURL ¶
func (m *MockAuthRequestInt) GetAccessConsumerServiceURL() string
GetAccessConsumerServiceURL mocks base method
func (*MockAuthRequestInt) GetApplicationID ¶
func (m *MockAuthRequestInt) GetApplicationID() string
GetApplicationID mocks base method
func (*MockAuthRequestInt) GetAuthRequestID ¶
func (m *MockAuthRequestInt) GetAuthRequestID() string
GetAuthRequestID mocks base method
func (*MockAuthRequestInt) GetBindingType ¶
func (m *MockAuthRequestInt) GetBindingType() string
GetBindingType mocks base method
func (*MockAuthRequestInt) GetCode ¶
func (m *MockAuthRequestInt) GetCode() string
GetCode mocks base method
func (*MockAuthRequestInt) GetDestination ¶
func (m *MockAuthRequestInt) GetDestination() string
GetDestination mocks base method
func (*MockAuthRequestInt) GetID ¶
func (m *MockAuthRequestInt) GetID() string
GetID mocks base method
func (*MockAuthRequestInt) GetIssuer ¶
func (m *MockAuthRequestInt) GetIssuer() string
GetIssuer mocks base method
func (*MockAuthRequestInt) GetIssuerName ¶
func (m *MockAuthRequestInt) GetIssuerName() string
GetIssuerName mocks base method
func (*MockAuthRequestInt) GetNameID ¶
func (m *MockAuthRequestInt) GetNameID() string
GetNameID mocks base method
func (*MockAuthRequestInt) GetRelayState ¶
func (m *MockAuthRequestInt) GetRelayState() string
GetRelayState mocks base method
func (*MockAuthRequestInt) GetUserID ¶
func (m *MockAuthRequestInt) GetUserID() string
GetUserID mocks base method
func (*MockAuthRequestInt) GetUserName ¶
func (m *MockAuthRequestInt) GetUserName() string
GetUserName mocks base method
type MockAuthRequestIntMockRecorder ¶
type MockAuthRequestIntMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthRequestIntMockRecorder is the mock recorder for MockAuthRequestInt
func (*MockAuthRequestIntMockRecorder) Done ¶
func (mr *MockAuthRequestIntMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done
func (*MockAuthRequestIntMockRecorder) GetAccessConsumerServiceURL ¶
func (mr *MockAuthRequestIntMockRecorder) GetAccessConsumerServiceURL() *gomock.Call
GetAccessConsumerServiceURL indicates an expected call of GetAccessConsumerServiceURL
func (*MockAuthRequestIntMockRecorder) GetApplicationID ¶
func (mr *MockAuthRequestIntMockRecorder) GetApplicationID() *gomock.Call
GetApplicationID indicates an expected call of GetApplicationID
func (*MockAuthRequestIntMockRecorder) GetAuthRequestID ¶
func (mr *MockAuthRequestIntMockRecorder) GetAuthRequestID() *gomock.Call
GetAuthRequestID indicates an expected call of GetAuthRequestID
func (*MockAuthRequestIntMockRecorder) GetBindingType ¶
func (mr *MockAuthRequestIntMockRecorder) GetBindingType() *gomock.Call
GetBindingType indicates an expected call of GetBindingType
func (*MockAuthRequestIntMockRecorder) GetCode ¶
func (mr *MockAuthRequestIntMockRecorder) GetCode() *gomock.Call
GetCode indicates an expected call of GetCode
func (*MockAuthRequestIntMockRecorder) GetDestination ¶
func (mr *MockAuthRequestIntMockRecorder) GetDestination() *gomock.Call
GetDestination indicates an expected call of GetDestination
func (*MockAuthRequestIntMockRecorder) GetID ¶
func (mr *MockAuthRequestIntMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID
func (*MockAuthRequestIntMockRecorder) GetIssuer ¶
func (mr *MockAuthRequestIntMockRecorder) GetIssuer() *gomock.Call
GetIssuer indicates an expected call of GetIssuer
func (*MockAuthRequestIntMockRecorder) GetIssuerName ¶
func (mr *MockAuthRequestIntMockRecorder) GetIssuerName() *gomock.Call
GetIssuerName indicates an expected call of GetIssuerName
func (*MockAuthRequestIntMockRecorder) GetNameID ¶
func (mr *MockAuthRequestIntMockRecorder) GetNameID() *gomock.Call
GetNameID indicates an expected call of GetNameID
func (*MockAuthRequestIntMockRecorder) GetRelayState ¶
func (mr *MockAuthRequestIntMockRecorder) GetRelayState() *gomock.Call
GetRelayState indicates an expected call of GetRelayState
func (*MockAuthRequestIntMockRecorder) GetUserID ¶
func (mr *MockAuthRequestIntMockRecorder) GetUserID() *gomock.Call
GetUserID indicates an expected call of GetUserID
func (*MockAuthRequestIntMockRecorder) GetUserName ¶
func (mr *MockAuthRequestIntMockRecorder) GetUserName() *gomock.Call
GetUserName indicates an expected call of GetUserName
type MockIDPStorage ¶
type MockIDPStorage struct {
// contains filtered or unexported fields
}
MockIDPStorage is a mock of IDPStorage interface
func NewMockIDPStorage ¶
func NewMockIDPStorage(ctrl *gomock.Controller) *MockIDPStorage
NewMockIDPStorage creates a new mock instance
func (*MockIDPStorage) AuthRequestByID ¶
func (m *MockIDPStorage) AuthRequestByID(arg0 context.Context, arg1 string) (models.AuthRequestInt, error)
AuthRequestByID mocks base method
func (*MockIDPStorage) CreateAuthRequest ¶
func (m *MockIDPStorage) CreateAuthRequest(arg0 context.Context, arg1 *samlp.AuthnRequestType, arg2, arg3, arg4, arg5 string) (models.AuthRequestInt, error)
CreateAuthRequest mocks base method
func (*MockIDPStorage) EXPECT ¶
func (m *MockIDPStorage) EXPECT() *MockIDPStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIDPStorage) GetEntityByID ¶
func (m *MockIDPStorage) GetEntityByID(arg0 context.Context, arg1 string) (*serviceprovider.ServiceProvider, error)
GetEntityByID mocks base method
func (*MockIDPStorage) GetEntityIDByAppID ¶
GetEntityIDByAppID mocks base method
func (*MockIDPStorage) GetResponseSigningKey ¶
func (m *MockIDPStorage) GetResponseSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)
GetResponseSigningKey mocks base method
func (*MockIDPStorage) Health ¶
func (m *MockIDPStorage) Health(arg0 context.Context) error
Health mocks base method
func (*MockIDPStorage) SetUserinfoWithLoginName ¶
func (m *MockIDPStorage) SetUserinfoWithLoginName(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error
SetUserinfoWithLoginName mocks base method
func (*MockIDPStorage) SetUserinfoWithUserID ¶
func (m *MockIDPStorage) SetUserinfoWithUserID(arg0 context.Context, arg1 string, arg2 models.AttributeSetter, arg3 string, arg4 []int) error
SetUserinfoWithUserID mocks base method
type MockIDPStorageMockRecorder ¶
type MockIDPStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockIDPStorageMockRecorder is the mock recorder for MockIDPStorage
func (*MockIDPStorageMockRecorder) AuthRequestByID ¶
func (mr *MockIDPStorageMockRecorder) AuthRequestByID(arg0, arg1 interface{}) *gomock.Call
AuthRequestByID indicates an expected call of AuthRequestByID
func (*MockIDPStorageMockRecorder) CreateAuthRequest ¶
func (mr *MockIDPStorageMockRecorder) CreateAuthRequest(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateAuthRequest indicates an expected call of CreateAuthRequest
func (*MockIDPStorageMockRecorder) GetEntityByID ¶
func (mr *MockIDPStorageMockRecorder) GetEntityByID(arg0, arg1 interface{}) *gomock.Call
GetEntityByID indicates an expected call of GetEntityByID
func (*MockIDPStorageMockRecorder) GetEntityIDByAppID ¶
func (mr *MockIDPStorageMockRecorder) GetEntityIDByAppID(arg0, arg1 interface{}) *gomock.Call
GetEntityIDByAppID indicates an expected call of GetEntityIDByAppID
func (*MockIDPStorageMockRecorder) GetResponseSigningKey ¶
func (mr *MockIDPStorageMockRecorder) GetResponseSigningKey(arg0 interface{}) *gomock.Call
GetResponseSigningKey indicates an expected call of GetResponseSigningKey
func (*MockIDPStorageMockRecorder) Health ¶
func (mr *MockIDPStorageMockRecorder) Health(arg0 interface{}) *gomock.Call
Health indicates an expected call of Health
func (*MockIDPStorageMockRecorder) SetUserinfoWithLoginName ¶
func (mr *MockIDPStorageMockRecorder) SetUserinfoWithLoginName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetUserinfoWithLoginName indicates an expected call of SetUserinfoWithLoginName
func (*MockIDPStorageMockRecorder) SetUserinfoWithUserID ¶
func (mr *MockIDPStorageMockRecorder) SetUserinfoWithUserID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
SetUserinfoWithUserID indicates an expected call of SetUserinfoWithUserID
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance
func (*MockStorage) AuthRequestByID ¶
func (m *MockStorage) AuthRequestByID(arg0 context.Context, arg1 string) (models.AuthRequestInt, error)
AuthRequestByID mocks base method
func (*MockStorage) CreateAuthRequest ¶
func (m *MockStorage) CreateAuthRequest(arg0 context.Context, arg1 *samlp.AuthnRequestType, arg2, arg3, arg4, arg5 string) (models.AuthRequestInt, error)
CreateAuthRequest mocks base method
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage) GetCA ¶
func (m *MockStorage) GetCA(arg0 context.Context) (*key.CertificateAndKey, error)
GetCA mocks base method
func (*MockStorage) GetEntityByID ¶
func (m *MockStorage) GetEntityByID(arg0 context.Context, arg1 string) (*serviceprovider.ServiceProvider, error)
GetEntityByID mocks base method
func (*MockStorage) GetEntityIDByAppID ¶
GetEntityIDByAppID mocks base method
func (*MockStorage) GetMetadataSigningKey ¶
func (m *MockStorage) GetMetadataSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)
GetMetadataSigningKey mocks base method
func (*MockStorage) GetResponseSigningKey ¶
func (m *MockStorage) GetResponseSigningKey(arg0 context.Context) (*key.CertificateAndKey, error)
GetResponseSigningKey mocks base method
func (*MockStorage) Health ¶
func (m *MockStorage) Health(arg0 context.Context) error
Health mocks base method
func (*MockStorage) SetUserinfoWithLoginName ¶
func (m *MockStorage) SetUserinfoWithLoginName(arg0 context.Context, arg1 models.AttributeSetter, arg2 string, arg3 []int) error
SetUserinfoWithLoginName mocks base method
func (*MockStorage) SetUserinfoWithUserID ¶
func (m *MockStorage) SetUserinfoWithUserID(arg0 context.Context, arg1 string, arg2 models.AttributeSetter, arg3 string, arg4 []int) error
SetUserinfoWithUserID mocks base method
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) AuthRequestByID ¶
func (mr *MockStorageMockRecorder) AuthRequestByID(arg0, arg1 interface{}) *gomock.Call
AuthRequestByID indicates an expected call of AuthRequestByID
func (*MockStorageMockRecorder) CreateAuthRequest ¶
func (mr *MockStorageMockRecorder) CreateAuthRequest(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateAuthRequest indicates an expected call of CreateAuthRequest
func (*MockStorageMockRecorder) GetCA ¶
func (mr *MockStorageMockRecorder) GetCA(arg0 interface{}) *gomock.Call
GetCA indicates an expected call of GetCA
func (*MockStorageMockRecorder) GetEntityByID ¶
func (mr *MockStorageMockRecorder) GetEntityByID(arg0, arg1 interface{}) *gomock.Call
GetEntityByID indicates an expected call of GetEntityByID
func (*MockStorageMockRecorder) GetEntityIDByAppID ¶
func (mr *MockStorageMockRecorder) GetEntityIDByAppID(arg0, arg1 interface{}) *gomock.Call
GetEntityIDByAppID indicates an expected call of GetEntityIDByAppID
func (*MockStorageMockRecorder) GetMetadataSigningKey ¶
func (mr *MockStorageMockRecorder) GetMetadataSigningKey(arg0 interface{}) *gomock.Call
GetMetadataSigningKey indicates an expected call of GetMetadataSigningKey
func (*MockStorageMockRecorder) GetResponseSigningKey ¶
func (mr *MockStorageMockRecorder) GetResponseSigningKey(arg0 interface{}) *gomock.Call
GetResponseSigningKey indicates an expected call of GetResponseSigningKey
func (*MockStorageMockRecorder) Health ¶
func (mr *MockStorageMockRecorder) Health(arg0 interface{}) *gomock.Call
Health indicates an expected call of Health
func (*MockStorageMockRecorder) SetUserinfoWithLoginName ¶
func (mr *MockStorageMockRecorder) SetUserinfoWithLoginName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetUserinfoWithLoginName indicates an expected call of SetUserinfoWithLoginName
func (*MockStorageMockRecorder) SetUserinfoWithUserID ¶
func (mr *MockStorageMockRecorder) SetUserinfoWithUserID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
SetUserinfoWithUserID indicates an expected call of SetUserinfoWithUserID