Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Zendesk
API
Utilities
OAuth
PHP Class Zendesk\API\Utilities\OAuth
Show file
Open project: zendesk/zendesk_api_client_php
Class Usage Examples
Public Methods
Method
Description
getAccessToken
(
Client
$client
,
string
$subdomain
,
array
$params
,
string
$domain
= 'zendesk.com' ) :
array
Requests for an access token.
getAuthUrl
(
string
$subdomain
,
array
$options
,
string
$domain
= 'zendesk.com' ) :
string
Generates an oAuth URL.
Method Details
getAccessToken()
public
static
method
Requests for an access token.
public
static
getAccessToken
(
Client
$client
,
string
$subdomain
,
array
$params
,
string
$domain
= 'zendesk.com' ) :
array
$client
GuzzleHttp\Client
$subdomain
string
$params
array
$domain
string
return
array
getAuthUrl()
public
static
method
Generates an oAuth URL.
public
static
getAuthUrl
(
string
$subdomain
,
array
$options
,
string
$domain
= 'zendesk.com' ) :
string
$subdomain
string
$options
array
$domain
string
return
string