Javascript Adapter - Add 'cordovaOptions' to the Typescript definition of KeycloakLoginOptions (#5250)

This commit is contained in:
Lorent Lempereur 2018-06-11 08:21:04 +02:00 committed by Stian Thorgersen
parent 08296bd3ce
commit f55c93a1e4

View file

@ -161,6 +161,14 @@ declare namespace Keycloak {
* the user's profile to a new preferred locale. * the user's profile to a new preferred locale.
*/ */
kcLocale?: string; kcLocale?: string;
/**
* Specifies arguments that are passed to the Cordova in-app-browser (if applicable).
* Options 'hidden' and 'location' are not affected by these arguments.
* All available options are defined at https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/.
* Example of use: { zoom: "no", hardwareback: "yes" }
*/
cordovaOptions?: { [optionName: string]: string };
} }
type KeycloakPromiseCallback<T> = (result: T) => void; type KeycloakPromiseCallback<T> = (result: T) => void;