Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthClient ¶
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 ¶
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 ¶
StrategyFactory is an autogenerated mock type for the StrategyFactory type
func (*StrategyFactory) Create ¶
func (_m *StrategyFactory) Create(credentials *authorization.Credentials) authorization.Strategy
Create provides a mock function with given fields: credentials
Click to show internal directories.
Click to hide internal directories.