Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthService ¶
OAuthService is an autogenerated mock type for the OAuthService type
func NewOAuthService ¶
func NewOAuthService(t interface { mock.TestingT Cleanup(func()) }) *OAuthService
NewOAuthService creates a new instance of OAuthService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*OAuthService) GetClientDetails ¶
func (_m *OAuthService) GetClientDetails(objType model.SystemAuthReferenceObjectType) (*oauth20.ClientDetails, error)
GetClientDetails provides a mock function with given fields: objType
func (*OAuthService) ListClients ¶
func (_m *OAuthService) ListClients() ([]client.OAuth2Client, error)
ListClients provides a mock function with given fields:
func (*OAuthService) UpdateClient ¶
func (_m *OAuthService) UpdateClient(ctx context.Context, clientID string, objectType model.SystemAuthReferenceObjectType) error
UpdateClient provides a mock function with given fields: ctx, clientID, objectType
type SystemAuthRepo ¶
SystemAuthRepo is an autogenerated mock type for the SystemAuthRepo type
func NewSystemAuthRepo ¶
func NewSystemAuthRepo(t interface { mock.TestingT Cleanup(func()) }) *SystemAuthRepo
NewSystemAuthRepo creates a new instance of SystemAuthRepo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SystemAuthRepo) ListGlobalWithConditions ¶
func (_m *SystemAuthRepo) ListGlobalWithConditions(ctx context.Context, conditions repo.Conditions) ([]model.SystemAuth, error)
ListGlobalWithConditions provides a mock function with given fields: ctx, conditions