mocks

package
v0.0.0-...-7d69bf5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuthClient

type OAuthClient struct {
	mock.Mock
}

OAuthClient is an autogenerated mock type for the OAuthClient type

func (*OAuthClient) GetToken

func (_m *OAuthClient) GetToken(clientID string, clientSecret string, authURL string, headers *map[string][]string, queryParameters *map[string][]string) (string, apperrors.AppError)

GetToken provides a mock function with given fields: clientID, clientSecret, authURL, headers, queryParameters

func (*OAuthClient) InvalidateTokenCache

func (_m *OAuthClient) InvalidateTokenCache(clientID string)

InvalidateTokenCache provides a mock function with given fields: clientID

type Strategy

type Strategy struct {
	mock.Mock
}

Strategy is an autogenerated mock type for the Strategy type

func (*Strategy) AddAuthorization

func (_m *Strategy) AddAuthorization(r *http.Request, setter authorization.TransportSetter) apperrors.AppError

AddAuthorization provides a mock function with given fields: r, setter

func (*Strategy) Invalidate

func (_m *Strategy) Invalidate()

Invalidate provides a mock function with given fields:

type StrategyFactory

type StrategyFactory struct {
	mock.Mock
}

StrategyFactory is an autogenerated mock type for the StrategyFactory type

func (*StrategyFactory) Create

Create provides a mock function with given fields: credentials

Jump to

Keyboard shortcuts

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