Antidot PHP API  version 0.16.0
##PHP API to simplify integration of Antidot components
 All Classes Files Functions Variables Groups Pages
Public Member Functions | List of all members
AfsTokenAuthentication Class Reference

AFS token authentication. More...

Inheritance diagram for AfsTokenAuthentication:
AfsAuthentication

Public Member Functions

 __construct ($token)
 Constructs new AFS token authentication instance.
 format_as_url_param ($version=null)
 Formats authentication parameters.
 format_as_header_param ($version=null)
 Formats authentication parameters.

Detailed Description

AFS token authentication.

Instances of this class should be used t interact with Antidot Back Office APIs.

Constructor & Destructor Documentation

__construct (   $token)

Constructs new AFS token authentication instance.

Parameters
$token[in] Authentication token.

Member Function Documentation

format_as_header_param (   $version = null)

Formats authentication parameters.

Parameters
$version[in] Format string representation according to provided version information.
Returns
array representing authentication.

Implements AfsAuthentication.

format_as_url_param (   $version = null)

Formats authentication parameters.

Parameters
$version[in] Format string representation according to provided version information.
Returns
array representing authentication.

Implements AfsAuthentication.