36 lines
564 B
PHP
36 lines
564 B
PHP
<?php
|
|
/**
|
|
* @license Copyright 2011-2014 BitPay Inc., MIT License
|
|
* see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE
|
|
*/
|
|
|
|
namespace Bitpay;
|
|
|
|
/**
|
|
* Creates an access token for the given client
|
|
*
|
|
* @package Bitpay
|
|
*/
|
|
interface AccessTokenInterface
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getId();
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEmail();
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getLabel();
|
|
|
|
/**
|
|
* @return boolean
|
|
*/
|
|
public function isNonceDisabled();
|
|
}
|