-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into PP-732-IPC-320-EC-128-release-candidates-for…
…-bank-capture-health-merchant
- Loading branch information
Showing
39 changed files
with
228 additions
and
777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
Authentication | ||
============== | ||
|
||
The entry point for the Gini Merchant SDK is ``GiniMerchant`` class which depends | ||
on ``GiniHealthAPI`` from the Gini Health API Library to interact with the Gini Health API. | ||
The entry point for the Gini Merchant SDK is the ``GiniMerchant`` class. | ||
|
||
The ``GiniHealthAPI`` class can be built either with client credentials (clientId and clientSecret) | ||
or with a ``SessionManager`` if you have a token. For these two cases there are helper methods: | ||
The ``GiniMerchant`` class can be built either with client credentials (clientId and clientSecret) | ||
or with a ``SessionManager`` if you have a token: | ||
|
||
- ``getGiniApi(context: Context, clientId: String, clientSecret: String, emailDomain: String)`` | ||
- ``getGiniApi(context: Context, sessionManager: SessionManager)`` | ||
- ``GiniMerchant(context: Context, clientId: String, clientSecret: String, emailDomain: String)`` | ||
- ``GiniMerchant(context: Context, sessionManager: SessionManager)`` | ||
|
||
``SessionManager`` is an interface which you need to implement to send the token. | ||
|
||
For more details about ``GiniHealthAPI`` see the `Gini Health API Library | ||
<https://github.com/gini/gini-mobile-android/tree/main/health-api-library/>`_. | ||
``SessionManager`` is an interface which you need to implement to send the token. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.