- Minimum Android SDK: MBIngressKit requires a minimum API level of 21.
- Compile Android SDK: MBIngressKit requires you to compile against minimum API level 27.
MBIngressKit provides you with services and functions related to users and user authentication.
The initialization requires the application context and a previous initialization of MBNetworkKit.
The minimal setup needs 5 important string values:
AUTH_URL- the base url pointing to the JWT token apiUSER_URL- the base url pointing to user related REST APIsSTAGE- either "int" or "prod", depending on your stageALIAS- the alias used for crypto operations using theKeyStoreAPICLIENT_ID- your client id
MBIngressKit.init(
IngressServiceConfig.Builder(
appContext, AUTH_URL, USER_URL, STAGE, ALIAS, MBNetworkKit.headerService(), CLIENT_ID
).apply {
// If using the Single-SignOn feature:
enableSso("my_shared_user_id")
// device identifier
useDeviceId("my_device_id")
}
)Add the following maven url to your project build.gradle:
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://pkgs.dev.azure.com/daimler-ris/sdk/_packaging/release/maven/v1'
}
}
}Add to your app's build.gradle:
implementation "com.daimler.mm:MBIngressKit:$mb_ingress_kit_version"We welcome any contributions. If you want to contribute to this project, please read the contributing guide.
Please read our Code of Conduct as it is our base for interaction.
This project is licensed under the MIT LICENSE.
Please visit https://mbition.io/en/home/index.html for information on the provider.
Notice: Before you use the program in productive use, please take all necessary precautions, e.g. testing and verifying the program with regard to your specific use. The program was tested solely for our own use cases, which might differ from yours.
