mocktokenaccessor

package
v10.267.22+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocktokenaccessor is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTokenAccessor

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

MockTokenAccessor is a mock of TokenAccessor interface nolint

func NewMockTokenAccessor

func NewMockTokenAccessor(ctrl *gomock.Controller) *MockTokenAccessor

NewMockTokenAccessor creates a new mock instance nolint

func (*MockTokenAccessor) CreateAckPacketToken

func (m *MockTokenAccessor) CreateAckPacketToken(context *pucontext.PUContext, auth *connection.AuthInfo, secrets secrets.Secrets) ([]byte, error)

CreateAckPacketToken mocks base method nolint

func (*MockTokenAccessor) CreateSynAckPacketToken

func (m *MockTokenAccessor) CreateSynAckPacketToken(context *pucontext.PUContext, auth *connection.AuthInfo, claimsHeader *claimsheader.ClaimsHeader, secrets secrets.Secrets) ([]byte, error)

CreateSynAckPacketToken mocks base method nolint

func (*MockTokenAccessor) CreateSynPacketToken

func (m *MockTokenAccessor) CreateSynPacketToken(context *pucontext.PUContext, auth *connection.AuthInfo, claimsHeader *claimsheader.ClaimsHeader, secrets secrets.Secrets) ([]byte, error)

CreateSynPacketToken mocks base method nolint

func (*MockTokenAccessor) EXPECT

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

func (*MockTokenAccessor) GetTokenServerID

func (m *MockTokenAccessor) GetTokenServerID() string

GetTokenServerID mocks base method nolint

func (*MockTokenAccessor) GetTokenValidity

func (m *MockTokenAccessor) GetTokenValidity() time.Duration

GetTokenValidity mocks base method nolint

func (*MockTokenAccessor) ParseAckToken

ParseAckToken mocks base method nolint

func (*MockTokenAccessor) ParsePacketToken

ParsePacketToken mocks base method nolint

type MockTokenAccessorMockRecorder

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

MockTokenAccessorMockRecorder is the mock recorder for MockTokenAccessor nolint

func (*MockTokenAccessorMockRecorder) CreateAckPacketToken

func (mr *MockTokenAccessorMockRecorder) CreateAckPacketToken(context, auth, secrets interface{}) *gomock.Call

CreateAckPacketToken indicates an expected call of CreateAckPacketToken nolint

func (*MockTokenAccessorMockRecorder) CreateSynAckPacketToken

func (mr *MockTokenAccessorMockRecorder) CreateSynAckPacketToken(context, auth, claimsHeader, secrets interface{}) *gomock.Call

CreateSynAckPacketToken indicates an expected call of CreateSynAckPacketToken nolint

func (*MockTokenAccessorMockRecorder) CreateSynPacketToken

func (mr *MockTokenAccessorMockRecorder) CreateSynPacketToken(context, auth, claimsHeader, secrets interface{}) *gomock.Call

CreateSynPacketToken indicates an expected call of CreateSynPacketToken nolint

func (*MockTokenAccessorMockRecorder) GetTokenServerID

func (mr *MockTokenAccessorMockRecorder) GetTokenServerID() *gomock.Call

GetTokenServerID indicates an expected call of GetTokenServerID nolint

func (*MockTokenAccessorMockRecorder) GetTokenValidity

func (mr *MockTokenAccessorMockRecorder) GetTokenValidity() *gomock.Call

GetTokenValidity indicates an expected call of GetTokenValidity nolint

func (*MockTokenAccessorMockRecorder) ParseAckToken

func (mr *MockTokenAccessorMockRecorder) ParseAckToken(auth, data, secrets interface{}) *gomock.Call

ParseAckToken indicates an expected call of ParseAckToken nolint

func (*MockTokenAccessorMockRecorder) ParsePacketToken

func (mr *MockTokenAccessorMockRecorder) ParsePacketToken(auth, data, secrets interface{}) *gomock.Call

ParsePacketToken indicates an expected call of ParsePacketToken nolint

Jump to

Keyboard shortcuts

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