Authentication Methods MethodParametersBehaviorBasic AuthUsername and passwordAuthorization header of the HTTP specificationBearerTokenAuthorization header of the HTTP specificationWSSEUsername and passwordAuthorization header of the HTTP specificationQuery ParamsArray of param-value pairsURI parametersAuthentication — PHP-HTTP 1.0.0 documentation docs.php-http.org › latest › message › authentication
Read moreHow would you authorize a user via an API in PHP?
First, turn on the Client Credentials grant on then Advanced settings > Grant Types tab on the Application settings page. Next, authorize the Application for the API being used on the Machine to Machine Applications tab on the API’s Settings page. Make sure all necessary scopes are selected (but no more) and Update.
Read more