Copied!
Cloneable Instantiable
Methods
public __construct ( PHPFUI\ConstantContact\Client $client )
public get ( string $response_type , string $client_id , string $redirect_uri ) : array
 

V3 Authorization service endpoint for OAuth 2.0 flows

The authorization request is part of the OAuth 2.0 authorization process
for both the server and client flows.

  • param string $response_type Specifies the type requested from the authorization service. For server flow set to code; for client flow set to token.
  • param string $client_id The API key for the client.
  • param string $redirect_uri Tells the Authorization service where to send the user once access is granted. This must be the same redirect_uri associated with your_API_key
public PHPFUI\ConstantContact\Base :: getLastError () : string
public PHPFUI\ConstantContact\Base :: getResponseText () : string
public PHPFUI\ConstantContact\Base :: getStatusCode () : int
public PHPFUI\ConstantContact\Base :: next () : array
 

If the endpoint is paginated, you can call next() to retrieve the next set of data. If no next is provided, an empty array is returned.

  • return array filled with next part of the response from the endpoint, or empty if no next.
public PHPFUI\ConstantContact\Base :: success () : bool
Properties
protected PHPFUI\ConstantContact\Client PHPFUI\ConstantContact\Base :: $client
protected string PHPFUI\ConstantContact\Base :: $urlPath
Methods
protected PHPFUI\ConstantContact\Base :: doDelete ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doGet ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPatch ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPost ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPut ( array $parameters ) : array
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration