auth0

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAuth0ScopeValidator

type IAuth0ScopeValidator struct {
	mock.Mock
}

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 (*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

Handler is a helper method to define mock.On call

type IAuth0ScopeValidator_Handler_Call added in v1.0.2

type IAuth0ScopeValidator_Handler_Call struct {
	*mock.Call
}

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 (*IAuth0ScopeValidator_Handler_Call) Run added in v1.0.2

func (*IAuth0ScopeValidator_Handler_Call) RunAndReturn added in v1.0.2

type IAuth0TokenValidator

type IAuth0TokenValidator struct {
	mock.Mock
}

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 (*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

Handler is a helper method to define mock.On call

type IAuth0TokenValidator_Handler_Call added in v1.0.2

type IAuth0TokenValidator_Handler_Call struct {
	*mock.Call
}

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 (*IAuth0TokenValidator_Handler_Call) Run added in v1.0.2

func (*IAuth0TokenValidator_Handler_Call) RunAndReturn added in v1.0.2

type IAuth0ValidatorFactory

type IAuth0ValidatorFactory struct {
	mock.Mock
}

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 (*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

type IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call struct {
	*mock.Call
}

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 (*IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) Run added in v1.0.2

func (*IAuth0ValidatorFactory_NewAuth0ScopeValidator_Call) RunAndReturn added in v1.0.2

type IAuth0ValidatorFactory_NewAuth0TokenValidator_Call added in v1.0.2

type IAuth0ValidatorFactory_NewAuth0TokenValidator_Call struct {
	*mock.Call
}

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 (*IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) Run added in v1.0.2

func (*IAuth0ValidatorFactory_NewAuth0TokenValidator_Call) RunAndReturn added in v1.0.2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL