NAME

Twilio::CredentialProvider::CredentialProvider - Base class for credentials other than an Auth Token

DESCRIPTION

A credential provider is set on the client with the credential_provider option, and authenticates its requests instead of a username and password. See Twilio::CredentialProvider::ClientCredentialProvider.

METHODS

new

my $provider = Twilio::CredentialProvider::CredentialProvider->new($auth_type);

get_auth_type

Returns the name given to "new", such as client-credentials.

to_auth_strategy

Returns the Twilio::AuthStrategy::AuthStrategy that authenticates requests. Subclasses must implement it.

LICENSE

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