Documentation ¶
Overview ¶
Package mock_jwt is a generated GoMock package.
Index ¶
- type MockExtractorBuilder
- func (m *MockExtractorBuilder) Build() jwt.TokenExtractor
- func (m *MockExtractorBuilder) EXPECT() *MockExtractorBuilderMockRecorder
- func (m *MockExtractorBuilder) SetBase64Decoder(dec *base64.Encoding) jwt.ExtractorBuilder
- func (m *MockExtractorBuilder) SetContextExtractor(extractor jwt.ContextExtractor) jwt.ExtractorBuilder
- func (m *MockExtractorBuilder) SetDecoder(dec jwt.JSONDecoder) jwt.ExtractorBuilder
- type MockExtractorBuilderMockRecorder
- func (mr *MockExtractorBuilderMockRecorder) Build() *gomock.Call
- func (mr *MockExtractorBuilderMockRecorder) SetBase64Decoder(dec interface{}) *gomock.Call
- func (mr *MockExtractorBuilderMockRecorder) SetContextExtractor(extractor interface{}) *gomock.Call
- func (mr *MockExtractorBuilderMockRecorder) SetDecoder(dec interface{}) *gomock.Call
- type MockToken
- type MockTokenExtractor
- type MockTokenExtractorMockRecorder
- type MockTokenMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExtractorBuilder ¶
type MockExtractorBuilder struct {
// contains filtered or unexported fields
}
MockExtractorBuilder is a mock of ExtractorBuilder interface.
func NewMockExtractorBuilder ¶
func NewMockExtractorBuilder(ctrl *gomock.Controller) *MockExtractorBuilder
NewMockExtractorBuilder creates a new mock instance.
func (*MockExtractorBuilder) Build ¶
func (m *MockExtractorBuilder) Build() jwt.TokenExtractor
Build mocks base method.
func (*MockExtractorBuilder) EXPECT ¶
func (m *MockExtractorBuilder) EXPECT() *MockExtractorBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtractorBuilder) SetBase64Decoder ¶
func (m *MockExtractorBuilder) SetBase64Decoder(dec *base64.Encoding) jwt.ExtractorBuilder
SetBase64Decoder mocks base method.
func (*MockExtractorBuilder) SetContextExtractor ¶
func (m *MockExtractorBuilder) SetContextExtractor(extractor jwt.ContextExtractor) jwt.ExtractorBuilder
SetContextExtractor mocks base method.
func (*MockExtractorBuilder) SetDecoder ¶
func (m *MockExtractorBuilder) SetDecoder(dec jwt.JSONDecoder) jwt.ExtractorBuilder
SetDecoder mocks base method.
type MockExtractorBuilderMockRecorder ¶
type MockExtractorBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockExtractorBuilderMockRecorder is the mock recorder for MockExtractorBuilder.
func (*MockExtractorBuilderMockRecorder) Build ¶
func (mr *MockExtractorBuilderMockRecorder) Build() *gomock.Call
Build indicates an expected call of Build.
func (*MockExtractorBuilderMockRecorder) SetBase64Decoder ¶
func (mr *MockExtractorBuilderMockRecorder) SetBase64Decoder(dec interface{}) *gomock.Call
SetBase64Decoder indicates an expected call of SetBase64Decoder.
func (*MockExtractorBuilderMockRecorder) SetContextExtractor ¶
func (mr *MockExtractorBuilderMockRecorder) SetContextExtractor(extractor interface{}) *gomock.Call
SetContextExtractor indicates an expected call of SetContextExtractor.
func (*MockExtractorBuilderMockRecorder) SetDecoder ¶
func (mr *MockExtractorBuilderMockRecorder) SetDecoder(dec interface{}) *gomock.Call
SetDecoder indicates an expected call of SetDecoder.
type MockToken ¶
type MockToken struct {
// contains filtered or unexported fields
}
MockToken is a mock of Token interface.
func NewMockToken ¶
func NewMockToken(ctrl *gomock.Controller) *MockToken
NewMockToken creates a new mock instance.
func (*MockToken) EXPECT ¶
func (m *MockToken) EXPECT() *MockTokenMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTokenExtractor ¶
type MockTokenExtractor struct {
// contains filtered or unexported fields
}
MockTokenExtractor is a mock of TokenExtractor interface.
func NewMockTokenExtractor ¶
func NewMockTokenExtractor(ctrl *gomock.Controller) *MockTokenExtractor
NewMockTokenExtractor creates a new mock instance.
func (*MockTokenExtractor) EXPECT ¶
func (m *MockTokenExtractor) EXPECT() *MockTokenExtractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenExtractor) FromContext ¶
FromContext mocks base method.
func (*MockTokenExtractor) FromString ¶
func (m *MockTokenExtractor) FromString(str string) (jwt.Token, error)
FromString mocks base method.
type MockTokenExtractorMockRecorder ¶
type MockTokenExtractorMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenExtractorMockRecorder is the mock recorder for MockTokenExtractor.
func (*MockTokenExtractorMockRecorder) FromContext ¶
func (mr *MockTokenExtractorMockRecorder) FromContext(ctx interface{}) *gomock.Call
FromContext indicates an expected call of FromContext.
func (*MockTokenExtractorMockRecorder) FromString ¶
func (mr *MockTokenExtractorMockRecorder) FromString(str interface{}) *gomock.Call
FromString indicates an expected call of FromString.
type MockTokenMockRecorder ¶
type MockTokenMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenMockRecorder is the mock recorder for MockToken.
func (*MockTokenMockRecorder) Decode ¶
func (mr *MockTokenMockRecorder) Decode(target interface{}) *gomock.Call
Decode indicates an expected call of Decode.
func (*MockTokenMockRecorder) Map ¶
func (mr *MockTokenMockRecorder) Map() *gomock.Call
Map indicates an expected call of Map.
func (*MockTokenMockRecorder) Payload ¶
func (mr *MockTokenMockRecorder) Payload() *gomock.Call
Payload indicates an expected call of Payload.
func (*MockTokenMockRecorder) Raw ¶
func (mr *MockTokenMockRecorder) Raw() *gomock.Call
Raw indicates an expected call of Raw.