<?php
/**
 * File containing the ezpRestTokenManager class.
 *
 * @copyright Copyright (C) 1999-2010 eZ Systems AS. All rights reserved.
 * @license http://ez.no/licenses/gnu_gpl GNU GPL v2
 * @version //autogentag//
 * @package oAuth
 */

/**
 * This class handles application tokens
 * @package oAuth
 */

class ezpRestTokenManager
{
    /**
    * Generates a token
    *
    * @todo See if this should maybe return a token object with token + expiry
    *
    * @param string $scope
    *
    * @return string $token
    */
    public static function generateToken( $scope )
    {
        return md5( 'uniqid' );
    }
}
?>