Documentation ¶
Index ¶
- type Client
- func (_m *Client) GetToken(clientID string, clientSecret string, authURL string, ...) (string, apperrors.AppError)
- func (_m *Client) GetTokenMTLS(clientID string, authURL string, certificate []byte, privateKey []byte, ...) (string, apperrors.AppError)
- func (_m *Client) InvalidateTokenCache(clientID string, clientSecret string, authURL string)
- func (_m *Client) InvalidateTokenCacheMTLS(clientID string, authURL string, certificate []byte, privateKey []byte)
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 NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) GetToken ¶
func (_m *Client) GetToken(clientID string, clientSecret string, authURL string, headers *map[string][]string, queryParameters *map[string][]string, skipVerify bool) (string, apperrors.AppError)
GetToken provides a mock function with given fields: clientID, clientSecret, authURL, headers, queryParameters, skipVerify
func (*Client) GetTokenMTLS ¶
func (_m *Client) GetTokenMTLS(clientID string, authURL string, certificate []byte, privateKey []byte, headers *map[string][]string, queryParameters *map[string][]string, skipVerify bool) (string, apperrors.AppError)
GetTokenMTLS provides a mock function with given fields: clientID, authURL, certificate, privateKey, headers, queryParameters, skipVerify
func (*Client) InvalidateTokenCache ¶
InvalidateTokenCache provides a mock function with given fields: clientID, clientSecret, authURL
Click to show internal directories.
Click to hide internal directories.