From a79f31e12e1025b9fdde736e4933ee3a749c18bb Mon Sep 17 00:00:00 2001 From: Srinidhi Rao Date: Fri, 21 Jul 2023 18:15:40 +0530 Subject: [PATCH] fix(cordova-plugin-unvired-sdk): Add two new login properties. --- .../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;