PHP Class Bitpay\AccessToken

Inheritance: implements bitpay\AccessTokenInterface
Show file Open project: bitpay/php-client

Protected Properties

Property Type Description
$email string
$id string
$label string
$useNonce boolean

Public Methods

Method Description
__construct ( )
getEmail ( )
getId ( )
getLabel ( )
isNonceDisabled ( )
nonceDisable ( ) : bitpay\AccessTokenInterface Disable nonce usage
nonceEnable ( ) : bitpay\AccessTokenInterface Enable nonce usage
setEmail ( string $email ) : bitpay\AccessTokenInterface
setId ( string $id ) : bitpay\AccessTokenInterface
setLabel ( string $label ) : bitpay\AccessTokenInterface

Method Details

__construct() public method

public __construct ( )

getEmail() public method

public getEmail ( )

getId() public method

public getId ( )

getLabel() public method

public getLabel ( )

isNonceDisabled() public method

public isNonceDisabled ( )

nonceDisable() public method

Disable nonce usage
public nonceDisable ( ) : bitpay\AccessTokenInterface
return bitpay\AccessTokenInterface

nonceEnable() public method

Enable nonce usage
public nonceEnable ( ) : bitpay\AccessTokenInterface
return bitpay\AccessTokenInterface

setEmail() public method

public setEmail ( string $email ) : bitpay\AccessTokenInterface
$email string
return bitpay\AccessTokenInterface

setId() public method

public setId ( string $id ) : bitpay\AccessTokenInterface
$id string
return bitpay\AccessTokenInterface

setLabel() public method

public setLabel ( string $label ) : bitpay\AccessTokenInterface
$label string
return bitpay\AccessTokenInterface

Property Details

$email protected property

protected string $email
return string

$id protected property

protected string $id
return string

$label protected property

protected string $label
return string

$useNonce protected property

protected bool $useNonce
return boolean