diff --git a/README.md b/README.md index 7039733..a1c9162 100644 --- a/README.md +++ b/README.md @@ -258,6 +258,8 @@ const webAuthn = new WebAuthn({}, { Attestation is the _ceremony_ to create WebAuthn Credentials. To create an Attestable Response that the user device can understand, use the `AttestationRequest::toCreate()` form request. +For example, we can create our own `AttestationController` to create it. + ```php // app\Http\Controllers\WebAuthn\AttestationController.php use Laragear\WebAuthn\Http\Requests\AttestationRequest; @@ -354,6 +356,8 @@ The Assertion procedure also follows a two-step procedure: the user will input i First, use the `AssertionRequest::toVerify()` form request. It will automatically create an assertion for the user that matches the credentials, or a blank one in case you're using [userless login](#userlessone-touchtypeless-login). Otherwise, you may set stricter validation rules to always ask for credentials. +For example, we can use our own `AssertionController` to handle it. + ```php // app\Http\Controllers\WebAuthn\AssertionController.php use Laragear\WebAuthn\Http\Requests\AssertionRequest;