Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getAuthenticationTokenContext()
 {
     if (!$this->authenticationTokenResponse || $this->authenticationTokenResponse->isDeprecated()) {
         $this->authenticationTokenResponse = $this->authenticate();
     }
     return new AuthenticationTokenContext($this->authenticationRequest->getAccountId(), $this->authenticationTokenResponse->getKey());
 }