<?php

namespace Eurostop\Security;

class AuthenticationResultCustom2
{

    /**
     * @var string $AuthToken
     */
    protected $AuthToken = null;

    /**
     * @var boolean $IsAllowed
     */
    protected $IsAllowed = null;

    /**
     * @var DateTimeOffset $TokenExpirationDate
     */
    protected $TokenExpirationDate = null;

    /**
     * @param boolean $IsAllowed
     */
    public function __construct($IsAllowed)
    {
      $this->IsAllowed = $IsAllowed;
    }

    /**
     * @return string
     */
    public function getAuthToken()
    {
      return $this->AuthToken;
    }

    /**
     * @param string $AuthToken
     * @return \Eurostop\Security\AuthenticationResult
     */
    public function setAuthToken($AuthToken)
    {
      $this->AuthToken = $AuthToken;
      return $this;
    }

    /**
     * @return boolean
     */
    public function getIsAllowed()
    {
      return $this->IsAllowed;
    }

    /**
     * @param boolean $IsAllowed
     * @return \Eurostop\Security\AuthenticationResult
     */
    public function setIsAllowed($IsAllowed)
    {
      $this->IsAllowed = $IsAllowed;
      return $this;
    }

    /**
     * @return DateTimeOffset
     */
    public function getTokenExpirationDate()
    {
      return $this->TokenExpirationDate;
    }

    /**
     * @param DateTimeOffset $TokenExpirationDate
     * @return \Eurostop\Security\AuthenticationResult
     */
    public function setTokenExpirationDate($TokenExpirationDate)
    {
      $this->TokenExpirationDate = $TokenExpirationDate;
      return $this;
    }

}
