Back to godoc.org

Package mocktokenaccessor

v10.286.1+incompatible
Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: Apache-2.0 | Module: go.aporeto.io/trireme-lib

Overview

Package mocktokenaccessor is a generated GoMock package.

Index

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

func (m *MockTokenAccessor) EXPECT() *MockTokenAccessorMockRecorder

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

func (m *MockTokenAccessor) ParseAckToken(auth *connection.AuthInfo, data []byte, secrets secrets.Secrets) (*tokens.ConnectionClaims, error)

ParseAckToken mocks base method nolint

func (*MockTokenAccessor) ParsePacketToken

func (m *MockTokenAccessor) ParsePacketToken(auth *connection.AuthInfo, data []byte, secrets secrets.Secrets) (*tokens.ConnectionClaims, error)

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier