Documentation
¶
Index ¶
- type Service
- func (_m *Service) EXPECT() *Service_Expecter
- func (_m *Service) GetUser(ctx context.Context, evmAddress string, msg string, sig string) (*user.User, error)
- func (_m *Service) PrepareExternalRegistration(ctx context.Context, req *user.RegisterRequest) (*user.PrepareTopologyResponse, error)
- func (_m *Service) RegisterCantonNativeUser(ctx context.Context, req *user.RegisterRequest) (*user.RegisterResponse, error)
- func (_m *Service) RegisterWeb3User(ctx context.Context, req *user.RegisterRequest) (*user.RegisterResponse, error)
- type Service_Expecter
- func (_e *Service_Expecter) GetUser(ctx interface{}, evmAddress interface{}, msg interface{}, sig interface{}) *Service_GetUser_Call
- func (_e *Service_Expecter) PrepareExternalRegistration(ctx interface{}, req interface{}) *Service_PrepareExternalRegistration_Call
- func (_e *Service_Expecter) RegisterCantonNativeUser(ctx interface{}, req interface{}) *Service_RegisterCantonNativeUser_Call
- func (_e *Service_Expecter) RegisterWeb3User(ctx interface{}, req interface{}) *Service_RegisterWeb3User_Call
- type Service_GetUser_Call
- func (_c *Service_GetUser_Call) Return(_a0 *user.User, _a1 error) *Service_GetUser_Call
- func (_c *Service_GetUser_Call) Run(run func(ctx context.Context, evmAddress string, msg string, sig string)) *Service_GetUser_Call
- func (_c *Service_GetUser_Call) RunAndReturn(run func(context.Context, string, string, string) (*user.User, error)) *Service_GetUser_Call
- type Service_PrepareExternalRegistration_Call
- func (_c *Service_PrepareExternalRegistration_Call) Return(_a0 *user.PrepareTopologyResponse, _a1 error) *Service_PrepareExternalRegistration_Call
- func (_c *Service_PrepareExternalRegistration_Call) Run(run func(ctx context.Context, req *user.RegisterRequest)) *Service_PrepareExternalRegistration_Call
- func (_c *Service_PrepareExternalRegistration_Call) RunAndReturn(...) *Service_PrepareExternalRegistration_Call
- type Service_RegisterCantonNativeUser_Call
- func (_c *Service_RegisterCantonNativeUser_Call) Return(_a0 *user.RegisterResponse, _a1 error) *Service_RegisterCantonNativeUser_Call
- func (_c *Service_RegisterCantonNativeUser_Call) Run(run func(ctx context.Context, req *user.RegisterRequest)) *Service_RegisterCantonNativeUser_Call
- func (_c *Service_RegisterCantonNativeUser_Call) RunAndReturn(...) *Service_RegisterCantonNativeUser_Call
- type Service_RegisterWeb3User_Call
- func (_c *Service_RegisterWeb3User_Call) Return(_a0 *user.RegisterResponse, _a1 error) *Service_RegisterWeb3User_Call
- func (_c *Service_RegisterWeb3User_Call) Run(run func(ctx context.Context, req *user.RegisterRequest)) *Service_RegisterWeb3User_Call
- func (_c *Service_RegisterWeb3User_Call) RunAndReturn(...) *Service_RegisterWeb3User_Call
- type Store
- func (_m *Store) CreateUser(ctx context.Context, _a1 *user.User) error
- func (_m *Store) DeleteUser(ctx context.Context, evmAddress string) error
- func (_m *Store) EXPECT() *Store_Expecter
- func (_m *Store) GetUserByCantonPartyID(ctx context.Context, partyID string) (*user.User, error)
- func (_m *Store) GetUserByEVMAddress(ctx context.Context, evmAddress string) (*user.User, error)
- func (_m *Store) IsWhitelisted(ctx context.Context, evmAddress string) (bool, error)
- func (_m *Store) UserExists(ctx context.Context, evmAddress string) (bool, error)
- type Store_CreateUser_Call
- type Store_DeleteUser_Call
- type Store_Expecter
- func (_e *Store_Expecter) CreateUser(ctx interface{}, _a1 interface{}) *Store_CreateUser_Call
- func (_e *Store_Expecter) DeleteUser(ctx interface{}, evmAddress interface{}) *Store_DeleteUser_Call
- func (_e *Store_Expecter) GetUserByCantonPartyID(ctx interface{}, partyID interface{}) *Store_GetUserByCantonPartyID_Call
- func (_e *Store_Expecter) GetUserByEVMAddress(ctx interface{}, evmAddress interface{}) *Store_GetUserByEVMAddress_Call
- func (_e *Store_Expecter) IsWhitelisted(ctx interface{}, evmAddress interface{}) *Store_IsWhitelisted_Call
- func (_e *Store_Expecter) UserExists(ctx interface{}, evmAddress interface{}) *Store_UserExists_Call
- type Store_GetUserByCantonPartyID_Call
- func (_c *Store_GetUserByCantonPartyID_Call) Return(_a0 *user.User, _a1 error) *Store_GetUserByCantonPartyID_Call
- func (_c *Store_GetUserByCantonPartyID_Call) Run(run func(ctx context.Context, partyID string)) *Store_GetUserByCantonPartyID_Call
- func (_c *Store_GetUserByCantonPartyID_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *Store_GetUserByCantonPartyID_Call
- type Store_GetUserByEVMAddress_Call
- func (_c *Store_GetUserByEVMAddress_Call) Return(_a0 *user.User, _a1 error) *Store_GetUserByEVMAddress_Call
- func (_c *Store_GetUserByEVMAddress_Call) Run(run func(ctx context.Context, evmAddress string)) *Store_GetUserByEVMAddress_Call
- func (_c *Store_GetUserByEVMAddress_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *Store_GetUserByEVMAddress_Call
- type Store_IsWhitelisted_Call
- func (_c *Store_IsWhitelisted_Call) Return(_a0 bool, _a1 error) *Store_IsWhitelisted_Call
- func (_c *Store_IsWhitelisted_Call) Run(run func(ctx context.Context, evmAddress string)) *Store_IsWhitelisted_Call
- func (_c *Store_IsWhitelisted_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *Store_IsWhitelisted_Call
- type Store_UserExists_Call
- func (_c *Store_UserExists_Call) Return(_a0 bool, _a1 error) *Store_UserExists_Call
- func (_c *Store_UserExists_Call) Run(run func(ctx context.Context, evmAddress string)) *Store_UserExists_Call
- func (_c *Store_UserExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *Store_UserExists_Call
- type TopologyCacheProvider
- type TopologyCacheProvider_Expecter
- type TopologyCacheProvider_GetAndDelete_Call
- func (_c *TopologyCacheProvider_GetAndDelete_Call) Return(_a0 *user.PendingTopology, _a1 error) *TopologyCacheProvider_GetAndDelete_Call
- func (_c *TopologyCacheProvider_GetAndDelete_Call) Run(run func(token string)) *TopologyCacheProvider_GetAndDelete_Call
- func (_c *TopologyCacheProvider_GetAndDelete_Call) RunAndReturn(run func(string) (*user.PendingTopology, error)) *TopologyCacheProvider_GetAndDelete_Call
- type TopologyCacheProvider_Put_Call
- func (_c *TopologyCacheProvider_Put_Call) Return() *TopologyCacheProvider_Put_Call
- func (_c *TopologyCacheProvider_Put_Call) Run(run func(token string, topo *identity.ExternalPartyTopology, spkiKey []byte)) *TopologyCacheProvider_Put_Call
- func (_c *TopologyCacheProvider_Put_Call) RunAndReturn(run func(string, *identity.ExternalPartyTopology, []byte)) *TopologyCacheProvider_Put_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
NewService creates a new instance of Service. 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 (*Service) EXPECT ¶
func (_m *Service) EXPECT() *Service_Expecter
func (*Service) GetUser ¶
func (_m *Service) GetUser(ctx context.Context, evmAddress string, msg string, sig string) (*user.User, error)
GetUser provides a mock function with given fields: ctx, evmAddress, msg, sig
func (*Service) PrepareExternalRegistration ¶
func (_m *Service) PrepareExternalRegistration(ctx context.Context, req *user.RegisterRequest) (*user.PrepareTopologyResponse, error)
PrepareExternalRegistration provides a mock function with given fields: ctx, req
func (*Service) RegisterCantonNativeUser ¶
func (_m *Service) RegisterCantonNativeUser(ctx context.Context, req *user.RegisterRequest) (*user.RegisterResponse, error)
RegisterCantonNativeUser provides a mock function with given fields: ctx, req
func (*Service) RegisterWeb3User ¶
func (_m *Service) RegisterWeb3User(ctx context.Context, req *user.RegisterRequest) (*user.RegisterResponse, error)
RegisterWeb3User provides a mock function with given fields: ctx, req
type Service_Expecter ¶
type Service_Expecter struct {
// contains filtered or unexported fields
}
func (*Service_Expecter) GetUser ¶
func (_e *Service_Expecter) GetUser(ctx interface{}, evmAddress interface{}, msg interface{}, sig interface{}) *Service_GetUser_Call
GetUser is a helper method to define mock.On call
- ctx context.Context
- evmAddress string
- msg string
- sig string
func (*Service_Expecter) PrepareExternalRegistration ¶
func (_e *Service_Expecter) PrepareExternalRegistration(ctx interface{}, req interface{}) *Service_PrepareExternalRegistration_Call
PrepareExternalRegistration is a helper method to define mock.On call
- ctx context.Context
- req *user.RegisterRequest
func (*Service_Expecter) RegisterCantonNativeUser ¶
func (_e *Service_Expecter) RegisterCantonNativeUser(ctx interface{}, req interface{}) *Service_RegisterCantonNativeUser_Call
RegisterCantonNativeUser is a helper method to define mock.On call
- ctx context.Context
- req *user.RegisterRequest
func (*Service_Expecter) RegisterWeb3User ¶
func (_e *Service_Expecter) RegisterWeb3User(ctx interface{}, req interface{}) *Service_RegisterWeb3User_Call
RegisterWeb3User is a helper method to define mock.On call
- ctx context.Context
- req *user.RegisterRequest
type Service_GetUser_Call ¶
Service_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*Service_GetUser_Call) Return ¶
func (_c *Service_GetUser_Call) Return(_a0 *user.User, _a1 error) *Service_GetUser_Call
func (*Service_GetUser_Call) Run ¶
func (_c *Service_GetUser_Call) Run(run func(ctx context.Context, evmAddress string, msg string, sig string)) *Service_GetUser_Call
func (*Service_GetUser_Call) RunAndReturn ¶
func (_c *Service_GetUser_Call) RunAndReturn(run func(context.Context, string, string, string) (*user.User, error)) *Service_GetUser_Call
type Service_PrepareExternalRegistration_Call ¶
Service_PrepareExternalRegistration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareExternalRegistration'
func (*Service_PrepareExternalRegistration_Call) Return ¶
func (_c *Service_PrepareExternalRegistration_Call) Return(_a0 *user.PrepareTopologyResponse, _a1 error) *Service_PrepareExternalRegistration_Call
func (*Service_PrepareExternalRegistration_Call) Run ¶
func (_c *Service_PrepareExternalRegistration_Call) Run(run func(ctx context.Context, req *user.RegisterRequest)) *Service_PrepareExternalRegistration_Call
func (*Service_PrepareExternalRegistration_Call) RunAndReturn ¶
func (_c *Service_PrepareExternalRegistration_Call) RunAndReturn(run func(context.Context, *user.RegisterRequest) (*user.PrepareTopologyResponse, error)) *Service_PrepareExternalRegistration_Call
type Service_RegisterCantonNativeUser_Call ¶
Service_RegisterCantonNativeUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterCantonNativeUser'
func (*Service_RegisterCantonNativeUser_Call) Return ¶
func (_c *Service_RegisterCantonNativeUser_Call) Return(_a0 *user.RegisterResponse, _a1 error) *Service_RegisterCantonNativeUser_Call
func (*Service_RegisterCantonNativeUser_Call) Run ¶
func (_c *Service_RegisterCantonNativeUser_Call) Run(run func(ctx context.Context, req *user.RegisterRequest)) *Service_RegisterCantonNativeUser_Call
func (*Service_RegisterCantonNativeUser_Call) RunAndReturn ¶
func (_c *Service_RegisterCantonNativeUser_Call) RunAndReturn(run func(context.Context, *user.RegisterRequest) (*user.RegisterResponse, error)) *Service_RegisterCantonNativeUser_Call
type Service_RegisterWeb3User_Call ¶
Service_RegisterWeb3User_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterWeb3User'
func (*Service_RegisterWeb3User_Call) Return ¶
func (_c *Service_RegisterWeb3User_Call) Return(_a0 *user.RegisterResponse, _a1 error) *Service_RegisterWeb3User_Call
func (*Service_RegisterWeb3User_Call) Run ¶
func (_c *Service_RegisterWeb3User_Call) Run(run func(ctx context.Context, req *user.RegisterRequest)) *Service_RegisterWeb3User_Call
func (*Service_RegisterWeb3User_Call) RunAndReturn ¶
func (_c *Service_RegisterWeb3User_Call) RunAndReturn(run func(context.Context, *user.RegisterRequest) (*user.RegisterResponse, error)) *Service_RegisterWeb3User_Call
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. 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 (*Store) CreateUser ¶
CreateUser provides a mock function with given fields: ctx, _a1
func (*Store) DeleteUser ¶
DeleteUser provides a mock function with given fields: ctx, evmAddress
func (*Store) EXPECT ¶
func (_m *Store) EXPECT() *Store_Expecter
func (*Store) GetUserByCantonPartyID ¶
GetUserByCantonPartyID provides a mock function with given fields: ctx, partyID
func (*Store) GetUserByEVMAddress ¶
GetUserByEVMAddress provides a mock function with given fields: ctx, evmAddress
func (*Store) IsWhitelisted ¶
IsWhitelisted provides a mock function with given fields: ctx, evmAddress
type Store_CreateUser_Call ¶
Store_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'
func (*Store_CreateUser_Call) Return ¶
func (_c *Store_CreateUser_Call) Return(_a0 error) *Store_CreateUser_Call
func (*Store_CreateUser_Call) Run ¶
func (_c *Store_CreateUser_Call) Run(run func(ctx context.Context, _a1 *user.User)) *Store_CreateUser_Call
func (*Store_CreateUser_Call) RunAndReturn ¶
func (_c *Store_CreateUser_Call) RunAndReturn(run func(context.Context, *user.User) error) *Store_CreateUser_Call
type Store_DeleteUser_Call ¶
Store_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'
func (*Store_DeleteUser_Call) Return ¶
func (_c *Store_DeleteUser_Call) Return(_a0 error) *Store_DeleteUser_Call
func (*Store_DeleteUser_Call) Run ¶
func (_c *Store_DeleteUser_Call) Run(run func(ctx context.Context, evmAddress string)) *Store_DeleteUser_Call
func (*Store_DeleteUser_Call) RunAndReturn ¶
func (_c *Store_DeleteUser_Call) RunAndReturn(run func(context.Context, string) error) *Store_DeleteUser_Call
type Store_Expecter ¶
type Store_Expecter struct {
// contains filtered or unexported fields
}
func (*Store_Expecter) CreateUser ¶
func (_e *Store_Expecter) CreateUser(ctx interface{}, _a1 interface{}) *Store_CreateUser_Call
CreateUser is a helper method to define mock.On call
- ctx context.Context
- _a1 *user.User
func (*Store_Expecter) DeleteUser ¶
func (_e *Store_Expecter) DeleteUser(ctx interface{}, evmAddress interface{}) *Store_DeleteUser_Call
DeleteUser is a helper method to define mock.On call
- ctx context.Context
- evmAddress string
func (*Store_Expecter) GetUserByCantonPartyID ¶
func (_e *Store_Expecter) GetUserByCantonPartyID(ctx interface{}, partyID interface{}) *Store_GetUserByCantonPartyID_Call
GetUserByCantonPartyID is a helper method to define mock.On call
- ctx context.Context
- partyID string
func (*Store_Expecter) GetUserByEVMAddress ¶
func (_e *Store_Expecter) GetUserByEVMAddress(ctx interface{}, evmAddress interface{}) *Store_GetUserByEVMAddress_Call
GetUserByEVMAddress is a helper method to define mock.On call
- ctx context.Context
- evmAddress string
func (*Store_Expecter) IsWhitelisted ¶
func (_e *Store_Expecter) IsWhitelisted(ctx interface{}, evmAddress interface{}) *Store_IsWhitelisted_Call
IsWhitelisted is a helper method to define mock.On call
- ctx context.Context
- evmAddress string
func (*Store_Expecter) UserExists ¶
func (_e *Store_Expecter) UserExists(ctx interface{}, evmAddress interface{}) *Store_UserExists_Call
UserExists is a helper method to define mock.On call
- ctx context.Context
- evmAddress string
type Store_GetUserByCantonPartyID_Call ¶
Store_GetUserByCantonPartyID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByCantonPartyID'
func (*Store_GetUserByCantonPartyID_Call) Return ¶
func (_c *Store_GetUserByCantonPartyID_Call) Return(_a0 *user.User, _a1 error) *Store_GetUserByCantonPartyID_Call
func (*Store_GetUserByCantonPartyID_Call) Run ¶
func (_c *Store_GetUserByCantonPartyID_Call) Run(run func(ctx context.Context, partyID string)) *Store_GetUserByCantonPartyID_Call
func (*Store_GetUserByCantonPartyID_Call) RunAndReturn ¶
func (_c *Store_GetUserByCantonPartyID_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *Store_GetUserByCantonPartyID_Call
type Store_GetUserByEVMAddress_Call ¶
Store_GetUserByEVMAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByEVMAddress'
func (*Store_GetUserByEVMAddress_Call) Return ¶
func (_c *Store_GetUserByEVMAddress_Call) Return(_a0 *user.User, _a1 error) *Store_GetUserByEVMAddress_Call
func (*Store_GetUserByEVMAddress_Call) Run ¶
func (_c *Store_GetUserByEVMAddress_Call) Run(run func(ctx context.Context, evmAddress string)) *Store_GetUserByEVMAddress_Call
func (*Store_GetUserByEVMAddress_Call) RunAndReturn ¶
func (_c *Store_GetUserByEVMAddress_Call) RunAndReturn(run func(context.Context, string) (*user.User, error)) *Store_GetUserByEVMAddress_Call
type Store_IsWhitelisted_Call ¶
Store_IsWhitelisted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsWhitelisted'
func (*Store_IsWhitelisted_Call) Return ¶
func (_c *Store_IsWhitelisted_Call) Return(_a0 bool, _a1 error) *Store_IsWhitelisted_Call
func (*Store_IsWhitelisted_Call) Run ¶
func (_c *Store_IsWhitelisted_Call) Run(run func(ctx context.Context, evmAddress string)) *Store_IsWhitelisted_Call
func (*Store_IsWhitelisted_Call) RunAndReturn ¶
func (_c *Store_IsWhitelisted_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *Store_IsWhitelisted_Call
type Store_UserExists_Call ¶
Store_UserExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserExists'
func (*Store_UserExists_Call) Return ¶
func (_c *Store_UserExists_Call) Return(_a0 bool, _a1 error) *Store_UserExists_Call
func (*Store_UserExists_Call) Run ¶
func (_c *Store_UserExists_Call) Run(run func(ctx context.Context, evmAddress string)) *Store_UserExists_Call
func (*Store_UserExists_Call) RunAndReturn ¶
func (_c *Store_UserExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *Store_UserExists_Call
type TopologyCacheProvider ¶
TopologyCacheProvider is an autogenerated mock type for the TopologyCacheProvider type
func NewTopologyCacheProvider ¶
func NewTopologyCacheProvider(t interface {
mock.TestingT
Cleanup(func())
}) *TopologyCacheProvider
NewTopologyCacheProvider creates a new instance of TopologyCacheProvider. 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 (*TopologyCacheProvider) EXPECT ¶
func (_m *TopologyCacheProvider) EXPECT() *TopologyCacheProvider_Expecter
func (*TopologyCacheProvider) GetAndDelete ¶
func (_m *TopologyCacheProvider) GetAndDelete(token string) (*user.PendingTopology, error)
GetAndDelete provides a mock function with given fields: token
func (*TopologyCacheProvider) Put ¶
func (_m *TopologyCacheProvider) Put(token string, topo *identity.ExternalPartyTopology, spkiKey []byte)
Put provides a mock function with given fields: token, topo, spkiKey
type TopologyCacheProvider_Expecter ¶
type TopologyCacheProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*TopologyCacheProvider_Expecter) GetAndDelete ¶
func (_e *TopologyCacheProvider_Expecter) GetAndDelete(token interface{}) *TopologyCacheProvider_GetAndDelete_Call
GetAndDelete is a helper method to define mock.On call
- token string
func (*TopologyCacheProvider_Expecter) Put ¶
func (_e *TopologyCacheProvider_Expecter) Put(token interface{}, topo interface{}, spkiKey interface{}) *TopologyCacheProvider_Put_Call
Put is a helper method to define mock.On call
- token string
- topo *identity.ExternalPartyTopology
- spkiKey []byte
type TopologyCacheProvider_GetAndDelete_Call ¶
TopologyCacheProvider_GetAndDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAndDelete'
func (*TopologyCacheProvider_GetAndDelete_Call) Return ¶
func (_c *TopologyCacheProvider_GetAndDelete_Call) Return(_a0 *user.PendingTopology, _a1 error) *TopologyCacheProvider_GetAndDelete_Call
func (*TopologyCacheProvider_GetAndDelete_Call) Run ¶
func (_c *TopologyCacheProvider_GetAndDelete_Call) Run(run func(token string)) *TopologyCacheProvider_GetAndDelete_Call
func (*TopologyCacheProvider_GetAndDelete_Call) RunAndReturn ¶
func (_c *TopologyCacheProvider_GetAndDelete_Call) RunAndReturn(run func(string) (*user.PendingTopology, error)) *TopologyCacheProvider_GetAndDelete_Call
type TopologyCacheProvider_Put_Call ¶
TopologyCacheProvider_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*TopologyCacheProvider_Put_Call) Return ¶
func (_c *TopologyCacheProvider_Put_Call) Return() *TopologyCacheProvider_Put_Call
func (*TopologyCacheProvider_Put_Call) Run ¶
func (_c *TopologyCacheProvider_Put_Call) Run(run func(token string, topo *identity.ExternalPartyTopology, spkiKey []byte)) *TopologyCacheProvider_Put_Call
func (*TopologyCacheProvider_Put_Call) RunAndReturn ¶
func (_c *TopologyCacheProvider_Put_Call) RunAndReturn(run func(string, *identity.ExternalPartyTopology, []byte)) *TopologyCacheProvider_Put_Call