mocks

package
v0.0.0-...-736f05d Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminAPI

type AdminAPI struct {
	mock.Mock
}

AdminAPI is an autogenerated mock type for the AdminAPI type

func (*AdminAPI) AddToken

func (_m *AdminAPI) AddToken(token string, _a1 []string) (interface{}, error)

AddToken provides a mock function with given fields: token, _a1

func (*AdminAPI) AllowToken

func (_m *AdminAPI) AllowToken(token string, _a1 []string) (interface{}, error)

AllowToken provides a mock function with given fields: token, _a1

func (*AdminAPI) Close

func (_m *AdminAPI) Close() error

Close provides a mock function with given fields:

func (*AdminAPI) DisallowToken

func (_m *AdminAPI) DisallowToken(token string, _a1 []string) (interface{}, error)

DisallowToken provides a mock function with given fields: token, _a1

func (*AdminAPI) HandleInfo

func (_m *AdminAPI) HandleInfo(sessionID uint64, handleID uint64) (interface{}, error)

HandleInfo provides a mock function with given fields: sessionID, handleID

func (*AdminAPI) ListHandles

func (_m *AdminAPI) ListHandles(sessionID uint64) (interface{}, error)

ListHandles provides a mock function with given fields: sessionID

func (*AdminAPI) ListSessions

func (_m *AdminAPI) ListSessions() (interface{}, error)

ListSessions provides a mock function with given fields:

func (*AdminAPI) ListTokens

func (_m *AdminAPI) ListTokens() (interface{}, error)

ListTokens provides a mock function with given fields:

func (*AdminAPI) MessagePlugin

func (_m *AdminAPI) MessagePlugin(request plugins.PluginRequest) (interface{}, error)

MessagePlugin provides a mock function with given fields: request

func (*AdminAPI) RemoveToken

func (_m *AdminAPI) RemoveToken(token string) (interface{}, error)

RemoveToken provides a mock function with given fields: token

type OIDCTokenVerifier

type OIDCTokenVerifier struct {
	mock.Mock
}

OIDCTokenVerifier is an autogenerated mock type for the OIDCTokenVerifier type

func (*OIDCTokenVerifier) Verify

func (_m *OIDCTokenVerifier) Verify(_a0 context.Context, _a1 string) (*oidc.IDToken, error)

Verify provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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