Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
InvalidateTokenCache provides a mock function with given fields: csrfEndpointURL
type TokenStrategy ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.