Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTokenPrincipal ¶
type MockTokenPrincipal struct {
// contains filtered or unexported fields
}
MockTokenPrincipal is a mock of TokenPrincipal interface.
func NewMockTokenPrincipal ¶
func NewMockTokenPrincipal(ctrl *gomock.Controller) *MockTokenPrincipal
NewMockTokenPrincipal creates a new mock instance.
func (*MockTokenPrincipal) EXPECT ¶
func (m *MockTokenPrincipal) EXPECT() *MockTokenPrincipalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenPrincipal) IsAuthenticated ¶
func (m *MockTokenPrincipal) IsAuthenticated() bool
IsAuthenticated mocks base method.
func (*MockTokenPrincipal) Name ¶
func (m *MockTokenPrincipal) Name() string
Name mocks base method.
func (*MockTokenPrincipal) Token ¶
func (m *MockTokenPrincipal) Token() string
Token mocks base method.
type MockTokenPrincipalMockRecorder ¶
type MockTokenPrincipalMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenPrincipalMockRecorder is the mock recorder for MockTokenPrincipal.
func (*MockTokenPrincipalMockRecorder) Id ¶
func (mr *MockTokenPrincipalMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockTokenPrincipalMockRecorder) IsAuthenticated ¶
func (mr *MockTokenPrincipalMockRecorder) IsAuthenticated() *gomock.Call
IsAuthenticated indicates an expected call of IsAuthenticated.
func (*MockTokenPrincipalMockRecorder) Name ¶
func (mr *MockTokenPrincipalMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockTokenPrincipalMockRecorder) Token ¶
func (mr *MockTokenPrincipalMockRecorder) Token() *gomock.Call
Token indicates an expected call of Token.
type MockValidatorInterface ¶
type MockValidatorInterface struct {
// contains filtered or unexported fields
}
MockValidatorInterface is a mock of ValidatorInterface interface.
func NewMockValidatorInterface ¶
func NewMockValidatorInterface(ctrl *gomock.Controller) *MockValidatorInterface
NewMockValidatorInterface creates a new mock instance.
func (*MockValidatorInterface) EXPECT ¶
func (m *MockValidatorInterface) EXPECT() *MockValidatorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidatorInterface) ValidateToken ¶
func (m *MockValidatorInterface) ValidateToken(arg0 context.Context, arg1 string) (token.TokenPrincipal, error)
ValidateToken mocks base method.
type MockValidatorInterfaceMockRecorder ¶
type MockValidatorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorInterfaceMockRecorder is the mock recorder for MockValidatorInterface.
func (*MockValidatorInterfaceMockRecorder) ValidateToken ¶
func (mr *MockValidatorInterfaceMockRecorder) ValidateToken(arg0, arg1 any) *gomock.Call
ValidateToken indicates an expected call of ValidateToken.