mock_jwt

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: MIT Imports: 4 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 MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) CheckJTI

func (m *MockService) CheckJTI(ctx context.Context, jti string) (bool, error)

CheckJTI mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) InvalidateJTI

func (m *MockService) InvalidateJTI(ctx context.Context, jti string, exp time.Time) error

InvalidateJTI mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) CheckJTI

func (mr *MockServiceMockRecorder) CheckJTI(ctx, jti any) *gomock.Call

CheckJTI indicates an expected call of CheckJTI.

func (*MockServiceMockRecorder) InvalidateJTI

func (mr *MockServiceMockRecorder) InvalidateJTI(ctx, jti, exp any) *gomock.Call

InvalidateJTI indicates an expected call of InvalidateJTI.

Jump to

Keyboard shortcuts

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