WordPress\AiClient\Providers\Http\Enums
RequestAuthenticationMethod::getImplementationClass
Gets the implementation class for the authentication method.
Method of the class: RequestAuthenticationMethod{}
No Hooks.
Returns
class-String
Usage
$RequestAuthenticationMethod = new RequestAuthenticationMethod(); $RequestAuthenticationMethod->getImplementationClass(): string;
Changelog
| Since 0.4.0 | Introduced. |
RequestAuthenticationMethod::getImplementationClass() RequestAuthenticationMethod::getImplementationClass code WP 7.0
public function getImplementationClass(): string
{
// At the moment, this is the only supported method.
// Once more methods are available, add conditionals here for each method.
return ApiKeyRequestAuthentication::class;
}