Skip to content

Commit

Permalink
Resolved #19: Outdated links in README
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGrafnetter authored Nov 14, 2024
1 parent ebe5fb5 commit 7e68330
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The samples are not ready for production use, as they are missing validation and

### Registration (Attestation)

Credential registration is performed by calling the [AuthenticatorMakeCredential](../Documentation/API/DSInternals.Win32.WebAuthn/WebAuthnApi/AuthenticatorMakeCredential.md) or [AuthenticatorMakeCredentialAsync](../Documentation/API/DSInternals.Win32.WebAuthn/WebAuthnApi/AuthenticatorMakeCredentialAsync.md) method:
Credential registration is performed by calling the [AuthenticatorMakeCredential](../Documentation/API/DSInternals.Win32.WebAuthn.WebAuthnApi.md) or [AuthenticatorMakeCredentialAsync](../Documentation/API/DSInternals.Win32.WebAuthn.WebAuthnApi.md) method:

```cs
var rp = new RelyingPartyInformation()
Expand All @@ -80,16 +80,14 @@ var response = api.AuthenticatorMakeCredential(rp, user, challenge, UserVerifica

### Authentication (Assertion)

Authentication using a previously registered credential is performed by calling the [AuthenticatorGetAssertion](../Documentation/API/DSInternals.Win32.WebAuthn/WebAuthnApi/AuthenticatorGetAssertion.md) or [AuthenticatorGetAssertionAsync](../Documentation/API/DSInternals.Win32.WebAuthn/WebAuthnApi/AuthenticatorGetAssertionAsync.md) method:
Authentication using a previously registered credential is performed by calling the [AuthenticatorGetAssertion](../Documentation/API/DSInternals.Win32.WebAuthn.WebAuthnApi.md) or [AuthenticatorGetAssertionAsync](../Documentation/API/DSInternals.Win32.WebAuthn.WebAuthnApi.md) method:

```cs
var api = new WebAuthnApi();
var challenge = new byte[] { 0, 1, 2, 3 };
var response = api.AuthenticatorGetAssertion("login.microsoft.com", challenge, UserVerificationRequirement.Required, AuthenticatorAttachment.CrossPlatform);
```

See the [full API documentation](../Documentation/API/DSInternals.Win32.WebAuthn.md) for more information on using this library.

## Troubleshooting

### Rohitab API Monitor
Expand Down

0 comments on commit 7e68330

Please sign in to comment.