jwt_mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 4 Imported by: 0

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

func (m *MockJWTManager) CreateToken(ctx context.Context, claims jwt.Claims) (string, error)

CreateToken mocks base method.

func (*MockJWTManager) EXPECT

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.

Jump to

Keyboard shortcuts

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