Token Auth
Example in a controller :
/**
* ....
*
* @ApiDoc(
* section="NotificationMessage",
* authentication=true,
* authenticationRoles={"IDENTIFIERSTRING"}
* )
*
* @param $token
*
* .....
*/
public function postNotificationAction($token, $node)
{
$this->authenticateToken($token, 'IDENTIFIERSTRING');
...
}
IDENTIFIERSTRING is used in TU only
_