mocks

package
v3.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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 mockConstructorTestingTNewInterface) *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.

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