Documentation
¶
Index ¶
- type IAuth0ScopeValidator
- type IAuth0ScopeValidator_Expecter
- type IAuth0ScopeValidator_Handler_Call
- func (_c *IAuth0ScopeValidator_Handler_Call) Return(middlewareFunc mux.MiddlewareFunc) *IAuth0ScopeValidator_Handler_Call
- func (_c *IAuth0ScopeValidator_Handler_Call) Run(run func()) *IAuth0ScopeValidator_Handler_Call
- func (_c *IAuth0ScopeValidator_Handler_Call) RunAndReturn(run func() mux.MiddlewareFunc) *IAuth0ScopeValidator_Handler_Call
- type IAuth0TokenValidator
- type IAuth0TokenValidator_Expecter
- type IAuth0TokenValidator_Handler_Call
- func (_c *IAuth0TokenValidator_Handler_Call) Return(middlewareFunc mux.MiddlewareFunc) *IAuth0TokenValidator_Handler_Call
- func (_c *IAuth0TokenValidator_Handler_Call) Run(run func()) *IAuth0TokenValidator_Handler_Call
- func (_c *IAuth0TokenValidator_Handler_Call) RunAndReturn(run func() mux.MiddlewareFunc) *IAuth0TokenValidator_Handler_Call
- type IAuth0ValidatorFactory
- func (_m *IAuth0ValidatorFactory) EXPECT() *IAuth0ValidatorFactory_Expecter
- func (_mock *IAuth0ValidatorFactory) NewAuth0ScopeValidator(config subrouter.AuthorizationConfig) auth0.IAuth0ScopeValidator
- func (_mock *IAuth0ValidatorFactory) NewAuth0TokenValidator(config auth00.Config) (auth0.IAuth0TokenValidator, error)
- type IAuth0ValidatorFactory_Expecter
- type IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
- func (_c *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) Return(iAuth0ScopeValidator auth0.IAuth0ScopeValidator) *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
- func (_c *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) Run(run func(config subrouter.AuthorizationConfig)) *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
- func (_c *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) RunAndReturn(run func(config subrouter.AuthorizationConfig) auth0.IAuth0ScopeValidator) *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
- type IAuth0ValidatorFactory_NewAuth0TokenValidator_Call
- func (_c *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) Return(iAuth0TokenValidator auth0.IAuth0TokenValidator, err error) *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call
- func (_c *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) Run(run func(config auth00.Config)) *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call
- func (_c *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) RunAndReturn(run func(config auth00.Config) (auth0.IAuth0TokenValidator, error)) *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAuth0ScopeValidator ¶
IAuth0ScopeValidator is an autogenerated mock type for the IAuth0ScopeValidator type
func NewIAuth0ScopeValidator ¶
func NewIAuth0ScopeValidator(t interface {
mock.TestingT
Cleanup(func())
}) *IAuth0ScopeValidator
NewIAuth0ScopeValidator creates a new instance of IAuth0ScopeValidator. 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 (*IAuth0ScopeValidator) EXPECT ¶ added in v1.0.2
func (_m *IAuth0ScopeValidator) EXPECT() *IAuth0ScopeValidator_Expecter
func (*IAuth0ScopeValidator) Handler ¶
func (_mock *IAuth0ScopeValidator) Handler() mux.MiddlewareFunc
Handler provides a mock function for the type IAuth0ScopeValidator
type IAuth0ScopeValidator_Expecter ¶ added in v1.0.2
type IAuth0ScopeValidator_Expecter struct {
// contains filtered or unexported fields
}
func (*IAuth0ScopeValidator_Expecter) Handler ¶ added in v1.0.2
func (_e *IAuth0ScopeValidator_Expecter) Handler() *IAuth0ScopeValidator_Handler_Call
Handler is a helper method to define mock.On call
type IAuth0ScopeValidator_Handler_Call ¶ added in v1.0.2
IAuth0ScopeValidator_Handler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handler'
func (*IAuth0ScopeValidator_Handler_Call) Return ¶ added in v1.0.2
func (_c *IAuth0ScopeValidator_Handler_Call) Return(middlewareFunc mux.MiddlewareFunc) *IAuth0ScopeValidator_Handler_Call
func (*IAuth0ScopeValidator_Handler_Call) Run ¶ added in v1.0.2
func (_c *IAuth0ScopeValidator_Handler_Call) Run(run func()) *IAuth0ScopeValidator_Handler_Call
func (*IAuth0ScopeValidator_Handler_Call) RunAndReturn ¶ added in v1.0.2
func (_c *IAuth0ScopeValidator_Handler_Call) RunAndReturn(run func() mux.MiddlewareFunc) *IAuth0ScopeValidator_Handler_Call
type IAuth0TokenValidator ¶
IAuth0TokenValidator is an autogenerated mock type for the IAuth0TokenValidator type
func NewIAuth0TokenValidator ¶
func NewIAuth0TokenValidator(t interface {
mock.TestingT
Cleanup(func())
}) *IAuth0TokenValidator
NewIAuth0TokenValidator creates a new instance of IAuth0TokenValidator. 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 (*IAuth0TokenValidator) EXPECT ¶ added in v1.0.2
func (_m *IAuth0TokenValidator) EXPECT() *IAuth0TokenValidator_Expecter
func (*IAuth0TokenValidator) Handler ¶
func (_mock *IAuth0TokenValidator) Handler() mux.MiddlewareFunc
Handler provides a mock function for the type IAuth0TokenValidator
type IAuth0TokenValidator_Expecter ¶ added in v1.0.2
type IAuth0TokenValidator_Expecter struct {
// contains filtered or unexported fields
}
func (*IAuth0TokenValidator_Expecter) Handler ¶ added in v1.0.2
func (_e *IAuth0TokenValidator_Expecter) Handler() *IAuth0TokenValidator_Handler_Call
Handler is a helper method to define mock.On call
type IAuth0TokenValidator_Handler_Call ¶ added in v1.0.2
IAuth0TokenValidator_Handler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handler'
func (*IAuth0TokenValidator_Handler_Call) Return ¶ added in v1.0.2
func (_c *IAuth0TokenValidator_Handler_Call) Return(middlewareFunc mux.MiddlewareFunc) *IAuth0TokenValidator_Handler_Call
func (*IAuth0TokenValidator_Handler_Call) Run ¶ added in v1.0.2
func (_c *IAuth0TokenValidator_Handler_Call) Run(run func()) *IAuth0TokenValidator_Handler_Call
func (*IAuth0TokenValidator_Handler_Call) RunAndReturn ¶ added in v1.0.2
func (_c *IAuth0TokenValidator_Handler_Call) RunAndReturn(run func() mux.MiddlewareFunc) *IAuth0TokenValidator_Handler_Call
type IAuth0ValidatorFactory ¶
IAuth0ValidatorFactory is an autogenerated mock type for the IAuth0ValidatorFactory type
func NewIAuth0ValidatorFactory ¶
func NewIAuth0ValidatorFactory(t interface {
mock.TestingT
Cleanup(func())
}) *IAuth0ValidatorFactory
NewIAuth0ValidatorFactory creates a new instance of IAuth0ValidatorFactory. 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 (*IAuth0ValidatorFactory) EXPECT ¶ added in v1.0.2
func (_m *IAuth0ValidatorFactory) EXPECT() *IAuth0ValidatorFactory_Expecter
func (*IAuth0ValidatorFactory) NewAuth0ScopeValidator ¶
func (_mock *IAuth0ValidatorFactory) NewAuth0ScopeValidator(config subrouter.AuthorizationConfig) auth0.IAuth0ScopeValidator
NewAuth0ScopeValidator provides a mock function for the type IAuth0ValidatorFactory
func (*IAuth0ValidatorFactory) NewAuth0TokenValidator ¶
func (_mock *IAuth0ValidatorFactory) NewAuth0TokenValidator(config auth00.Config) (auth0.IAuth0TokenValidator, error)
NewAuth0TokenValidator provides a mock function for the type IAuth0ValidatorFactory
type IAuth0ValidatorFactory_Expecter ¶ added in v1.0.2
type IAuth0ValidatorFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*IAuth0ValidatorFactory_Expecter) NewAuth0ScopeValidator ¶ added in v1.0.2
func (_e *IAuth0ValidatorFactory_Expecter) NewAuth0ScopeValidator(config interface{}) *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
NewAuth0ScopeValidator is a helper method to define mock.On call
- config subrouter.AuthorizationConfig
func (*IAuth0ValidatorFactory_Expecter) NewAuth0TokenValidator ¶ added in v1.0.2
func (_e *IAuth0ValidatorFactory_Expecter) NewAuth0TokenValidator(config interface{}) *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call
NewAuth0TokenValidator is a helper method to define mock.On call
- config auth00.Config
type IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call ¶ added in v1.0.2
IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewAuth0ScopeValidator'
func (*IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) Return ¶ added in v1.0.2
func (_c *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) Return(iAuth0ScopeValidator auth0.IAuth0ScopeValidator) *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
func (*IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) Run ¶ added in v1.0.2
func (_c *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) Run(run func(config subrouter.AuthorizationConfig)) *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
func (*IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) RunAndReturn ¶ added in v1.0.2
func (_c *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) RunAndReturn(run func(config subrouter.AuthorizationConfig) auth0.IAuth0ScopeValidator) *IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call
type IAuth0ValidatorFactory_NewAuth0TokenValidator_Call ¶ added in v1.0.2
IAuth0ValidatorFactory_NewAuth0TokenValidator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewAuth0TokenValidator'
func (*IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) Return ¶ added in v1.0.2
func (_c *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) Return(iAuth0TokenValidator auth0.IAuth0TokenValidator, err error) *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call
func (*IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) Run ¶ added in v1.0.2
func (_c *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) Run(run func(config auth00.Config)) *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call
func (*IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) RunAndReturn ¶ added in v1.0.2
func (_c *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) RunAndReturn(run func(config auth00.Config) (auth0.IAuth0TokenValidator, error)) *IAuth0ValidatorFactory_NewAuth0TokenValidator_Call