英文:
Is the publicKeyCredentialCreationObjects supposed to be passed from the server to the client?
问题
根据上述陈述,这是否意味着我应该在服务器上创建publicKeyCredentialCreationOptions对象,然后将其传递给客户端?
英文:
I was reading about WebAuthn at https://webauthn.guide/ when I came across the sentence below.
The publicKeyCredentialCreationOptions object contains a number of required and optional fields that a server specifies to create a new credential for a user.
Based on the statement above, does it mean that I should create the publicKeyCredentialCreationOptions object on the server and then pass it to the client?
答案1
得分: 2
是的,其中一些选项将基于政策和配置。请查看 https://passkeys.dev 以获取示例。
英文:
Yes, as some of the options will be based on policy and configuration. Please take a look at https://passkeys.dev for examples.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论