Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
colourYellowGreen
titlefor reviewapproved

Approver

Nadzeya Karaban

Using this method, you don’t need to care about handling the analysis process with Gini Bank API Library, you only need to provide your API credentials and a delegate to get the analysis results.

...

If you want to use a transparent proxy with your own authentication, you can specify your own domain and add AlternativeTokenSource protocol implementation:

Code Block
languageswift
    let viewController = GiniCapture.viewController(withClient: client,
                                                    configuration: configuration,
                                                    resultsDelegate: resultsDelegate,
                                                    api: .custom(domain: "api.custom.net",
                                                                 tokenSource: MyAlternativeTokenSource))

The token you provide will be is added as a bearer token to all api.custom.net requests.

...

Code Block
languageswift
    let viewController = GiniCapture.viewController(withClient: client,
                                                    configuration: configuration,
                                                    resultsDelegate: resultsDelegate,
                                                    api: .custom(domain: "api.custom.net",
                                                                 path: "/custom/path",
                                                                 tokenSource: MyAlternativeTokenSource))
Cfm card
layoutSimple
selectedUrlhttps://gini.atlassian.net/wiki/spaces/ICSV/pages/11895105/Certificate+Pinning+DI
externalUrlhttps://gini.atlassian.net/wiki/spaces/ICSV/pages/11895105/Certificate+Pinning+DI
color#FFF6CE
filterSpacefalse
destinationexternalUrl
textColorPaletteDefault
iddfb18wsf8af
titleCertificate Pinning
bodyHow to use public key pinning?
textColor#000000
backgroundColorPaletteDefault

...

Rw pagetree macro
titleSee more:
rootPage@current