3417b569c0
KEYCLOAK-2606 Added cordova native KEYCLOAK-2606 Some more fixes and tweaks Fix redirect in example realm feature(cordova-native): fix universalLinks and kc options Added 'cordova-native' to typings Added an option to define a "default" redirectUri in keycloak.js Added 'login' and 'logout' event to universalLinks configuration in config.xml Improved 'cordova-native' example to always use a redirectUri and update state after successfull logout Setting the 'authenticated' flag for the keycloak instance to 'false' after a logout redirect KEYCLOAK-2606: Simplify example for cordova-native I wanted to make it explicit which options are actually needed, so I didn't want to reuse the keycloak conf KEYCLOAK-2606: simplify example The update state after logout shouldn't be necessary as it is set in `keycloak.onAuthLogout = updateState;` Not sure why it is called after the login promise... Fixes
383 lines
11 KiB
JSON
383 lines
11 KiB
JSON
{
|
|
"name": "org.keycloak.examples.cordova",
|
|
"version": "1.0.0",
|
|
"lockfileVersion": 1,
|
|
"requires": true,
|
|
"dependencies": {
|
|
"balanced-match": {
|
|
"version": "1.0.0",
|
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
|
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
|
|
},
|
|
"base64-js": {
|
|
"version": "1.3.0",
|
|
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz",
|
|
"integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw=="
|
|
},
|
|
"brace-expansion": {
|
|
"version": "1.1.11",
|
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
|
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
|
"requires": {
|
|
"balanced-match": "1.0.0",
|
|
"concat-map": "0.0.1"
|
|
}
|
|
},
|
|
"concat-map": {
|
|
"version": "0.0.1",
|
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
|
|
},
|
|
"cordova-android": {
|
|
"version": "6.4.0",
|
|
"resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-6.4.0.tgz",
|
|
"integrity": "sha1-VK6NpXKKjX5e/MYXLT3MoXvH/n0=",
|
|
"requires": {
|
|
"android-versions": "1.2.1",
|
|
"cordova-common": "2.1.0",
|
|
"elementtree": "0.1.6",
|
|
"nopt": "3.0.6",
|
|
"properties-parser": "0.2.3",
|
|
"q": "1.5.0",
|
|
"shelljs": "0.5.3"
|
|
},
|
|
"dependencies": {
|
|
"abbrev": {
|
|
"version": "1.1.0",
|
|
"bundled": true
|
|
},
|
|
"android-versions": {
|
|
"version": "1.2.1",
|
|
"bundled": true
|
|
},
|
|
"ansi": {
|
|
"version": "0.3.1",
|
|
"bundled": true
|
|
},
|
|
"balanced-match": {
|
|
"version": "1.0.0",
|
|
"bundled": true
|
|
},
|
|
"base64-js": {
|
|
"version": "0.0.8",
|
|
"bundled": true
|
|
},
|
|
"big-integer": {
|
|
"version": "1.6.25",
|
|
"bundled": true
|
|
},
|
|
"bplist-parser": {
|
|
"version": "0.1.1",
|
|
"bundled": true,
|
|
"requires": {
|
|
"big-integer": "1.6.25"
|
|
}
|
|
},
|
|
"brace-expansion": {
|
|
"version": "1.1.8",
|
|
"bundled": true,
|
|
"requires": {
|
|
"balanced-match": "1.0.0",
|
|
"concat-map": "0.0.1"
|
|
}
|
|
},
|
|
"concat-map": {
|
|
"version": "0.0.1",
|
|
"bundled": true
|
|
},
|
|
"cordova-common": {
|
|
"version": "2.1.0",
|
|
"bundled": true,
|
|
"requires": {
|
|
"ansi": "0.3.1",
|
|
"bplist-parser": "0.1.1",
|
|
"cordova-registry-mapper": "1.1.15",
|
|
"elementtree": "0.1.6",
|
|
"glob": "5.0.15",
|
|
"minimatch": "3.0.4",
|
|
"osenv": "0.1.4",
|
|
"plist": "1.2.0",
|
|
"q": "1.5.0",
|
|
"semver": "5.4.1",
|
|
"shelljs": "0.5.3",
|
|
"underscore": "1.8.3",
|
|
"unorm": "1.4.1"
|
|
}
|
|
},
|
|
"cordova-registry-mapper": {
|
|
"version": "1.1.15",
|
|
"bundled": true
|
|
},
|
|
"elementtree": {
|
|
"version": "0.1.6",
|
|
"bundled": true,
|
|
"requires": {
|
|
"sax": "0.3.5"
|
|
}
|
|
},
|
|
"glob": {
|
|
"version": "5.0.15",
|
|
"bundled": true,
|
|
"requires": {
|
|
"inflight": "1.0.6",
|
|
"inherits": "2.0.3",
|
|
"minimatch": "3.0.4",
|
|
"once": "1.4.0",
|
|
"path-is-absolute": "1.0.1"
|
|
}
|
|
},
|
|
"inflight": {
|
|
"version": "1.0.6",
|
|
"bundled": true,
|
|
"requires": {
|
|
"once": "1.4.0",
|
|
"wrappy": "1.0.2"
|
|
}
|
|
},
|
|
"inherits": {
|
|
"version": "2.0.3",
|
|
"bundled": true
|
|
},
|
|
"lodash": {
|
|
"version": "3.10.1",
|
|
"bundled": true
|
|
},
|
|
"minimatch": {
|
|
"version": "3.0.4",
|
|
"bundled": true,
|
|
"requires": {
|
|
"brace-expansion": "1.1.8"
|
|
}
|
|
},
|
|
"nopt": {
|
|
"version": "3.0.6",
|
|
"bundled": true,
|
|
"requires": {
|
|
"abbrev": "1.1.0"
|
|
}
|
|
},
|
|
"once": {
|
|
"version": "1.4.0",
|
|
"bundled": true,
|
|
"requires": {
|
|
"wrappy": "1.0.2"
|
|
}
|
|
},
|
|
"os-homedir": {
|
|
"version": "1.0.2",
|
|
"bundled": true
|
|
},
|
|
"os-tmpdir": {
|
|
"version": "1.0.2",
|
|
"bundled": true
|
|
},
|
|
"osenv": {
|
|
"version": "0.1.4",
|
|
"bundled": true,
|
|
"requires": {
|
|
"os-homedir": "1.0.2",
|
|
"os-tmpdir": "1.0.2"
|
|
}
|
|
},
|
|
"path-is-absolute": {
|
|
"version": "1.0.1",
|
|
"bundled": true
|
|
},
|
|
"plist": {
|
|
"version": "1.2.0",
|
|
"bundled": true,
|
|
"requires": {
|
|
"base64-js": "0.0.8",
|
|
"util-deprecate": "1.0.2",
|
|
"xmlbuilder": "4.0.0",
|
|
"xmldom": "0.1.27"
|
|
}
|
|
},
|
|
"properties-parser": {
|
|
"version": "0.2.3",
|
|
"bundled": true
|
|
},
|
|
"q": {
|
|
"version": "1.5.0",
|
|
"bundled": true
|
|
},
|
|
"sax": {
|
|
"version": "0.3.5",
|
|
"bundled": true
|
|
},
|
|
"semver": {
|
|
"version": "5.4.1",
|
|
"bundled": true
|
|
},
|
|
"shelljs": {
|
|
"version": "0.5.3",
|
|
"bundled": true
|
|
},
|
|
"underscore": {
|
|
"version": "1.8.3",
|
|
"bundled": true
|
|
},
|
|
"unorm": {
|
|
"version": "1.4.1",
|
|
"bundled": true
|
|
},
|
|
"util-deprecate": {
|
|
"version": "1.0.2",
|
|
"bundled": true
|
|
},
|
|
"wrappy": {
|
|
"version": "1.0.2",
|
|
"bundled": true
|
|
},
|
|
"xmlbuilder": {
|
|
"version": "4.0.0",
|
|
"bundled": true,
|
|
"requires": {
|
|
"lodash": "3.10.1"
|
|
}
|
|
},
|
|
"xmldom": {
|
|
"version": "0.1.27",
|
|
"bundled": true
|
|
}
|
|
}
|
|
},
|
|
"cordova-plugin-browsertab": {
|
|
"version": "0.2.0",
|
|
"resolved": "https://registry.npmjs.org/cordova-plugin-browsertab/-/cordova-plugin-browsertab-0.2.0.tgz",
|
|
"integrity": "sha1-Hgf5hy4VRnpQ59FKc/79h0+u1ko="
|
|
},
|
|
"cordova-plugin-compat": {
|
|
"version": "1.2.0",
|
|
"resolved": "https://registry.npmjs.org/cordova-plugin-compat/-/cordova-plugin-compat-1.2.0.tgz",
|
|
"integrity": "sha1-C8ZXVyduvZIMASzpIOJ0F3V2Nz4="
|
|
},
|
|
"cordova-plugin-deeplinks": {
|
|
"version": "1.1.0",
|
|
"resolved": "https://registry.npmjs.org/cordova-plugin-deeplinks/-/cordova-plugin-deeplinks-1.1.0.tgz",
|
|
"integrity": "sha512-xXixVrXfX9lvhMpi1qlzkiTeOmT7P5LfgqIBUCePYSutuscX+SeRGsVM38J8nhpYIefHAJqz7ULr4hT7tunUCA==",
|
|
"requires": {
|
|
"mkpath": "1.0.0",
|
|
"node-version-compare": "1.0.1",
|
|
"plist": "3.0.1",
|
|
"rimraf": "2.6.2",
|
|
"xml2js": "0.4.19"
|
|
}
|
|
},
|
|
"cordova-plugin-whitelist": {
|
|
"version": "1.3.3",
|
|
"resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.3.tgz",
|
|
"integrity": "sha1-tehezbv+Wu3tQKG/TuI3LmfZb7Q="
|
|
},
|
|
"fs.realpath": {
|
|
"version": "1.0.0",
|
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
|
|
},
|
|
"glob": {
|
|
"version": "7.1.2",
|
|
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
|
|
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
|
|
"requires": {
|
|
"fs.realpath": "1.0.0",
|
|
"inflight": "1.0.6",
|
|
"inherits": "2.0.3",
|
|
"minimatch": "3.0.4",
|
|
"once": "1.4.0",
|
|
"path-is-absolute": "1.0.1"
|
|
}
|
|
},
|
|
"inflight": {
|
|
"version": "1.0.6",
|
|
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
|
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
|
"requires": {
|
|
"once": "1.4.0",
|
|
"wrappy": "1.0.2"
|
|
}
|
|
},
|
|
"inherits": {
|
|
"version": "2.0.3",
|
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
|
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
|
|
},
|
|
"minimatch": {
|
|
"version": "3.0.4",
|
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
|
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
|
"requires": {
|
|
"brace-expansion": "1.1.11"
|
|
}
|
|
},
|
|
"mkpath": {
|
|
"version": "1.0.0",
|
|
"resolved": "https://registry.npmjs.org/mkpath/-/mkpath-1.0.0.tgz",
|
|
"integrity": "sha1-67Opd+evHGg65v2hK1Raa6bFhT0="
|
|
},
|
|
"node-version-compare": {
|
|
"version": "1.0.1",
|
|
"resolved": "https://registry.npmjs.org/node-version-compare/-/node-version-compare-1.0.1.tgz",
|
|
"integrity": "sha1-2Fv9IPCsreM1d/VmgscQnDTFUM0="
|
|
},
|
|
"once": {
|
|
"version": "1.4.0",
|
|
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
|
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
|
"requires": {
|
|
"wrappy": "1.0.2"
|
|
}
|
|
},
|
|
"path-is-absolute": {
|
|
"version": "1.0.1",
|
|
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
|
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
|
|
},
|
|
"plist": {
|
|
"version": "3.0.1",
|
|
"resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz",
|
|
"integrity": "sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==",
|
|
"requires": {
|
|
"base64-js": "1.3.0",
|
|
"xmlbuilder": "9.0.7",
|
|
"xmldom": "0.1.27"
|
|
}
|
|
},
|
|
"rimraf": {
|
|
"version": "2.6.2",
|
|
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
|
|
"integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
|
|
"requires": {
|
|
"glob": "7.1.2"
|
|
}
|
|
},
|
|
"sax": {
|
|
"version": "1.2.4",
|
|
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
|
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
|
|
},
|
|
"wrappy": {
|
|
"version": "1.0.2",
|
|
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
|
},
|
|
"xml2js": {
|
|
"version": "0.4.19",
|
|
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz",
|
|
"integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==",
|
|
"requires": {
|
|
"sax": "1.2.4",
|
|
"xmlbuilder": "9.0.7"
|
|
}
|
|
},
|
|
"xmlbuilder": {
|
|
"version": "9.0.7",
|
|
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
|
|
"integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0="
|
|
},
|
|
"xmldom": {
|
|
"version": "0.1.27",
|
|
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz",
|
|
"integrity": "sha1-1QH5ezvbQDr4757MIFcxh6rawOk="
|
|
}
|
|
}
|
|
}
|