mocks

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) GetTokenEndpointResponse

func (_m *Client) GetTokenEndpointResponse(csrfEndpointURL string, strategy authorization.Strategy) (*csrf.Response, apperrors.AppError)

GetTokenEndpointResponse provides a mock function with given fields: csrfEndpointURL, strategy

func (*Client) InvalidateTokenCache

func (_m *Client) InvalidateTokenCache(csrfEndpointURL string)

InvalidateTokenCache provides a mock function with given fields: csrfEndpointURL

type TokenStrategy

type TokenStrategy struct {
	mock.Mock
}

TokenStrategy is an autogenerated mock type for the TokenStrategy type

func (*TokenStrategy) AddCSRFToken

func (_m *TokenStrategy) AddCSRFToken(apiRequest *http.Request) apperrors.AppError

AddCSRFToken provides a mock function with given fields: apiRequest

func (*TokenStrategy) Invalidate

func (_m *TokenStrategy) Invalidate()

Invalidate provides a mock function with given fields:

type TokenStrategyFactory

type TokenStrategyFactory struct {
	mock.Mock
}

TokenStrategyFactory is an autogenerated mock type for the TokenStrategyFactory type

func (*TokenStrategyFactory) Create

func (_m *TokenStrategyFactory) Create(authorizationStrategy authorization.Strategy, csrfTokenEndpointURL string) csrf.TokenStrategy

Create provides a mock function with given fields: authorizationStrategy, csrfTokenEndpointURL

Jump to

Keyboard shortcuts

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