CognitoIdentityProvider / Client / complete_web_authn_registration
complete_web_authn_registration#
- CognitoIdentityProvider.Client.complete_web_authn_registration(**kwargs)#
Completes registration of a passkey authenticator for the current user. Your application provides data from a successful registration request with the data from the output of a StartWebAuthnRegistration.
Authorize this action with a signed-in user’s access token. It must include the scope
aws.cognito.signin.user.admin
.See also: AWS API Documentation
Request Syntax
response = client.complete_web_authn_registration( AccessToken='string', Credential={...}|[...]|123|123.4|'string'|True|None )
- Parameters:
AccessToken (string) –
[REQUIRED]
A valid access token that Amazon Cognito issued to the user whose passkey registration you want to complete.
Credential (document) –
[REQUIRED]
A RegistrationResponseJSON public-key credential response from the user’s passkey provider.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
CognitoIdentityProvider.Client.exceptions.ForbiddenException
CognitoIdentityProvider.Client.exceptions.InternalErrorException
CognitoIdentityProvider.Client.exceptions.InvalidParameterException
CognitoIdentityProvider.Client.exceptions.LimitExceededException
CognitoIdentityProvider.Client.exceptions.NotAuthorizedException
CognitoIdentityProvider.Client.exceptions.TooManyRequestsException
CognitoIdentityProvider.Client.exceptions.WebAuthnNotEnabledException
CognitoIdentityProvider.Client.exceptions.WebAuthnChallengeNotFoundException
CognitoIdentityProvider.Client.exceptions.WebAuthnRelyingPartyMismatchException
CognitoIdentityProvider.Client.exceptions.WebAuthnClientMismatchException
CognitoIdentityProvider.Client.exceptions.WebAuthnOriginNotAllowedException
CognitoIdentityProvider.Client.exceptions.WebAuthnCredentialNotSupportedException