Table of Contents

Interface ISDKInitHook

Namespace
OpenPolicyAgent.Opa.OpenApi.Hooks
Assembly
OpenPolicyAgent.Opa.dll

SDKInit hook is called when the SDK is initializing. The hook can modify and return a new baseUrl and HTTP client to be used by the SDK.

public interface ISDKInitHook

Methods

SDKInit(string, ISpeakeasyHttpClient)

(string, ISpeakeasyHttpClient) SDKInit(string baseUrl, ISpeakeasyHttpClient client)

Parameters

baseUrl string
client ISpeakeasyHttpClient

Returns

(string, ISpeakeasyHttpClient)