NAME

Twilio::Rest::Verify::V2::Service::NewVerifyFactor - The NewVerifyFactor resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $new_verify_factor = $client->verify->v2->services($service_sid)->new_verify_factors->update(\%body);

DESCRIPTION

This file holds NewVerifyFactorList and NewVerifyFactorInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

NewVerifyFactorList

Returned by $client->verify->v2->services($service_sid)->new_verify_factors. See also Twilio::ListResource.

update

my $new_verify_factor = $client->verify->v2->services($service_sid)->new_verify_factors->update(\%body);

Verify a Passkeys Factor. Returns a NewVerifyFactorInstance.

%body is sent as JSON. It takes the names Twilio's API documentation uses.

Its fields are:

authenticatorAttachment

A string that indicates the mechanism by which the WebAuthn implementation is attached to the authenticator at the time the associated navigator.credentials.create() or navigator.credentials.get() call completes. One of platform or cross-platform.

id

A base64url encoded representation of rawId.

rawId

The globally unique identifier for this PublicKeyCredential.

response

Required. The result of a WebAuthn credential registration via navigator.credentials.create(), as specified in AuthenticatorAttestationResponse.

type

The valid credential types supported by the API. The values of this enumeration are used for versioning the AuthenticatorAssertion and AuthenticatorAttestation structures according to the type of the authenticator. Must be public-key.

NewVerifyFactorInstance

See also Twilio::InstanceResource.

Its fields are:

account_sid

The unique SID identifier of the Account.

config

An object that contains configurations specific to a factor_type.

date_created

The date that this Factor was created, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date that this Factor was updated, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

entity_sid

The unique SID identifier of the Entity.

factor_type

The Type of this Factor. Currently push and totp are supported. One of push, totp or passkeys.

friendly_name

A human readable description of this resource, up to 64 characters.

identity

Customer unique identity for the Entity owner of the Factor.

metadata

Metadata associated with the factor. For passkeys factors, it contains the aaguid of the authenticator once the factor is verified, and date_last_approved (ISO 8601) once the factor has been used to approve a challenge.

service_sid

The unique SID identifier of the Service.

sid

A 34 character string that uniquely identifies this Factor.

status

The Status of this Factor. One of unverified or verified. One of unverified or verified.

url

The URL of this resource.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.