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 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.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 currently signed-in user. Must include a scope claim for
aws.cognito.signin.user.admin.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.ForbiddenExceptionCognitoIdentityProvider.Client.exceptions.InternalErrorExceptionCognitoIdentityProvider.Client.exceptions.InvalidParameterExceptionCognitoIdentityProvider.Client.exceptions.LimitExceededExceptionCognitoIdentityProvider.Client.exceptions.NotAuthorizedExceptionCognitoIdentityProvider.Client.exceptions.TooManyRequestsExceptionCognitoIdentityProvider.Client.exceptions.WebAuthnNotEnabledExceptionCognitoIdentityProvider.Client.exceptions.WebAuthnChallengeNotFoundExceptionCognitoIdentityProvider.Client.exceptions.WebAuthnRelyingPartyMismatchExceptionCognitoIdentityProvider.Client.exceptions.WebAuthnClientMismatchExceptionCognitoIdentityProvider.Client.exceptions.WebAuthnOriginNotAllowedExceptionCognitoIdentityProvider.Client.exceptions.WebAuthnCredentialNotSupportedException