mocks

package
v3.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func NewInterface added in v3.4.8

func NewInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *Interface

NewInterface creates a new instance of Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Interface) Authorize

func (_m *Interface) Authorize(authorization string) (*types.Claims, error)

Authorize provides a mock function with given fields: authorization

func (*Interface) HandleCallback

func (_m *Interface) HandleCallback(writer http.ResponseWriter, request *http.Request)

HandleCallback provides a mock function with given fields: writer, request

func (*Interface) HandleRedirect

func (_m *Interface) HandleRedirect(writer http.ResponseWriter, request *http.Request)

HandleRedirect provides a mock function with given fields: writer, request

func (*Interface) IsRBACEnabled

func (_m *Interface) IsRBACEnabled() bool

IsRBACEnabled provides a mock function with given fields:

Jump to

Keyboard shortcuts

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