浏览器样式 API
保持 navigator.credentials.create() 在您的应用程序中代替重写您的密码流程以适应自定义 __CAPGO_KEEP_0__。 navigator.credentials.get() in your app instead of rewriting your passkey flow around a custom API.
浏览器样式 API
保持 navigator.credentials.create() 在您的应用程序中代替重写您的密码流程以适应自定义 __CAPGO_KEEP_0__。 navigator.credentials.get() in your app instead of rewriting your passkey flow around a custom API.
和
一次性添加插件配置,调用 CapacitorPasskey.autoShimWebAuthn() 在启动过程中调用,保持WebAuthn code接近浏览器实现。
构建时本机编程
插件在同步过程中修补生成的iOS和Android宿主项目,因此您不需要手动编辑这些文件。
包含平台说明
shimWebAuthn(options?) 立即安装浏览器样式 shim,支持 HTTPS 源选项。getConfiguration() 读取解析的运行时配置 plugins.CapacitorPasskey.autoShimWebAuthn(options?) 读取该配置并在应用程序引导期间一步安装 shim。createCredential(options) 并 getCredential(options) 直接调用本机 passkey API,使用 JSON 安全的 WebAuthn 数据包。isSupported() 报告运行时可用性和 getPluginVersion() 返回本机实现版本标记。如果您正在使用 @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-passkey @capgo/capacitor-passkey 为了计划身份验证和帐户流程,连接它 使用@capgo/capacitor-passkey 为@capgo/capacitor-passkey中的本机能力 @capgo/capacitor-social-login 为@capgo/capacitor-social-login中的实现细节 @capgo/capacitor-native-biometric 为@capgo/capacitor-native-biometric中的实现细节 双因素身份验证 为双因素身份验证中的实现细节,并且 SAML (企业) 为SAML (企业)中的实现细节。