Documentation ¶
Index ¶
- type Client
- type Client_Expecter
- type Client_GetJWKSURI_Call
- type Client_GetTokenEndpoint_Call
- func (_c *Client_GetTokenEndpoint_Call) Return(_a0 *string, _a1 error) *Client_GetTokenEndpoint_Call
- func (_c *Client_GetTokenEndpoint_Call) Run(run func(ctx context.Context)) *Client_GetTokenEndpoint_Call
- func (_c *Client_GetTokenEndpoint_Call) RunAndReturn(run func(context.Context) (*string, error)) *Client_GetTokenEndpoint_Call
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) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetJWKSURI ¶
GetJWKSURI provides a mock function with given fields: ctx
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) GetJWKSURI ¶
func (_e *Client_Expecter) GetJWKSURI(ctx interface{}) *Client_GetJWKSURI_Call
GetJWKSURI is a helper method to define mock.On call
- ctx context.Context
func (*Client_Expecter) GetTokenEndpoint ¶
func (_e *Client_Expecter) GetTokenEndpoint(ctx interface{}) *Client_GetTokenEndpoint_Call
GetTokenEndpoint is a helper method to define mock.On call
- ctx context.Context
type Client_GetJWKSURI_Call ¶
Client_GetJWKSURI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetJWKSURI'
func (*Client_GetJWKSURI_Call) Return ¶
func (_c *Client_GetJWKSURI_Call) Return(_a0 *string, _a1 error) *Client_GetJWKSURI_Call
func (*Client_GetJWKSURI_Call) Run ¶
func (_c *Client_GetJWKSURI_Call) Run(run func(ctx context.Context)) *Client_GetJWKSURI_Call
func (*Client_GetJWKSURI_Call) RunAndReturn ¶
func (_c *Client_GetJWKSURI_Call) RunAndReturn(run func(context.Context) (*string, error)) *Client_GetJWKSURI_Call
type Client_GetTokenEndpoint_Call ¶
Client_GetTokenEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenEndpoint'
func (*Client_GetTokenEndpoint_Call) Return ¶
func (_c *Client_GetTokenEndpoint_Call) Return(_a0 *string, _a1 error) *Client_GetTokenEndpoint_Call
func (*Client_GetTokenEndpoint_Call) Run ¶
func (_c *Client_GetTokenEndpoint_Call) Run(run func(ctx context.Context)) *Client_GetTokenEndpoint_Call
func (*Client_GetTokenEndpoint_Call) RunAndReturn ¶
func (_c *Client_GetTokenEndpoint_Call) RunAndReturn(run func(context.Context) (*string, error)) *Client_GetTokenEndpoint_Call