Ctct\Auth\CtctOAuth2::getAuthorizationUrl
Get the URL at which the user can authenticate and authorize the requesting application
Signature
public function getAuthorizationUrl([boolean
$server = true,
[string
$state = NULL]] )
Parameters
$server
—
boolean
- - Whether or not to use OAuth2 server flow, alternative is client flow
$state
—
string
- - An optional value used by the client to maintain state between the request and callback.
Returns
- string
- $url - The url to send a user to, to grant access to their account