/
Default Implementation
Default Implementation
Using this method, you don’t need to care about handling the analysis process with Gini Bank API Library, you only provide your API credentials and a delegate to get the analysis results.
let viewController = GiniBank.viewController(withClient: client,
configuration: giniBankConfiguration,
resultsDelegate: giniCaptureResultsDelegate)
present(viewController, animated: true, completion: nil)
If you want to use only your own authentication, please add AlternativeTokenSource
protocol implementation:
let viewController = GiniBank.viewController(withClient: client,
configuration: configuration,
resultsDelegate: resultsDelegate,
api: .custom(domain: "pay-api.gini.net",
tokenSource: MyAlternativeTokenSource))
If you want to use a transparent proxy with your own authentication, specify your own domain and add AlternativeTokenSource
protocol implementation:
let viewController = GiniBank.viewController(withClient: client,
configuration: configuration,
resultsDelegate: resultsDelegate,
api: .custom(domain: "api.custom.net",
tokenSource: MyAlternativeTokenSource))
The token you provide is added as a bearer token to all api.custom.net
requests.
You can also specify a custom path segment if your proxy URL requires it:
, multiple selections available,
Related content
Migrate to 3.0.0
Migrate to 3.0.0
Read with this
Default Implementation
Default Implementation
More like this
Testing
Testing
Read with this
Default Implementation
Default Implementation
More like this
Configuration
Configuration
Read with this
Default Implementation
Default Implementation
More like this