This commit is contained in:
Max Lynch 2015-12-01 19:33:43 -06:00
parent 4808416a9b
commit 09551c1193
7 changed files with 35 additions and 5 deletions

View File

@ -1,4 +1,6 @@
export declare class TouchID {
isAvailable(): void;
static verifyFingerprint(message: string): void;
static verifyFingerprintWithCustomPasswordFallback(message: string): void;
static verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message: string, enterPasswordLabel: string): void;
}

View File

@ -11,13 +11,20 @@ var TouchID = (function () {
TouchID.prototype.isAvailable = function () { };
;
TouchID.verifyFingerprint = function (message) { };
;
TouchID.verifyFingerprintWithCustomPasswordFallback = function (message) { };
TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel = function (message, enterPasswordLabel) { };
__decorate([
plugin_1.Cordova()
], TouchID.prototype, "isAvailable", null);
__decorate([
plugin_1.Cordova()
], TouchID, "verifyFingerprint", null);
__decorate([
plugin_1.Cordova()
], TouchID, "verifyFingerprintWithCustomPasswordFallback", null);
__decorate([
plugin_1.Cordova()
], TouchID, "verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel", null);
TouchID = __decorate([
plugin_1.Plugin({
name: 'TouchID',

View File

@ -1 +1 @@
{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint"],"mappings":";;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAYAC,CAACA;IAJCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;;IAJ3CH;QAACA,gBAAOA,EAAEA;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;OACHA,4BAAiBA,QAAmBA;IAX7CA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;gBAODA;IAADA,cAACA;AAADA,CAACA,AAZD,IAYC;AANY,eAAO,UAMnB,CAAA"}
{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint","TouchID.verifyFingerprintWithCustomPasswordFallback","TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel"],"mappings":";;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAkBAC,CAACA;IAVCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;IAGpCH,mDAA2CA,GADlDA,UACmDA,OAAcA,IAAGI,CAACA;IAG9DJ,wEAAgEA,GADvEA,UACwEA,OAAcA,EAAEA,kBAAyBA,IAAGK,CAACA;IAVrHL;QAACA,gBAAOA,EAAEA;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;OACHA,4BAAiBA,QAAmBA;IAE3CA;QAACA,gBAAOA,EAAEA;OACHA,sDAA2CA,QAAmBA;IAErEA;QAACA,gBAAOA,EAAEA;OACHA,2EAAgEA,QAA8CA;IAjBvHA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;gBAaDA;IAADA,cAACA;AAADA,CAACA,AAlBD,IAkBC;AAZY,eAAO,UAYnB,CAAA"}

View File

@ -1,4 +1,6 @@
export declare class TouchID {
isAvailable(): void;
static verifyFingerprint(message: string): void;
static verifyFingerprintWithCustomPasswordFallback(message: string): void;
static verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message: string, enterPasswordLabel: string): void;
}

View File

@ -14,7 +14,8 @@ var TouchID = (function () {
TouchID.prototype.isAvailable = function () { };
;
TouchID.verifyFingerprint = function (message) { };
;
TouchID.verifyFingerprintWithCustomPasswordFallback = function (message) { };
TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel = function (message, enterPasswordLabel) { };
__decorate([
plugin_1.Cordova(),
__metadata('design:type', Function),
@ -27,6 +28,18 @@ var TouchID = (function () {
__metadata('design:paramtypes', [String]),
__metadata('design:returntype', void 0)
], TouchID, "verifyFingerprint", null);
__decorate([
plugin_1.Cordova(),
__metadata('design:type', Function),
__metadata('design:paramtypes', [String]),
__metadata('design:returntype', void 0)
], TouchID, "verifyFingerprintWithCustomPasswordFallback", null);
__decorate([
plugin_1.Cordova(),
__metadata('design:type', Function),
__metadata('design:paramtypes', [String, String]),
__metadata('design:returntype', void 0)
], TouchID, "verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel", null);
TouchID = __decorate([
plugin_1.Plugin({
name: 'TouchID',

View File

@ -1 +1 @@
{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint"],"mappings":";;;;;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAYAC,CAACA;IAJCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;;IAJ3CH;QAACA,gBAAOA,EAAEA;;;;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;;;;OACHA,4BAAiBA,QAAmBA;IAX7CA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;;gBAODA;IAADA,cAACA;AAADA,CAACA,AAZD,IAYC;AANY,eAAO,UAMnB,CAAA"}
{"version":3,"file":"touchid.js","sourceRoot":"","sources":["../../../src/plugins/touchid.ts"],"names":["TouchID","TouchID.constructor","TouchID.isAvailable","TouchID.verifyFingerprint","TouchID.verifyFingerprintWithCustomPasswordFallback","TouchID.verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel"],"mappings":";;;;;;;;;AAAA,uBAA8B,UAAU,CAAC,CAAA;AAEzC;IAAAA;IAkBAC,CAACA;IAVCD,6BAAWA,GADXA,cACeE,CAACA;;IAGTF,yBAAiBA,GADxBA,UACyBA,OAAcA,IAAGG,CAACA;IAGpCH,mDAA2CA,GADlDA,UACmDA,OAAcA,IAAGI,CAACA;IAG9DJ,wEAAgEA,GADvEA,UACwEA,OAAcA,EAAEA,kBAAyBA,IAAGK,CAACA;IAVrHL;QAACA,gBAAOA,EAAEA;;;;OACVA,gCAAWA,QAAKA;IAEhBA;QAACA,gBAAOA,EAAEA;;;;OACHA,4BAAiBA,QAAmBA;IAE3CA;QAACA,gBAAOA,EAAEA;;;;OACHA,sDAA2CA,QAAmBA;IAErEA;QAACA,gBAAOA,EAAEA;;;;OACHA,2EAAgEA,QAA8CA;IAjBvHA;QAACA,eAAMA,CAACA;YACNA,IAAIA,EAAEA,SAASA;YACfA,MAAMA,EAAEA,yBAAyBA;YACjCA,SAASA,EAAEA,iBAAiBA;YAC5BA,IAAIA,EAAEA,2DAA2DA;SAClEA,CAACA;;gBAaDA;IAADA,cAACA;AAADA,CAACA,AAlBD,IAkBC;AAZY,eAAO,UAYnB,CAAA"}

View File

@ -11,5 +11,11 @@ export class TouchID {
isAvailable() {};
@Cordova()
static verifyFingerprint(message:string) {};
static verifyFingerprint(message:string) {}
@Cordova()
static verifyFingerprintWithCustomPasswordFallback(message:string) {}
@Cordova()
static verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message:string, enterPasswordLabel:string) {}
}