Create a token of type MAC

package Ant\Guzzle\Plugin\Token

 Methods

Create nre instance of MacToken

__construct(array $config) 

Parameters

$config

array

The collection that configure this Plugin

The access token as string

__toString() : string

Returns

stringThe value of token

Get the token type

getFormat() : string

Returns

stringValue of token type

Set the token type

setFormat(string $format) : void

Parameters

$format

string

set the token type

 Properties

 

The collection that configure this Plugin

$config : \Guzzle\Common\Collection