Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize CredentialsContainer.create() method #33360

Merged
merged 14 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9401,17 +9401,16 @@
/en-US/docs/Web/API/PublicKeyCredential/PublicKeyCredential.rawId /en-US/docs/Web/API/PublicKeyCredential/rawId
/en-US/docs/Web/API/PublicKeyCredential/getClientExtensionResult /en-US/docs/Web/API/PublicKeyCredential/getClientExtensionResults
/en-US/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable /en-US/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static
/en-US/docs/Web/API/PublicKeyCredentialCreateOptions /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/attestation /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/authenticatorSelection /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/challenge /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/excludeCredentials /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/extensions /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/pubKeyCredParams /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/rp /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/timeout /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/user /en-US/docs/Web/API/CredentialsContainer/create
/en-US/docs/Web/API/PublicKeyCredentialCreateOptions /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/attestation /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/authenticatorSelection /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/challenge /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/excludeCredentials /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/extensions /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/pubKeyCredParams /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/rp /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/timeout /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialCreationOptions/user /en-US/docs/Web/API/PublicKeyCredentialCreationOptions
/en-US/docs/Web/API/PublicKeyCredentialRequestOptions/allowCredentials /en-US/docs/Web/API/CredentialsContainer/get
/en-US/docs/Web/API/PublicKeyCredentialRequestOptions/challenge /en-US/docs/Web/API/CredentialsContainer/get
/en-US/docs/Web/API/PublicKeyCredentialRequestOptions/extensions /en-US/docs/Web/API/CredentialsContainer/get
Expand Down
23 changes: 23 additions & 0 deletions files/en-us/glossary/authentication/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Authentication
slug: Glossary/Authentication
page-type: glossary-definition
---

{{GlossarySidebar}}

**Authentication** is in general the process of proving that some fact is genuine. More specifically, in web security, it is the process of verifying the claimed identity of some entity, such as a user. This then makes it possible to decide whether to grant the user the access that they are requesting, such as being signed into a particular account.

Authentication is typically performed by having a user present a user identifier along with a {{glossary("credential")}}, such as a password, a one-time SMS code, or an assertion signed with a private key. The system then checks the binding between the user identifier and the credential, so it can decide whether or not to authenticate the user.

Types of authentication information, also called _authentication factors_, are commonly presented in three categories:

- Something the user knows, such as a password.
- Something the user has, such as a phone.
- Something the user is, such as a thumbprint.

Multi-factor authentication (MFA) systems require the user to provide more than one factor: for example, a password combined with a one-time code sent to the user's phone.

## See also

- {{rfc("4949", "Internet Security Glossary")}}
22 changes: 22 additions & 0 deletions files/en-us/glossary/credential/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Credential
slug: Glossary/Credential
page-type: glossary-definition
---

{{GlossarySidebar}}

A **credential** is an object which enables a system to make an {{glossary("authentication")}} decision: for example, to decide whether to sign a user into an account.

In web security, types of credential include:

- a password
- biometric data
- a token entered from a one-time SMS code
- the key used to make authentication assertions in a public-key system such as [Web Authentication](/en-US/docs/Web/API/Web_Authentication_API)

The [Credential Management API](/en-US/docs/Web/API/Credential_Management_API) enables develepers to create, store, and retrieve various types of credential.
wbamberg marked this conversation as resolved.
Show resolved Hide resolved

## See also

- {{rfc("4949", "Internet Security Glossary")}}
Loading