Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can also take full control over which certificates to trust by passing your own TrustManager implementation to the GiniBankAPIBuilder#setTrustManagerGiniCaptureDefaultNetworkService.Builder.setTrustManager() method:

Code Block
languagekotlin
val defaultNetworkService = GiniCaptureDefaultNetworkService.builder(context)
        .setClientCredentials("gini-client-id", "GiniClientSecret", "example.com")
        .setTrustManager(yourTrustManager)
        .build();

...