mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
TouchID
This commit is contained in:
parent
4808416a9b
commit
09551c1193
2
dist/plugins/touchid.d.ts
vendored
2
dist/plugins/touchid.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
9
dist/plugins/touchid.js
vendored
9
dist/plugins/touchid.js
vendored
@ -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',
|
||||
|
2
dist/plugins/touchid.js.map
vendored
2
dist/plugins/touchid.js.map
vendored
@ -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"}
|
2
dist/src/plugins/touchid.d.ts
vendored
2
dist/src/plugins/touchid.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
15
dist/src/plugins/touchid.js
vendored
15
dist/src/plugins/touchid.js
vendored
@ -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',
|
||||
|
2
dist/src/plugins/touchid.js.map
vendored
2
dist/src/plugins/touchid.js.map
vendored
@ -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"}
|
@ -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) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user