@@ -86,7 +86,7 @@ In addition to the main `webauthn-server-core` module, there are also:
86
86
=== Non-features
87
87
88
88
This library has no concept of accounts, sessions, permissions or identity
89
- federation, and it's not an authentication framework; it only deals with
89
+ federation, and it is not an authentication framework; it only deals with
90
90
executing the WebAuthn authentication mechanism. Sessions, account management
91
91
and other higher level concepts can make use of this authentication mechanism,
92
92
but the authentication mechanism alone does not make a security system.
@@ -115,7 +115,7 @@ The client side involves:
115
115
1. Call `navigator.credentials.create()` or `.get()`,
116
116
passing the result from `RelyingParty.startRegistration(...)` or `.startAssertion(...)` as the argument.
117
117
2. Encode the result of the successfully resolved promise and return it to the server.
118
- For this you'll need some way to encode `Uint8Array` values;
118
+ For this you need some way to encode `Uint8Array` values;
119
119
this guide will assume use of link:https://github.com/beatgammit/base64-js[base64-js].
120
120
However the built-in parser methods for
121
121
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-core/latest/com/yubico/webauthn/data/PublicKeyCredential.html[`PublicKeyCredential`]
@@ -195,7 +195,7 @@ String credentialCreateJson = request.toCredentialsCreateJson();
195
195
return credentialCreateJson; // Send to client
196
196
----------
197
197
198
- You'll need to keep this `PublicKeyCredentialCreationOptions` object in temporary storage
198
+ You need to keep this `PublicKeyCredentialCreationOptions` object in temporary storage
199
199
so you can also pass it into `finishRegistration(...)` later.
200
200
201
201
Now call the WebAuthn API on the client side:
@@ -271,7 +271,7 @@ try {
271
271
----------
272
272
273
273
Finally, if the previous step was successful, store the new credential in your database.
274
- Here's an example of things you'll likely want to store:
274
+ Here is an example of things you will likely want to store:
275
275
276
276
[source,java]
277
277
----------
@@ -313,7 +313,7 @@ String credentialGetJson = request.toCredentialsGetJson();
313
313
return credentialGetJson; // Send to client
314
314
----------
315
315
316
- Again, you'll need to keep this `PublicKeyCredentialRequestOptions` object in temporary storage
316
+ Again, you need to keep this `PublicKeyCredentialRequestOptions` object in temporary storage
317
317
so you can also pass it into `finishAssertion(...)` later.
318
318
319
319
Now call the WebAuthn API on the client side:
0 commit comments