Ctct\Auth\CtctOAuth2
Class that implements necessary functionality to obtain an access token from a user
- Author: Constant Contact
Synopsis
class CtctOAuth2
{
- // members
- public $clientId;
- public $clientSecret;
- public $redirectUri;
- public $props;
- // methods
- public void __construct()
- public string getAuthorizationUrl()
- public array getAccessToken()
- public array getTokenInfo()
Members
public
- $clientId
- $clientSecret
- $props
- $redirectUri
Methods
public
- __construct()
- getAccessToken() — Obtain an access token
- getAuthorizationUrl() — Get the URL at which the user can authenticate and authorize the requesting application
- getTokenInfo() — Get an information about an access token