# Ceremonies

In the Webauthn context, there are two ceremonies:

* The attestation ceremony: it corresponds to the registration of a new authenticator,
* The assertion ceremony: it is used for the authentication of a user.

For both ceremonies, there are two steps to perform:

1. The creation of options: these options are sent to the authenticator and indicate what to do and how.
2. The response of the authenticator: after the user interacted with the authenticator, the authenticator computes a response that has to be verified.

Depending on the options and the capabilities of the authenticator, the user interaction may differ. It can be a simple touch on a button or a complete authentication using biometric means (PIN code, fingerprint, facial recognition…).

![The attestation ceremony](https://953564763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LVNwBmzKc-PDhuJq1DT-3786526019%2Fuploads%2Fgit-blob-95bd5e2a32a40ace6f330857da0562ccb82f4f3b%2Fregistration.png?alt=media\&token=b5c8003f-cc37-4bac-94b2-f32aff66dc72)

![The assertion ceremony](https://953564763-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LVNwBmzKc-PDhuJq1DT-3786526019%2Fuploads%2Fgit-blob-39ddb600043ee623069a8e8afd60f5583c81456e%2Flogin.png?alt=media\&token=53d19b8a-6bce-409b-acef-dfdfe2998b70)
