Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // SDK ID. This can be found in the Yoti Hub after you have created and activated an application. SdkID string // Private Key associated for your application, can be downloaded from the Yoti Hub. Key *rsa.PrivateKey // Mockable HTTP Client Interface HTTPClient requests.HttpClient // contains filtered or unexported fields }
Client is responsible for setting up test data in the sandbox instance.
func (*Client) ConfigureApplicationResponse ¶
func (client *Client) ConfigureApplicationResponse(responseConfig *request.ResponseConfig) error
ConfigureApplicationResponse configures the response for the application
func (*Client) ConfigureSessionResponse ¶
func (client *Client) ConfigureSessionResponse(sessionID string, responseConfig *request.ResponseConfig) error
ConfigureSessionResponse configures the response for the session
func (*Client) OverrideAPIURL ¶
OverrideAPIURL overrides the default API URL for this Yoti Client
Click to show internal directories.
Click to hide internal directories.