1import{gB as t}from"./index.BdFycjDt.js";import{BiometryType as s,AuthenticationStrength as i}from"./index.DtjQIwgU.js";class a extends t{constructor(){super(),this.credentialStore=new Map}isAvailable(){return Promise.resolve({isAvailable:!0,authenticationStrength:i.STRONG,biometryType:s.TOUCH_ID,deviceIsSecure:!0,strongBiometryIsAvailable:!0})}async addListener(e,r){return{remove:async()=>{}}}verifyIdentity(e){return console.log("verifyIdentity (dummy implementation)"),Promise.resolve()}getCredentials(e){console.log("getCredentials (dummy implementation)",{server:e.server});const r=this.credentialStore.get(e.server);if(!r)throw new Error("No credentials found for the specified server");return Promise.resolve(r)}getSecureCredentials(e){console.log("getSecureCredentials (dummy implementation)",{server:e.server});const r=this.credentialStore.get(e.server);if(!r)throw new Error("No credentials found for the specified server");return Promise.resolve(r)}setCredentials(e){return console.log("setCredentials (dummy implementation)",{server:e.server}),this.credentialStore.set(e.server,{username:e.username,password:e.password}),Promise.resolve()}deleteCredentials(e){return console.log("deleteCredentials (dummy implementation)",{server:e.server}),this.credentialStore.delete(e.server),Promise.resolve()}isCredentialsSaved(e){return console.log("isCredentialsSaved (dummy implementation)",{server:e.server}),Promise.resolve({isSaved:this.credentialStore.has(e.server)})}async getPluginVersion(){return{version:"web"}}}export{a as NativeBiometricWeb};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.