Skip to content

Complete Web Authn Registration

cognitoidentityprovider_complete_web_authn_registration R Documentation

Completes registration of a passkey authenticator for the currently signed-in user

Description

Completes registration of a passkey authenticator for the currently signed-in user.

Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.

Usage

cognitoidentityprovider_complete_web_authn_registration(AccessToken,
  Credential)

Arguments

AccessToken

[required] A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.

Credential

[required] A RegistrationResponseJSON public-key credential response from the user's passkey provider.

Value

An empty list.

Request syntax

svc$complete_web_authn_registration(
  AccessToken = "string",
  Credential = list()
)