Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Zendesk
API
Utilities
OAuth
PHP Class Zendesk\API\Utilities\OAuth
Mostra 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