Documentation ¶
Overview ¶
Package jwt_mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJWTManager ¶
type MockJWTManager struct {
// contains filtered or unexported fields
}
MockJWTManager is a mock of JWTManager interface.
func NewMockJWTManager ¶
func NewMockJWTManager(ctrl *gomock.Controller) *MockJWTManager
NewMockJWTManager creates a new mock instance.
func (*MockJWTManager) CreateToken ¶
CreateToken mocks base method.
func (*MockJWTManager) EXPECT ¶
func (m *MockJWTManager) EXPECT() *MockJWTManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJWTManager) ParseAndValidateToken ¶
func (m *MockJWTManager) ParseAndValidateToken(ctx context.Context, tokenString string, claims jwt.Claims) error
ParseAndValidateToken mocks base method.
type MockJWTManagerMockRecorder ¶
type MockJWTManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockJWTManagerMockRecorder is the mock recorder for MockJWTManager.
func (*MockJWTManagerMockRecorder) CreateToken ¶
func (mr *MockJWTManagerMockRecorder) CreateToken(ctx, claims interface{}) *gomock.Call
CreateToken indicates an expected call of CreateToken.
func (*MockJWTManagerMockRecorder) ParseAndValidateToken ¶
func (mr *MockJWTManagerMockRecorder) ParseAndValidateToken(ctx, tokenString, claims interface{}) *gomock.Call
ParseAndValidateToken indicates an expected call of ParseAndValidateToken.
Click to show internal directories.
Click to hide internal directories.