authmock

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_security is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthentication

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

MockAuthentication is a mock of Authentication interface

func NewMockAuthentication

func NewMockAuthentication(ctrl *gomock.Controller) *MockAuthentication

NewMockAuthentication creates a new mock instance

func (*MockAuthentication) Details

func (m *MockAuthentication) Details() interface{}

Details mocks base method

func (*MockAuthentication) EXPECT

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

func (*MockAuthentication) Permissions

func (m *MockAuthentication) Permissions() security.Permissions

Permissions mocks base method

func (*MockAuthentication) Principal

func (m *MockAuthentication) Principal() interface{}

Principal mocks base method

func (*MockAuthentication) State

State mocks base method

type MockAuthenticationMockRecorder

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

MockAuthenticationMockRecorder is the mock recorder for MockAuthentication

func (*MockAuthenticationMockRecorder) Details

Details indicates an expected call of Details

func (*MockAuthenticationMockRecorder) Permissions

func (mr *MockAuthenticationMockRecorder) Permissions() *gomock.Call

Permissions indicates an expected call of Permissions

func (*MockAuthenticationMockRecorder) Principal

func (mr *MockAuthenticationMockRecorder) Principal() *gomock.Call

Principal indicates an expected call of Principal

func (*MockAuthenticationMockRecorder) State

State indicates an expected call of State

Jump to

Keyboard shortcuts

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