Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWKsHandler ¶
type JWKsHandler interface {
KeySet() jose.JSONWebKeySet
}
type MockJWKsHandler ¶
MockJWKsHandler is an autogenerated mock type for the JWKsHandler type
func NewMockJWKsHandler ¶
func NewMockJWKsHandler(t interface { mock.TestingT Cleanup(func()) }) *MockJWKsHandler
NewMockJWKsHandler creates a new instance of MockJWKsHandler. 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 (*MockJWKsHandler) EXPECT ¶
func (_m *MockJWKsHandler) EXPECT() *MockJWKsHandler_Expecter
func (*MockJWKsHandler) KeySet ¶
func (_m *MockJWKsHandler) KeySet() jose.JSONWebKeySet
KeySet provides a mock function with given fields:
type MockJWKsHandler_Expecter ¶
type MockJWKsHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockJWKsHandler_Expecter) KeySet ¶
func (_e *MockJWKsHandler_Expecter) KeySet() *MockJWKsHandler_KeySet_Call
KeySet is a helper method to define mock.On call
type MockJWKsHandler_KeySet_Call ¶
MockJWKsHandler_KeySet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KeySet'
func (*MockJWKsHandler_KeySet_Call) Return ¶
func (_c *MockJWKsHandler_KeySet_Call) Return(_a0 jose.JSONWebKeySet) *MockJWKsHandler_KeySet_Call
func (*MockJWKsHandler_KeySet_Call) Run ¶
func (_c *MockJWKsHandler_KeySet_Call) Run(run func()) *MockJWKsHandler_KeySet_Call
func (*MockJWKsHandler_KeySet_Call) RunAndReturn ¶
func (_c *MockJWKsHandler_KeySet_Call) RunAndReturn(run func() jose.JSONWebKeySet) *MockJWKsHandler_KeySet_Call
type MockTokenHandler ¶
MockTokenHandler is an autogenerated mock type for the TokenHandler type
func NewMockTokenHandler ¶
func NewMockTokenHandler(t interface { mock.TestingT Cleanup(func()) }) *MockTokenHandler
NewMockTokenHandler creates a new instance of MockTokenHandler. 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 (*MockTokenHandler) EXPECT ¶
func (_m *MockTokenHandler) EXPECT() *MockTokenHandler_Expecter
func (*MockTokenHandler) Token ¶
func (_m *MockTokenHandler) Token() (Token, error)
Token provides a mock function with given fields:
type MockTokenHandler_Expecter ¶
type MockTokenHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTokenHandler_Expecter) Token ¶
func (_e *MockTokenHandler_Expecter) Token() *MockTokenHandler_Token_Call
Token is a helper method to define mock.On call
type MockTokenHandler_Token_Call ¶
MockTokenHandler_Token_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Token'
func (*MockTokenHandler_Token_Call) Return ¶
func (_c *MockTokenHandler_Token_Call) Return(_a0 Token, _a1 error) *MockTokenHandler_Token_Call
func (*MockTokenHandler_Token_Call) Run ¶
func (_c *MockTokenHandler_Token_Call) Run(run func()) *MockTokenHandler_Token_Call
func (*MockTokenHandler_Token_Call) RunAndReturn ¶
func (_c *MockTokenHandler_Token_Call) RunAndReturn(run func() (Token, error)) *MockTokenHandler_Token_Call