relyingParty property

RelyingPartyType relyingParty
final

The relying party identifies your application to users, when users create/use passkeys. (Read more here).

  • id: The relying party identifier is a valid domain string identifying the WebAuthn Relying Party. In other words, its the domain your application is running on, which will be tied to the passkeys that users create. We advise to use the root domain, not the full domain (eg acme.com, not app.acme.com nor foo.app.acme.com), that way, passkeys created by your users can be re-used on other subdomains (eg. on foo.acme.com and bar.acme.com) in the future. Read more here.
  • name: A string representing the name of the relying party (e.g. "Acme"). This is the name the user will be presented with when creating or validating a WebAuthn operation.

Implementation

final RelyingPartyType relyingParty;