mock_jwt

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_jwt is a generated GoMock package.

Index

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

Build mocks base method.

func (*MockExtractorBuilder) EXPECT

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

SetDecoder mocks base method.

type MockExtractorBuilderMockRecorder

type MockExtractorBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

MockExtractorBuilderMockRecorder is the mock recorder for MockExtractorBuilder.

func (*MockExtractorBuilderMockRecorder) Build

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) Decode

func (m *MockToken) Decode(target interface{}) error

Decode mocks base method.

func (*MockToken) EXPECT

func (m *MockToken) EXPECT() *MockTokenMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockToken) Map

func (m *MockToken) Map() (map[string]interface{}, error)

Map mocks base method.

func (*MockToken) Payload

func (m *MockToken) Payload() []byte

Payload mocks base method.

func (*MockToken) Raw

func (m *MockToken) Raw() string

Raw mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTokenExtractor) FromContext

func (m *MockTokenExtractor) FromContext(ctx context.Context) (jwt.Token, error)

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.

Jump to

Keyboard shortcuts

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