PHP Class QueryAuth\Signature

Inheritance: implements queryauth\SignatureInterface
Afficher le fichier Open project: jeremykendall/query-auth

Méthodes publiques

Méthode Description
createSignature ( QueryAuth\Request\RequestInterface $request, QueryAuth\Credentials\CredentialsInterface $credentials ) Creates signature

Méthodes protégées

Méthode Description
getAbsolutePath ( string $path ) : string Ensures that path is absolute
normalizeParameters ( array $params ) : string Normalizes request parameters

Method Details

createSignature() public méthode

{@inheritDoc}
public createSignature ( QueryAuth\Request\RequestInterface $request, QueryAuth\Credentials\CredentialsInterface $credentials )
$request QueryAuth\Request\RequestInterface
$credentials QueryAuth\Credentials\CredentialsInterface

getAbsolutePath() protected méthode

Ensures that path is absolute
protected getAbsolutePath ( string $path ) : string
$path string Request path
Résultat string Absolute request path

normalizeParameters() protected méthode

Normalizes request parameters
protected normalizeParameters ( array $params ) : string
$params array Request parameters
Résultat string Normalized, rawurlencoded parameter string