capacitor-plugin-biometric

login biometrico

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
capacitor-plugin-biometric
1.2.9a year ago2 years agoMinified + gzip package size for capacitor-plugin-biometric in KB

Readme

capacitor-plugin-biometric
biometric login with FaceId, Fingerprint and Iris. Depending to the device biometrics options.

Install

npm install capacitor-plugin-biometric
npx cap sync

API




saveUser(...)

saveUser(options: { "name": string; }) => Promise<{ value: string; }>

| Param | Type | | ------------- | ------------------------------ | | options | { name: string; } |
Returns: Promise<{ value: string; }>

getUser()

getUser() => Promise<{ value: string; }>

Returns: Promise<{ value: string; }>

has(...)

has(options: { value: string; }) => Promise<{ value: string; }>

| Param | Type | | ------------- | ------------------------------- | | options | { value: string; } |
Returns: Promise<{ value: string; }>

isAvailable()

isAvailable() => Promise<{ value: string; }>

Returns: Promise<{ value: string; }>

verify(...)

verify(options: { "key": string; "message": string; }) => Promise<{ value: string; }>

| Param | Type | | ------------- | ---------------------------------------------- | | options | { key: string; message: string; } |
Returns: Promise<{ value: string; }>

save(...)

save(options: { "key": string; "password": string; "userAuthenticationRequired": string; }) => Promise<{ value: string; }>

| Param | Type | | ------------- | ----------------------------------------------------------------------------------- | | options | { key: string; password: string; userAuthenticationRequired: string; } |
Returns: Promise<{ value: string; }>

saveDataUser(...)

saveDataUser(options: { value: string; }) => Promise<{ value: string; }>

| Param | Type | | ------------- | ------------------------------- | | options | { value: string; } |
Returns: Promise<{ value: string; }>

getDataUser()

getDataUser() => Promise<{ value: string; }>

Returns: Promise<{ value: string; }>

cleanAll(...)

cleanAll(options: { "source": string; }) => Promise<{ value: string; }>

| Param | Type | | ------------- | -------------------------------- | | options | { source: string; } |
Returns: Promise<{ value: string; }>
capacitorBiometria