You are here

token.inc in RESTful 7

File

modules/restful_token_auth/plugins/authentication/token.inc
View source
<?php

$plugin = array(
  'label' => t('Token based authentication'),
  'description' => t('Authenticate requests based on the token sent in the request.'),
  'name' => 'token',
  'class' => 'RestfulAuthenticationToken',
  'options' => array(
    'param_name' => 'access_token',
  ),
);