From 99c0333d6b1cfec9a5a7cb6286102a592a6181ee Mon Sep 17 00:00:00 2001 From: Srinidhi Rao Date: Thu, 9 Feb 2023 15:56:18 +0530 Subject: [PATCH] feat(unvired-cordova-sdk): Add couple of properties to login parameters. --- .../plugins/unvired-cordova-sdk/index.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts b/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts index 175266858..c78700a28 100644 --- a/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts +++ b/src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk/index.ts @@ -420,6 +420,17 @@ export class LoginParameters { * The passed credentials will be used based on this flag. */ requireClientCredentials: boolean; + + /** + * Required for SAML-SSO login. This should be the redirect URL as configured in UMP under Application Properties. + * Instead of a hard-coded value, consider deribing this URL value the base UMP URL. + */ + redirectURL: string; + + /** + * Send the version number of the app which needs to be propagated to UMP. You should be able to view this under the devices section in UMP Admin Cockpit. + */ + appVersion: string; } export class LoginResult extends UnviredResult { type: LoginListenerType;