getSecret() public méthode

Gets secret
public getSecret ( ) : string
Résultat string Secret
 /**
  * Creates signature
  *
  * {@inheritDoc}
  */
 public function createSignature(RequestInterface $request, CredentialsInterface $credentials)
 {
     $data = $request->getMethod() . "\n" . $request->getHost() . "\n" . $this->getAbsolutePath($request->getPath()) . "\n" . $this->normalizeParameters($request->getParams());
     return \base64_encode(\hash_hmac('sha256', $data, $credentials->getSecret(), true));
 }