Integrate the Password Manager SDK
Integrate the Password Manager SDK into your application
Prerequisites
Get Started
Integrate the JS SDK
To gain access to the JS SDK and sample app providing a reference for integrating the SDK, please contact us.
To use the Password Manager SDK in a Web or Node.js project, you must add @sudoplatform/sudo-password-manager
as a dependency to your project.
In order to instantiate a Password Manager client, make sure you have followed instructions for Getting Started, User SDK, Sudo Profiles SDK and Entitlements SDK (see Prerequisites above).
In addition, the Password Manager SDK depends on the Sudo Secure Vault SDK. You can provide these dependencies when instantiating the PasswordManagerClient
.
To instantiate and initialize a client in your application, add the following:
Integrate the iOS SDK
To gain access to the iOS SDK and iOS sample app providing a reference for integrating the SDK, please contact us.
Add this line to your Podfile:
Install pod dependencies by running the following command in your project directory:
This will update the local CocoaPods repository and install the latest version of the Password Manager SDK.
In order to instantiate a Password Manager client, make sure you have followed instructions for Getting Started, User SDK, Sudo Profiles SDK and Entitlements SDK (see Prerequisites above).
To instantiate a client in your application, add the following:
You only need one client instance for a given user per device. Instantiating multiple clients with the same configuration and using them at the same time may cause unexpected runtime errors to occur.
See it in action. Be sure to take a look at the open-source iOS sample app on GitHub that our team published as a reference for integrating the Password Manager SDK into your app as quickly and seamlessly as possible.
Integrate the Android SDK
To gain access to the Android SDK and Android sample app providing a reference for integrating the SDK, please contact us.
The Android SDK is open source and compatible with Android 6 (API level 23) and above.
Add this line to the dependencies section of the app module build.gradle
and synchronize your project with Android Studio.
The latest version of the SDK can be found at SDK Releases.
In order to instantiate a Password Manager client, make sure you have followed instructions for Getting Started, User SDK, Sudo Profiles SDK and Entitlements SDK (see Prerequisites above).
To instantiate a client in your application, add the following:
You only need one client instance for a given user per device. Instantiating multiple clients with the same configuration and using them at the same time may cause unexpected runtime errors to occur.
See it in action. Be sure to take a look at the open source Android sample app on GitHub that our team published as a reference for integrating the Password Manager SDK into your app as quickly and seamlessly as possible.
Last updated