mockjwt

package
v0.0.0-...-9cb16bd Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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