Documentation ¶
Overview ¶
Package mockjwt is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJwtContext ¶
type MockJwtContext struct {
// contains filtered or unexported fields
}
MockJwtContext is a mock of JwtContext interface.
func NewMockJwtContext ¶
func NewMockJwtContext(ctrl *gomock.Controller) *MockJwtContext
NewMockJwtContext creates a new mock instance.
func (*MockJwtContext) CreatePair ¶
func (m *MockJwtContext) CreatePair(claims map[string]interface{}) (*jwt.JWTResponse, *errorhandler.Response)
CreatePair mocks base method.
func (*MockJwtContext) EXPECT ¶
func (m *MockJwtContext) EXPECT() *MockJwtContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJwtContext) ParseJWT ¶
func (m *MockJwtContext) ParseJWT(auth string) (map[string]interface{}, *errorhandler.Response)
ParseJWT mocks base method.
type MockJwtContextMockRecorder ¶
type MockJwtContextMockRecorder struct {
// contains filtered or unexported fields
}
MockJwtContextMockRecorder is the mock recorder for MockJwtContext.
func (*MockJwtContextMockRecorder) CreatePair ¶
func (mr *MockJwtContextMockRecorder) CreatePair(claims interface{}) *gomock.Call
CreatePair indicates an expected call of CreatePair.
func (*MockJwtContextMockRecorder) ParseJWT ¶
func (mr *MockJwtContextMockRecorder) ParseJWT(auth interface{}) *gomock.Call
ParseJWT indicates an expected call of ParseJWT.
Click to show internal directories.
Click to hide internal directories.