= Cheatsheets

[[Authenticator]]
== Authenticator

++++
Data Object representing an authenticator at rest.
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[counter]]`@counter`|`Number (long)`|-
|[[credID]]`@credID`|`String`|-
|[[publicKey]]`@publicKey`|`String`|-
|[[type]]`@type`|`String`|-
|[[userName]]`@userName`|`String`|-
|===

[[RelyingParty]]
== RelyingParty

++++
Data object representing a Relying party (your server)
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[icon]]`@icon`|`String`|-
|[[id]]`@id`|`String`|-
|[[name]]`@name`|`String`|-
|===

[[WebAuthnCredentials]]
== WebAuthnCredentials


[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[challenge]]`@challenge`|`String`|-
|[[domain]]`@domain`|`String`|-
|[[origin]]`@origin`|`String`|-
|[[username]]`@username`|`String`|-
|[[webauthn]]`@webauthn`|`Json object`|-
|===

[[WebAuthnOptions]]
== WebAuthnOptions

++++
Configuration for the webauthn object
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[attestation]]`@attestation`|`link:enums.html#Attestation[Attestation]`|-
|[[authenticatorAttachment]]`@authenticatorAttachment`|`link:enums.html#AuthenticatorAttachment[AuthenticatorAttachment]`|-
|[[challengeLength]]`@challengeLength`|`Number (int)`|-
|[[extensions]]`@extensions`|`Json object`|-
|[[pubKeyCredParams]]`@pubKeyCredParams`|`Array of link:enums.html#PublicKeyCredential[PublicKeyCredential]`|-
|[[requireResidentKey]]`@requireResidentKey`|`Boolean`|-
|[[rootCertificates]]`@rootCertificates`|`String`|-
|[[rootCrls]]`@rootCrls`|`Array of String`|-
|[[timeout]]`@timeout`|`Number (Long)`|-
|[[transports]]`@transports`|`Array of link:enums.html#AuthenticatorTransport[AuthenticatorTransport]`|-
|[[userVerification]]`@userVerification`|`link:enums.html#UserVerification[UserVerification]`|-
|===