/**
  * Create a new Oauth2 subscriber.
  *
  * @param ClientInterface                     $client
  * @param GrantTypeInterface|null             $grantType
  * @param RefreshTokenGrantTypeInterface|null $refreshTokenGrantType
  * @param array                               $options
  */
 public function __construct(ClientInterface $client, GrantTypeInterface $grantType = null, RefreshTokenGrantTypeInterface $refreshTokenGrantType = null, array $options = [])
 {
     parent::__construct($client, $grantType, $refreshTokenGrantType);
     $this->options = $options;
     $this->tokenExpiredOnFailureCount = 0;
 }