Files
kulakpos_web/vendor/twilio/sdk/src/Twilio/CredentialProvider/NoAuthCredentialProvider.php

26 lines
629 B
PHP
Raw Normal View History

2026-03-30 14:54:57 +07:00
<?php
namespace Twilio\CredentialProvider;
use Twilio\AuthStrategy\AuthStrategy;
use Twilio\AuthStrategy\NoAuthStrategy;
/**
* Class NoAuthCredentialProvider
* Credential provider for no authentication
*/
class NoAuthCredentialProvider extends CredentialProvider {
public function __construct() {
parent::__construct("noauth");
}
/**
* Returns the authentication strategy for the credential provider
*
* @return AuthStrategy the authentication strategy for the credential provider
*/
public function toAuthStrategy(): AuthStrategy {
return new NoAuthStrategy();
}
}