PHP Class Zendesk\API\Utilities\OAuth

Afficher le fichier Open project: zendesk/zendesk_api_client_php Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat array

getAuthUrl() public static méthode

Generates an oAuth URL.
public static getAuthUrl ( string $subdomain, array $options, string $domain = 'zendesk.com' ) : string
$subdomain string
$options array
$domain string
Résultat string