PHP Class Zendesk\API\Utilities\Auth

ファイルを表示 Open project: zendesk/zendesk_api_client_php

Protected Properties

Property Type Description
$authOptions array
$authStrategy string

Public Methods

Method Description
__construct ( $strategy, array $options ) Auth constructor.
prepareRequest ( Psr\Http\Message\RequestInterface $request, array $requestOptions = [] ) : array

Protected Methods

Method Description
getValidAuthStrategies ( ) : array Returns an array containing the valid auth strategies

Method Details

__construct() public method

Auth constructor.
public __construct ( $strategy, array $options )
$strategy
$options array

getValidAuthStrategies() protected static method

Returns an array containing the valid auth strategies
protected static getValidAuthStrategies ( ) : array
return array

prepareRequest() public method

public prepareRequest ( Psr\Http\Message\RequestInterface $request, array $requestOptions = [] ) : array
$request Psr\Http\Message\RequestInterface
$requestOptions array
return array

Property Details

$authOptions protected_oe property

protected array $authOptions
return array

$authStrategy protected_oe property

protected string $authStrategy
return string