chobie\Jira\Api\Authentication\AuthenticationInterface::getId PHP 메소드

getId() 공개 메소드

Returns user id.
public getId ( ) : string
리턴 string
    public function getId();

Usage Example

예제 #1
0
파일: Api.php 프로젝트: andkirby/commithook
 /**
  * Check credentials
  *
  * @param string                  $endpoint
  * @param AuthenticationInterface $authentication
  * @param ClientInterface         $client
  * @throws Api\Exception
  */
 public function __construct($endpoint, AuthenticationInterface $authentication, ClientInterface $client = null)
 {
     if (!$authentication->getId() || !$authentication->getPassword()) {
         throw new Api\Exception('Username or password is empty.', self::ERROR_EMPTY_CREDENTIALS);
     }
     parent::__construct($endpoint, $authentication, $client);
 }
All Usage Examples Of chobie\Jira\Api\Authentication\AuthenticationInterface::getId